mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-19 07:31:53 +03: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:"
|