Skip to content

Commit 403ee16

Browse files
Update configuration
Signed-off-by: Sascha Schwarze <[email protected]>
1 parent 5e56528 commit 403ee16

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.golangci.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1+
version: "2"
2+
13
linters:
24
enable:
3-
- ineffassign
4-
- revive
5+
- gocyclo
56
- gosec
67
- govet
8+
- ineffassign
79
- misspell
10+
- revive
811
- staticcheck
12+
- unused
913
disable:
1014
- errcheck
1115

1216
linters-settings:
17+
exclusions:
18+
rules:
19+
- path: test
20+
linters:
21+
- revive
1322
gosec:
1423
excludes:
1524
- G101 # Look for hard coded credentials
1625
- G305 # File traversal when extracting zip/tar archive
1726
- G306 # Poor file permissions used when writing to a new file
18-
19-
issues:
20-
exclude-rules:
21-
- path: test
22-
linters:
23-
- revive

0 commit comments

Comments
 (0)