mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-13 14:43:01 +00:00
Add and fix errorlint
This commit is contained in:
@@ -29,11 +29,9 @@ linters:
|
||||
- gocritic
|
||||
|
||||
# We should strive to enable these:
|
||||
- testpackage
|
||||
- stylecheck
|
||||
- wrapcheck
|
||||
- goerr113
|
||||
- errorlint
|
||||
- forcetypeassert
|
||||
- errname
|
||||
- gosec
|
||||
@@ -46,6 +44,7 @@ linters:
|
||||
- cyclop
|
||||
- nestif
|
||||
- wsl # might be incompatible with gofumpt
|
||||
- testpackage
|
||||
|
||||
linters-settings:
|
||||
varnamelen:
|
||||
|
Reference in New Issue
Block a user