File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 name : lint
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
15- - uses : golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
15+ - uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
1616 with :
1717 version : v1.59.0
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010 test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
13+ - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
1414 with :
1515 go-version : oldstable
16- - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
16+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1717 - name : build
1818 run : go build ./...
1919 - name : test
Original file line number Diff line number Diff line change 1+ version : " 2"
12linters :
23 enable :
3- - asciicheck
4- - bodyclose
5- - dogsled
6- - dupl
7- - durationcheck
8- - err113
9- - errcheck
10- - errorlint
11- - exhaustive
12- - exportloopref
13- - forbidigo
14- - forcetypeassert
15- - gochecknoinits
16- - gocognit
17- - goconst
18- - gocritic
19- - gocyclo
20- - godot
21- - godox
22- - gofmt
23- - gofumpt
24- - goheader
25- - goimports
26- - gomoddirectives
27- - gomodguard
28- - goprintffuncname
29- - gosec
30- - gosimple
31- - govet
32- - importas
33- - ineffassign
34- - makezero
35- - misspell
36- - nakedret
37- - nilerr
38- - noctx
39- - nolintlint
40- - prealloc
41- - predeclared
42- - promlinter
43- - revive
44- - rowserrcheck
45- - sqlclosecheck
46- - staticcheck
47- - stylecheck
48- - tagliatelle
49- - testpackage
50- - thelper
51- - typecheck
52- - unconvert
53- - unparam
54- - unused
55- - wastedassign
56- - whitespace
57- disable :
58- - cyclop
59- - depguard
60- - funlen
61- - gci
62- - gochecknoglobals
63- - gomnd
64- - lll
65- - nestif
66- - nlreturn
67- - paralleltest
68- - tparallel
69- - wrapcheck
70- - wsl
71-
72- linters-settings :
73- forbidigo :
74- forbid :
75- - ^fmt\.Print.*$
76- - ^ioutil\..*$
77- - ^os\.(DirEntry|FileInfo|FileMode|Is.*|Mode.*)$
78- gofumpt :
79- extra-rules : true
80- goimports :
81- local-prefixes : github.com/twpayne/go-xctrack
82- misspell :
83- locale : US
84-
85- issues :
86- exclude-rules :
87- - linters :
4+ - asciicheck
5+ - bodyclose
6+ - dogsled
7+ - dupl
8+ - durationcheck
889 - err113
89- text : " do not define dynamic errors, use wrapped static errors instead "
90- - linters :
10+ - errorlint
11+ - exhaustive
9112 - forbidigo
92- path : ^cmd/xctrack/
13+ - forcetypeassert
14+ - gochecknoinits
15+ - gocognit
16+ - goconst
17+ - gocritic
18+ - gocyclo
19+ - godot
20+ - godox
21+ - goheader
22+ - gomoddirectives
23+ - gomodguard
24+ - goprintffuncname
25+ - gosec
26+ - importas
27+ - makezero
28+ - misspell
29+ - nakedret
30+ - nilerr
31+ - noctx
32+ - nolintlint
33+ - prealloc
34+ - predeclared
35+ - promlinter
36+ - revive
37+ - rowserrcheck
38+ - sqlclosecheck
39+ - staticcheck
40+ - tagliatelle
41+ - testpackage
42+ - thelper
43+ - unconvert
44+ - unparam
45+ - wastedassign
46+ - whitespace
47+ disable :
48+ - cyclop
49+ - depguard
50+ - funlen
51+ - gochecknoglobals
52+ - lll
53+ - mnd
54+ - nestif
55+ - nlreturn
56+ - paralleltest
57+ - tparallel
58+ - wrapcheck
59+ - wsl
60+ settings :
61+ forbidigo :
62+ forbid :
63+ - pattern : ^fmt\.Print.*$
64+ - pattern : ^ioutil\..*$
65+ - pattern : ^os\.(DirEntry|FileInfo|FileMode|Is.*|Mode.*)$
66+ misspell :
67+ locale : US
68+ exclusions :
69+ generated : lax
70+ presets :
71+ - comments
72+ - common-false-positives
73+ - legacy
74+ - std-error-handling
75+ rules :
76+ - linters :
77+ - err113
78+ text : do not define dynamic errors, use wrapped static errors instead
79+ - linters :
80+ - forbidigo
81+ path : ^cmd/xctrack/
82+ paths :
83+ - third_party$
84+ - builtin$
85+ - examples$
86+ formatters :
87+ enable :
88+ - gofmt
89+ - gofumpt
90+ - goimports
91+ settings :
92+ gofumpt :
93+ extra-rules : true
94+ goimports :
95+ local-prefixes :
96+ - github.com/twpayne/go-xctrack
97+ exclusions :
98+ generated : lax
99+ paths :
100+ - third_party$
101+ - builtin$
102+ - examples$
You can’t perform that action at this time.
0 commit comments