28 lines
501 B
YAML
28 lines
501 B
YAML
linters-settings:
|
|
misspell:
|
|
locale: US
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- typecheck
|
|
- goimports
|
|
- misspell
|
|
- revive
|
|
- govet
|
|
- ineffassign
|
|
- gosimple
|
|
- deadcode
|
|
- structcheck
|
|
- gocritic
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
exclude:
|
|
# todo fix these when we get enough time.
|
|
- "singleCaseSwitch: should rewrite switch statement to if statement"
|
|
- "unlambda: replace"
|
|
- "captLocal:"
|
|
- "ifElseChain:"
|
|
- "elseif:"
|