mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
35 lines
633 B
YAML
35 lines
633 B
YAML
linters-settings:
|
|
gofumpt:
|
|
simplify: true
|
|
|
|
misspell:
|
|
locale: US
|
|
|
|
staticcheck:
|
|
checks: ['all', '-ST1005', '-ST1000', '-SA4000', '-SA9004', '-SA1019', '-SA1008', '-U1000', '-ST1016']
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- durationcheck
|
|
- gocritic
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- gomodguard
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- revive
|
|
- staticcheck
|
|
- tenv
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
exclude:
|
|
- should have a package comment
|
|
- error strings should not be capitalized or end with punctuation or a newline
|