Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4dd3c57

Browse files
authored
chore: Remove varnamelen linter (#854)
* chore: remove varnamelen from lintinghttps://github.com/golang/go/wiki/CodeReviewComments#variable-names
1 parentf2a2126 commit4dd3c57

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)

[8]ページ先頭

©2009-2025 Movatter.jp