Files
fx-serverless/.golangci.yml
Minghe e712e3d0e2 Simplify fx infra (#485)
* 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
2020-03-18 09:00:14 +08:00

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