Skip to content

Commit

Permalink
Added varnamelen linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdinand Neman committed Aug 16, 2023
1 parent db4c6df commit 87ef701
Show file tree
Hide file tree
Showing 20 changed files with 1,284 additions and 1,279 deletions.
31 changes: 16 additions & 15 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ linters:
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
# - asasalint
# - asciicheck
# - bidichk
# - bodyclose
# - containedctx
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
# - contextcheck
# - cyclop
# - deadcode
- deadcode
# - decorder
# - depguard
# - dogsled
Expand Down Expand Up @@ -115,7 +116,7 @@ linters:
- unused
# - usestdlibvars
- varcheck
# - varnamelen
- varnamelen
# - wastedassign
# - whitespace
# - wrapcheck
Expand All @@ -127,14 +128,14 @@ linters:
# Disable specific linter
# https://golangci-lint.run/usage/linters/#disabled-by-default
disable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
# - asasalint
# - asciicheck
# - bidichk
# - bodyclose
# - containedctx
# - contextcheck
- cyclop
- deadcode
# - deadcode
- decorder
- depguard
- dogsled
Expand Down Expand Up @@ -228,7 +229,7 @@ linters:
# - unused
- usestdlibvars
# - varcheck
- varnamelen
# - varnamelen
- wastedassign
- whitespace
- wrapcheck
Expand Down
Loading

0 comments on commit 87ef701

Please sign in to comment.