Skip to content

Commit 657976b

Browse files
authored
chore: Enable default: none linters; remove duplicated (#4097)
1 parent 6a462db commit 657976b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.golangci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ run:
44
- integration
55
allow-parallel-runners: true
66
linters:
7+
default: none
78
enable:
89
- canonicalheader
9-
- copyloopvar
1010
- dogsled
1111
- dupl
12+
- errcheck
1213
- errorlint
1314
- fmtpercentv
1415
- forbidigo
@@ -17,7 +18,7 @@ linters:
1718
- goheader
1819
- gosec
1920
- govet
20-
- intrange
21+
- ineffassign
2122
- misspell
2223
- modernize
2324
- musttag
@@ -32,6 +33,7 @@ linters:
3233
- tparallel
3334
- unconvert
3435
- unparam
36+
- unused
3537
- usetesting
3638
- whitespace
3739
settings:
@@ -80,6 +82,8 @@ linters:
8082
disable:
8183
- fieldalignment
8284
- shadow
85+
ineffassign:
86+
check-escaping-errors: true
8387
misspell:
8488
locale: US
8589
# extra words from https://go.dev/wiki/Spelling

0 commit comments

Comments
 (0)