forked from TrueCloudLab/neoneo-go
golangci: enable some more linters
They have not found anything and maybe we better not have them find anything in the future. Commented ones can be useful in future, but find too many problems at the moment.
This commit is contained in:
parent
97193cf337
commit
1895dfb2c1
1 changed files with 10 additions and 0 deletions
|
@ -42,12 +42,22 @@ linters:
|
||||||
|
|
||||||
# extra linters
|
# extra linters
|
||||||
# - exhaustive
|
# - exhaustive
|
||||||
|
# - goconst
|
||||||
|
# - goerr113
|
||||||
|
# - gomnd
|
||||||
|
# - nonamedreturns
|
||||||
|
# - unparam
|
||||||
|
- bidichk
|
||||||
- bodyclose
|
- bodyclose
|
||||||
- contextcheck
|
- contextcheck
|
||||||
|
- decorder
|
||||||
|
- durationcheck
|
||||||
- errorlint
|
- errorlint
|
||||||
|
- exportloopref
|
||||||
- gofmt
|
- gofmt
|
||||||
- misspell
|
- misspell
|
||||||
- predeclared
|
- predeclared
|
||||||
|
- reassign
|
||||||
- whitespace
|
- whitespace
|
||||||
- goimports
|
- goimports
|
||||||
disable-all: true
|
disable-all: true
|
||||||
|
|
Loading…
Reference in a new issue