minio/.golangci.yml

35 lines
633 B
YAML
Raw Normal View History

linters-settings:
gofumpt:
simplify: true
misspell:
locale: US
2023-03-04 23:57:35 -05:00
staticcheck:
checks: ['all', '-ST1005', '-ST1000', '-SA4000', '-SA9004', '-SA1019', '-SA1008', '-U1000', '-ST1016']
linters:
disable-all: true
enable:
2023-03-04 23:57:35 -05:00
- durationcheck
- gocritic
- gofmt
- gofumpt
- goimports
2023-03-04 23:57:35 -05:00
- gomodguard
- govet
- ineffassign
2023-03-04 23:57:35 -05:00
- misspell
- revive
- staticcheck
- tenv
- typecheck
2021-05-24 12:28:19 -04:00
- unconvert
- unused
2022-01-06 16:08:21 -05: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