* add --host and --kubeconf to `fx up` * remove `fx infra list` and `fx infra use` * put assets into skip dir for golangci * fix lint issue * upgrade go-ssh-client to consume the 'Connectable' API, enable more friendly SSH connection error message * parse 'host' and 'kubeconf' for `fx list` and `fx down` also * refactor parse * clean infra stuff
33 lines
479 B
YAML
33 lines
479 B
YAML
run:
|
|
deadline: 20m
|
|
timeout: 20m
|
|
issues-exit-code: 1
|
|
tests: true
|
|
skip-dirs:
|
|
- examples
|
|
- api/images
|
|
- test/functions
|
|
- assets/
|
|
- bundler/go/assets
|
|
linters:
|
|
enable:
|
|
- goimports
|
|
- stylecheck
|
|
- gosec
|
|
- interfacer
|
|
- unconvert
|
|
- goconst
|
|
- gocyclo
|
|
- misspell
|
|
- unparam
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- gocyclo
|
|
- goconst
|
|
- errcheck
|
|
- dupl
|
|
- gosec
|