quintodrome/.golangci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
664 B
YAML
Raw Normal View History

2020-04-26 09:12:59 -08:00
linters:
enable:
2022-09-30 15:55:44 -08:00
- asasalint
- asciicheck
- bidichk
2020-04-29 02:29:34 -08:00
- bodyclose
2024-08-21 08:15:25 -08:00
- copyloopvar
2020-04-29 05:45:57 -08:00
- dogsled
- durationcheck
2020-04-29 05:45:57 -08:00
- errcheck
2022-09-30 15:33:39 -08:00
- errorlint
2020-04-29 05:45:57 -08:00
- gocyclo
2020-04-29 02:29:34 -08:00
- goprintffuncname
2020-04-26 09:12:59 -08:00
- gosec
2020-04-29 05:45:57 -08:00
- gosimple
- govet
- ineffassign
2020-04-29 02:29:34 -08:00
- misspell
2022-11-30 10:16:30 -09:00
- nakedret
2022-09-30 16:18:14 -08:00
- nilerr
2020-04-29 02:29:34 -08:00
- rowserrcheck
2020-04-29 05:45:57 -08:00
- staticcheck
- typecheck
2020-04-29 02:29:34 -08:00
- unconvert
2020-04-29 05:45:57 -08:00
- unused
2020-04-29 02:29:34 -08:00
- whitespace
2020-04-26 09:12:59 -08:00
linters-settings:
2024-05-17 17:46:59 -08:00
govet:
enable:
- nilness
gosec:
excludes:
- G501
- G401
- G505
- G115 # Can't check context, where the warning is clearly a false positive. See discussion in https://github.com/securego/gosec/pull/1149