mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-24 11:12:11 +00:00
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:"
|