mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Fix gocritic
This commit is contained in:
parent
1f1c45a2c0
commit
2eca344f0e
1 changed files with 7 additions and 3 deletions
|
@ -25,9 +25,6 @@ linters:
|
|||
- godox
|
||||
- ireturn
|
||||
|
||||
# In progress
|
||||
- gocritic
|
||||
|
||||
# We should strive to enable these:
|
||||
- wrapcheck
|
||||
- dupl
|
||||
|
@ -51,3 +48,10 @@ linters-settings:
|
|||
- ip
|
||||
- ok
|
||||
- c
|
||||
|
||||
gocritic:
|
||||
disabled-checks:
|
||||
- appendAssign
|
||||
# TODO(kradalby): Remove this
|
||||
- ifElseChain
|
||||
|
||||
|
|
Loading…
Reference in a new issue