Skip to content

Commit

Permalink
disable varnamelen
Browse files Browse the repository at this point in the history
  • Loading branch information
ayalcin-mw committed May 11, 2023
1 parent 13db2c9 commit 4ec116d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@ linters:
# checks for casing, will error on generated proto code because some vars are always uppercased
- nosnakecase
# deprecated
- scopelint # repalced by exportloopref
- scopelint # replaced by exportloopref
- deadcode # replaced by unused
- structcheck # replaced by unused
- varcheck # replaced by unused
- maligned # replaced by govet fieldalignment
- golint # replaced by revive
- interfacer # archived, a tool that suggests interfaces is prone to bad suggestions
- ifshort # archived, false positives
- varnamelen # unneeded, short varnames can be reasonable i.e i= index, n= amount or s *Service, reviewer should pay attention to disapprove lines like ´for i, e := range l {}´

linters-settings:
# Vet examines Go source code and reports suspicious constructs, such as Printf calls whose
Expand Down

0 comments on commit 4ec116d

Please sign in to comment.