1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00
shirou_gopsutil/.golangci.yml

39 lines
570 B
YAML
Raw Normal View History

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