From 4dd3c57f6e5f13ba119368aa2f35d8f379da3925 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Mon, 4 Apr 2022 11:17:57 -0500 Subject: [PATCH] chore: Remove varnamelen linter (#854) * chore: remove varnamelen from linting https://github.com/golang/go/wiki/CodeReviewComments#variable-names --- .golangci.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 226d1bd78c..ed62c51c68 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -177,27 +177,6 @@ linters-settings: - name: var-declaration - name: var-naming - name: waitgroup-by-value - varnamelen: - ignore-names: - - err - - rw - - r - - i - - db - - t - - id - - wg - - Me - # Optional list of variable declarations that should be ignored completely. (defaults to empty list) - # Entries must be in the form of " " or " *" for - # variables, or "const " for constants. - ignore-decls: - - rw http.ResponseWriter - - r *http.Request - - t testing.T - - t testing.TB - - ok bool - - wg sync.WaitGroup issues: # Rules listed here: https://github.com/securego/gosec#available-rules @@ -265,5 +244,4 @@ linters: - unconvert - unused - varcheck - - varnamelen - wastedassign