Skip to content

Commit 11fa369

Browse files
committed
ci: don't lint go 1.13 error checks
1 parent 79b5028 commit 11fa369

File tree

1 file changed

+45
-11
lines changed

1 file changed

+45
-11
lines changed

.golangci.yml

Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,59 @@ run:
77
skip-files:
88
- parser_interface.go
99
- game_state_interface.go
10+
allow-parallel-runners: true
11+
1012
linters:
11-
enable-all: true
12-
disable:
13-
- gochecknoinits
14-
- gochecknoglobals
15-
- lll
16-
- typecheck
17-
- gomnd
18-
- exhaustivestruct
19-
- godot
20-
- gofumpt
21-
- testpackage
13+
disable-all: true
14+
enable:
15+
- bodyclose
16+
- deadcode
17+
- depguard
18+
- dogsled
19+
- dupl
20+
- exportloopref
21+
- exhaustive
22+
- funlen
23+
- goconst
24+
- gocritic
25+
- gocyclo
26+
- gofmt
27+
- goimports
28+
- golint
29+
- goprintffuncname
30+
- gosec
31+
- gosimple
32+
- govet
33+
- ineffassign
34+
- misspell
35+
- nakedret
36+
- noctx
37+
- nolintlint
38+
- rowserrcheck
39+
- staticcheck
40+
- structcheck
41+
- stylecheck
42+
- unconvert
43+
- unparam
44+
- unused
45+
- varcheck
46+
- whitespace
47+
- asciicheck
48+
- gocognit
49+
- godox
50+
- nestif
51+
- prealloc
52+
- revive
53+
- wsl
54+
2255
issues:
2356
exclude-rules:
2457
# Exclude some linters from running on tests files.
2558
- path: _test\.go
2659
linters:
2760
- wsl
2861
- funlen
62+
2963
linters-settings:
3064
gocritic:
3165
disabled-checks:

0 commit comments

Comments
 (0)