shirou_gopsutil/.golangci.yml

42 lines
616 B
YAML
Raw Normal View History

2021-12-23 02:53:14 +08:00
issues:
max-same-issues: 0
2021-12-23 06:49:50 +08:00
exclude-rules:
2021-12-23 07:31:04 +08:00
- linters:
- gosec
text: "G204"
2021-12-23 06:49:50 +08:00
- linters:
- revive
text: "var-naming"
- linters:
- revive
text: "exported"
2021-11-05 19:04:51 +08:00
linters:
2021-12-05 05:29:38 +08:00
enable:
2021-12-23 07:10:20 +08:00
- asciicheck
2021-12-23 05:22:10 +08:00
- durationcheck
2021-12-05 05:29:38 +08:00
- errorlint
2021-12-05 05:37:30 +08:00
- gci
2021-12-23 06:02:08 +08:00
- gofmt
2021-12-23 06:09:58 +08:00
- gofumpt
2021-12-25 04:54:45 +08:00
- goimports
2021-12-23 07:31:04 +08:00
- gosec
2021-12-05 05:29:38 +08:00
- gosimple
2021-12-25 04:46:59 +08:00
- importas
2021-12-25 04:25:34 +08:00
- megacheck
2021-12-23 06:19:22 +08:00
- misspell
2021-12-25 04:32:30 +08:00
- nakedret
2021-12-23 06:59:55 +08:00
- nolintlint
2021-12-23 07:54:07 +08:00
- predeclared
2021-12-23 06:49:50 +08:00
- revive
2021-12-05 05:29:38 +08:00
- typecheck
2021-12-23 02:53:14 +08:00
- unparam
2021-11-05 19:04:51 +08:00
disable:
- deadcode
- errcheck
- govet
- ineffassign
- staticcheck
- structcheck
- unused
- varcheck