diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-04-05 11:02:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 11:02:41 -0400 |
commit | bc320be00bc584bd88525266d23a9d5edb9d44f8 (patch) | |
tree | c6d03492ac9684f22cdf5e553321569369f1cf59 /.golangci.yml | |
parent | ed8bd80d3f09fb5c82c53bde8d6779db2613f158 (diff) | |
parent | 023eba20db1912a477eedff529fa52d356033a38 (diff) | |
download | podman-bc320be00bc584bd88525266d23a9d5edb9d44f8.tar.gz podman-bc320be00bc584bd88525266d23a9d5edb9d44f8.tar.bz2 podman-bc320be00bc584bd88525266d23a9d5edb9d44f8.zip |
Merge pull request #2742 from openSUSE/golangci-lint
Switch to golangci-lint
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 000000000..8fde162c4 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,35 @@ +--- +run: + concurrency: 6 + deadline: 5m +linters: + disable-all: true + enable: + - deadcode + - depguard + - gofmt + - typecheck + - varcheck + # - dupl + # - errcheck + # - gochecknoglobals + # - gochecknoinits + # - goconst + # - gocritic + # - gocyclo + # - goimports + # - golint + # - gosec + # - govet + # - ineffassign + # - interfacer + # - lll + # - maligned + # - misspell + # - nakedret + # - prealloc + # - scopelint + # - staticcheck + # - structcheck + # - unconvert + # - unparam |