Skip to content

Commit 4dd3c57

Browse files
authored
chore: Remove varnamelen linter (#854)
* chore: remove varnamelen from linting https://github.com/golang/go/wiki/CodeReviewComments#variable-names
1 parent f2a2126 commit 4dd3c57

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.golangci.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -177,27 +177,6 @@ linters-settings:
177177
- name: var-declaration
178178
- name: var-naming
179179
- name: waitgroup-by-value
180-
varnamelen:
181-
ignore-names:
182-
- err
183-
- rw
184-
- r
185-
- i
186-
- db
187-
- t
188-
- id
189-
- wg
190-
- Me
191-
# Optional list of variable declarations that should be ignored completely. (defaults to empty list)
192-
# Entries must be in the form of "<variable name> <type>" or "<variable name> *<type>" for
193-
# variables, or "const <name>" for constants.
194-
ignore-decls:
195-
- rw http.ResponseWriter
196-
- r *http.Request
197-
- t testing.T
198-
- t testing.TB
199-
- ok bool
200-
- wg sync.WaitGroup
201180

202181
issues:
203182
# Rules listed here: https://github.com/securego/gosec#available-rules
@@ -265,5 +244,4 @@ linters:
265244
- unconvert
266245
- unused
267246
- varcheck
268-
- varnamelen
269247
- wastedassign

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy