chore: update
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
version: "2"
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- errcheck
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- unused
|
||||
- gosec
|
||||
- gocritic
|
||||
- misspell
|
||||
- bodyclose
|
||||
- noctx
|
||||
|
||||
linters-settings:
|
||||
gosec:
|
||||
excludes:
|
||||
- G104 # erreurs non vérifiées (couvertes par errcheck)
|
||||
gocritic:
|
||||
disabled-checks:
|
||||
- appendAssign
|
||||
- sloppyReassign
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- gosec
|
||||
- errcheck
|
||||
max-issues-per-linter: 50
|
||||
max-same-issues: 5
|
||||
Reference in New Issue
Block a user