This commit is contained in:
Alexander Melentyev 2021-09-28 06:37:31 +03:00 committed by GitHub
parent d6534ccf38
commit f469c1be39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 29 deletions

View File

@ -2,34 +2,38 @@ run:
timeout: 5m timeout: 5m
linters: linters:
enable: enable:
- asciicheck - asciicheck
- depguard - depguard
- dogsled - dogsled
- durationcheck - durationcheck
- errcheck - errcheck
- errorlint - errorlint
- exportloopref - exportloopref
- gci - gci
- gofmt - gofmt
- goimports - goimports
- misspell - gosec
- nakedret - misspell
- nilerr - nakedret
- nolintlint - nilerr
- revive - nolintlint
- wastedassign - revive
- wastedassign
issues: issues:
exclude-rules: exclude-rules:
- linters: - linters:
- structcheck - structcheck
- unused - unused
text: "`data` is unused" text: "`data` is unused"
- linters: - linters:
- staticcheck - staticcheck
text: "SA1019:" text: "SA1019:"
- linters: - linters:
- revive - revive
text: "var-naming:" text: "var-naming:"
- linters: - linters:
- revive - revive
text: "exported:" text: "exported:"
- path: _test\.go
linters:
- gosec # security is not make sense in tests