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