diff options
Diffstat (limited to 'vendor/github.com/gin-contrib/cors/.golangci.yml')
-rw-r--r-- | vendor/github.com/gin-contrib/cors/.golangci.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/github.com/gin-contrib/cors/.golangci.yml b/vendor/github.com/gin-contrib/cors/.golangci.yml new file mode 100644 index 000000000..5a0031c30 --- /dev/null +++ b/vendor/github.com/gin-contrib/cors/.golangci.yml @@ -0,0 +1,43 @@ +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 |