summaryrefslogtreecommitdiff
path: root/vendor/github.com/gin-contrib/gzip/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gin-contrib/gzip/.golangci.yml')
-rw-r--r--vendor/github.com/gin-contrib/gzip/.golangci.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/vendor/github.com/gin-contrib/gzip/.golangci.yml b/vendor/github.com/gin-contrib/gzip/.golangci.yml
new file mode 100644
index 000000000..60b7c368b
--- /dev/null
+++ b/vendor/github.com/gin-contrib/gzip/.golangci.yml
@@ -0,0 +1,48 @@
+linters:
+ enable-all: false
+ disable-all: true
+ fast: false
+ enable:
+ - bodyclose
+ - deadcode
+ - depguard
+ - dogsled
+ - dupl
+ - errcheck
+ - exportloopref
+ - exhaustive
+ - gochecknoinits
+ - goconst
+ - gocritic
+ - gocyclo
+ - gofmt
+ - goimports
+ - goprintffuncname
+ - gosec
+ - gosimple
+ - govet
+ - ineffassign
+ - lll
+ - misspell
+ - nakedret
+ - noctx
+ - nolintlint
+ - rowserrcheck
+ - staticcheck
+ - structcheck
+ - stylecheck
+ - typecheck
+ - unconvert
+ - unparam
+ - unused
+ - varcheck
+ - whitespace
+ - gofumpt
+
+run:
+ timeout: 3m
+
+linters-settings:
+ dupl:
+ # tokens count to trigger issue, 150 by default
+ threshold: 200