2020-05-18 16:59:45 +00:00
|
|
|
linters-settings:
|
2022-08-26 06:06:06 +00:00
|
|
|
gofumpt:
|
2023-03-12 06:10:33 +00:00
|
|
|
simplify: true
|
2022-08-26 06:06:06 +00:00
|
|
|
|
2020-05-18 16:59:45 +00:00
|
|
|
misspell:
|
|
|
|
locale: US
|
|
|
|
|
2023-03-05 04:57:35 +00:00
|
|
|
staticcheck:
|
|
|
|
checks: ['all', '-ST1005', '-ST1000', '-SA4000', '-SA9004', '-SA1019', '-SA1008', '-U1000', '-ST1016']
|
|
|
|
|
2020-05-18 16:59:45 +00:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2023-03-05 04:57:35 +00:00
|
|
|
- durationcheck
|
|
|
|
- gocritic
|
|
|
|
- gofumpt
|
2020-05-18 16:59:45 +00:00
|
|
|
- goimports
|
2023-03-05 04:57:35 +00:00
|
|
|
- gomodguard
|
2020-05-18 16:59:45 +00:00
|
|
|
- govet
|
|
|
|
- ineffassign
|
2023-03-05 04:57:35 +00:00
|
|
|
- misspell
|
|
|
|
- revive
|
|
|
|
- staticcheck
|
|
|
|
- tenv
|
|
|
|
- typecheck
|
2021-05-24 16:28:19 +00:00
|
|
|
- unconvert
|
2022-08-26 19:52:29 +00:00
|
|
|
- unused
|
2022-01-06 21:08:21 +00:00
|
|
|
|
2020-05-18 16:59:45 +00:00
|
|
|
issues:
|
|
|
|
exclude-use-default: false
|
|
|
|
exclude:
|
2023-12-07 02:17:03 +00:00
|
|
|
- "empty-block:"
|
|
|
|
- "unused-parameter:"
|
|
|
|
- "dot-imports:"
|
2023-03-05 04:57:35 +00:00
|
|
|
- should have a package comment
|
|
|
|
- error strings should not be capitalized or end with punctuation or a newline
|