summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2019-03-22 09:10:41 +0100
committerSascha Grunert <sgrunert@suse.com>2019-04-04 09:06:32 +0200
commit42830ab711aadb69e344a58627c6c7cfee45ddc9 (patch)
treedc87c9b7634d01d5d933d3f669972194440e1e01 /.golangci.yml
parente28d30c93b2085379134cbb5408d119d71e8d7d3 (diff)
downloadpodman-42830ab711aadb69e344a58627c6c7cfee45ddc9.tar.gz
podman-42830ab711aadb69e344a58627c6c7cfee45ddc9.tar.bz2
podman-42830ab711aadb69e344a58627c6c7cfee45ddc9.zip
Update lint to use golangci-lint
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 000000000..f0ccd5a77
--- /dev/null
+++ b/.golangci.yml
@@ -0,0 +1,35 @@
+---
+run:
+ concurrency: 6
+ deadline: 5m
+linters:
+ disable-all: true
+ enable:
+ - depguard
+ - gofmt
+ - typecheck
+ # - deadcode
+ # - dupl
+ # - errcheck
+ # - gochecknoglobals
+ # - gochecknoinits
+ # - goconst
+ # - gocritic
+ # - gocyclo
+ # - goimports
+ # - golint
+ # - gosec
+ # - govet
+ # - ineffassign
+ # - interfacer
+ # - lll
+ # - maligned
+ # - misspell
+ # - nakedret
+ # - prealloc
+ # - scopelint
+ # - staticcheck
+ # - structcheck
+ # - unconvert
+ # - unparam
+ # - varcheck