Skip to content

Commit 94df7b8

Browse files
authored
Configure staticcheck checks in .golangci.yml
Added staticcheck settings with specific checks to .golangci.yml.
1 parent 7daa9b9 commit 94df7b8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ linters:
1515
- unconvert
1616
- unparam
1717
settings:
18+
staticcheck:
19+
checks:
20+
- all
21+
- -ST1000
22+
- -ST1003
23+
- -ST1016
24+
- -ST1020
25+
- -ST1021
26+
- -ST1022
27+
- -QF1012
1828
decorder:
1929
dec-order:
2030
- type

0 commit comments

Comments
 (0)