From c9cc5a88252676087624e38345e3d66ca686b13a Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Mon, 4 Apr 2022 10:42:10 -0500 Subject: [PATCH 1/2] chore: remove varnamelen from linting https://github.com/golang/go/wiki/CodeReviewComments#variable-names --- .golangci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 226d1bd78c675..ba59923ffcc3e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -265,5 +265,4 @@ linters: - unconvert - unused - varcheck - - varnamelen - wastedassign From 25956e8ae91a399dd403182a65c4cc2499918363 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Mon, 4 Apr 2022 10:46:01 -0500 Subject: [PATCH 2/2] Remove varnamelen cfg --- .golangci.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index ba59923ffcc3e..ed62c51c68121 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 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