1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Add exceptions to var name length

This commit is contained in:
Kristoffer Dalby 2021-11-15 16:16:16 +00:00
parent 8ae682b412
commit 78cfba0a31
No known key found for this signature in database
GPG Key ID: 09F62DC067465735

View File

@ -28,9 +28,6 @@ linters:
# In progress
- gocritic
# TODO: approve: ok, db, id
- varnamelen
# We should strive to enable these:
- testpackage
- stylecheck
@ -49,3 +46,15 @@ linters:
- cyclop
- nestif
- wsl # might be incompatible with gofumpt
linters-settings:
varnamelen:
ignore-type-assert-ok: true
ignore-map-index-ok: true
ignore-names:
- err
- db
- id
- ip
- ok
- c