diff options
Diffstat (limited to 'vendor/github.com/gin-contrib/sessions/.golangci.yml')
| -rw-r--r-- | vendor/github.com/gin-contrib/sessions/.golangci.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/vendor/github.com/gin-contrib/sessions/.golangci.yml b/vendor/github.com/gin-contrib/sessions/.golangci.yml new file mode 100644 index 000000000..47094ac61 --- /dev/null +++ b/vendor/github.com/gin-contrib/sessions/.golangci.yml @@ -0,0 +1,50 @@ +version: "2" +linters: + default: none + enable: + - bodyclose + - dogsled + - dupl + - errcheck + - exhaustive + - gochecknoinits + - goconst + - gocritic + - gocyclo + - goprintffuncname + - gosec + - govet + - ineffassign + - lll + - misspell + - nakedret + - noctx + - nolintlint + - rowserrcheck + - staticcheck + - unconvert + - unparam + - unused + - whitespace + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + enable: + - gofmt + - gofumpt + - goimports + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ |
