File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : " 2"
21run :
32 allow-parallel-runners : true
3+
44linters :
55 enable :
66 - copyloopvar
@@ -20,37 +20,31 @@ linters:
2020 - unconvert
2121 - unparam
2222 - unused
23- settings :
24- revive :
25- rules :
26- - name : comment-spacings
27- - name : import-shadowing
28- - name : dot-imports
29- disabled : true
30- exclusions :
23+
24+ linters-settings :
25+ revive :
3126 rules :
32- - linters :
33- - lll
34- path : api/*
35- - linters :
36- - lll
37- path : internal/*
38- - linters :
39- - dupl
40- - goconst
41- - revive
42- path : _test\.go
43- paths :
44- - third_party$
45- - builtin$
46- - examples$
47- formatters :
48- enable :
49- - gofmt
50- - goimports
51- exclusions :
52- generated : lax
53- paths :
54- - third_party$
55- - builtin$
56- - examples$
27+ - name : comment-spacings
28+ - name : import-shadowing
29+ - name : dot-imports
30+ disabled : true
31+ lll :
32+ line-length : 120
33+
34+ issues :
35+ exclude-rules :
36+ - path : api/*
37+ linters :
38+ - lll
39+ - path : internal/*
40+ linters :
41+ - lll
42+ - path : _test\.go
43+ linters :
44+ - dupl
45+ - goconst
46+ - revive
47+ exclude-dirs :
48+ - third_party
49+ - builtin
50+ - examples
You can’t perform that action at this time.
0 commit comments