Change summary
.golangci.yml | 43 ++++++++++++++++++++++---------------------
1 file changed, 22 insertions(+), 21 deletions(-)
Detailed changes
@@ -1,41 +1,42 @@
version: "2"
-run:
- tests: false
linters:
enable:
- bodyclose
- - exhaustive
- - goconst
- - godot
- - gomoddirectives
+ # - exhaustive
+ # - goconst
+ # - godot
+ # - godox
+ # - gomoddirectives
- goprintffuncname
- - gosec
+ # - gosec
- misspell
- - nakedret
- - nestif
- - nilerr
+ # - nakedret
+ # - nestif
+ # - nilerr
- noctx
- nolintlint
- - prealloc
- - revive
+ # - prealloc
+ # - revive
- rowserrcheck
- sqlclosecheck
+ - staticcheck
- tparallel
- - unconvert
- - unparam
+ # - unconvert
+ # - unparam
- whitespace
- - wrapcheck
+ # - wrapcheck
+ disable:
+ - errcheck
+ - ineffassign
+ - unused
exclusions:
+ generated: lax
+ presets:
+ - common-false-positives
rules:
- text: '(slog|log)\.\w+'
linters:
- noctx
- generated: lax
- presets:
- - common-false-positives
- settings:
- exhaustive:
- default-signifies-exhaustive: true
issues:
max-issues-per-linter: 0
max-same-issues: 0