File tree Expand file tree Collapse file tree 2 files changed +16
-32
lines changed Expand file tree Collapse file tree 2 files changed +16
-32
lines changed Original file line number Diff line number Diff line change 4040 git fetch
4141
4242 # Install golangci-lint
43- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master /install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52 .2
43+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD /install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1 .2
4444
4545 - name : Build
4646 run : scripts/build.sh
Original file line number Diff line number Diff line change 1+ version : 2
12run :
2- deadline : 5m
3- build-tags :
4- - debugdemoinfocs
5- skip-dirs :
6- - msg
7- skip-files :
8- - parser_interface.go
9- - game_state_interface.go
103 allow-parallel-runners : true
114
5+ exclusions :
6+ paths :
7+ - parser_interface.go
8+ - ' *\\.pb\\.go$'
9+ - parser_interface.go
10+
11+ formatters :
12+ enable :
13+ - gci
14+ - gofmt
15+ - gofumpt
16+ - goimports
17+
1218linters :
13- disable-all : true
19+ default : none
1420 enable :
1521 - bodyclose
1622 - dogsled
1723 - dupl
18- - exportloopref
1924 - exhaustive
20- - funlen
2125 - goconst
2226 - gocritic
2327 - gocyclo
24- - gofmt
25- - goimports
2628 - goprintffuncname
2729 - gosec
28- - gosimple
2930 - govet
3031 - ineffassign
3132 - misspell
@@ -34,7 +35,6 @@ linters:
3435 - nolintlint
3536 - rowserrcheck
3637 - staticcheck
37- - stylecheck
3838 - unconvert
3939 - unparam
4040 - unused
@@ -45,19 +45,3 @@ linters:
4545 - nestif
4646 - prealloc
4747 - revive
48- - wsl
49-
50- issues :
51- exclude-rules :
52- # Exclude some linters from running on tests files.
53- - path : _test\.go
54- linters :
55- - wsl
56- - funlen
57-
58- linters-settings :
59- gocritic :
60- disabled-checks :
61- - ifElseChain
62- gci :
63- local-prefixes : github.com/markus-wa/demoinfocs-golang/v5
You can’t perform that action at this time.
0 commit comments