diff options
Diffstat (limited to 'vendor/github.com/gin-contrib')
| -rw-r--r-- | vendor/github.com/gin-contrib/gzip/.golangci.yml | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/vendor/github.com/gin-contrib/gzip/.golangci.yml b/vendor/github.com/gin-contrib/gzip/.golangci.yml index d5cbd0a39..47094ac61 100644 --- a/vendor/github.com/gin-contrib/gzip/.golangci.yml +++ b/vendor/github.com/gin-contrib/gzip/.golangci.yml @@ -1,23 +1,18 @@ +version: "2" linters: - enable-all: false - disable-all: true - fast: false + default: none enable: - bodyclose - dogsled - dupl - errcheck - - exportloopref - exhaustive - gochecknoinits - goconst - gocritic - gocyclo - - gofmt - - goimports - goprintffuncname - gosec - - gosimple - govet - ineffassign - lll @@ -27,12 +22,29 @@ linters: - nolintlint - rowserrcheck - staticcheck - - stylecheck - - typecheck - 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 -run: - timeout: 3m + - goimports + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ |
