Skip to content

Commit

Permalink
Merge pull request #16 from mittwald/disablevarnamelen
Browse files Browse the repository at this point in the history
disable varnamelen
  • Loading branch information
ayalcin-mw authored May 12, 2023
2 parents 13db2c9 + 4ec116d commit 16a99a1
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 16a99a1

Please sign in to comment.