Skip to content

Commit 0ea65fa

Browse files
henrybarretogustavosbarreto
authored andcommitted
fix: adapt linting rules to fit old behavior
1 parent 19eee0d commit 0ea65fa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.golangci.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ formatters:
1515
- goimports
1616

1717
linters:
18+
disable:
19+
- errcheck
1820
enable:
1921
- revive
2022
- govet
@@ -24,16 +26,23 @@ linters:
2426
- unconvert
2527
- unused
2628
- misspell
27-
- errcheck
2829
- whitespace
2930
- depguard
3031
- nlreturn
3132
- nilerr
3233
- gosec
3334

3435
settings:
36+
gosec:
37+
excludes:
38+
- G104
39+
- G301
40+
- G302
41+
- G304
42+
revive:
43+
severity: warning
3544
staticcheck:
36-
checks: ["all", "-SA1029"]
45+
checks: ["all", "-SA1029", "-ST1020", "-ST1021", "-ST1022", "-ST1000", "-QF1008"]
3746
depguard:
3847
rules:
3948
all:

0 commit comments

Comments
 (0)