Skip to content

Commit f8727e2

Browse files
committed
chore: disable revive var-naming rule in golangci
Disable the revive var-naming linter rule to resolve conflicts with package names that match stdlib names. Signed-off-by: Akshay Pant <akshay.akshaypant@gmail.com>
1 parent 610dd2c commit f8727e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ linters:
7777
gocritic:
7878
disabled-checks:
7979
- unlambda
80+
revive:
81+
rules:
82+
- name: var-naming # Disable this rule for package names conflict with stdlib
83+
disabled: true
8084
exclusions:
8185
generated: lax
8286
presets:

0 commit comments

Comments
 (0)