Commit 2a620fe 1 parent b1eeef5 commit 2a620fe Copy full SHA for 2a620fe
File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
linters-settings :
2
2
errcheck :
3
- ignore : fmt:.*,io/ioutil:^Read.*
4
- ignoretests : true
3
+ exclude-functions :
4
+ - fmt:.*
5
+ - io/ioutil:^Read.*
5
6
6
7
goimports :
7
8
local-prefixes : github.com/LagrangeDev/LagrangeGo
8
9
10
+ revive :
11
+ rules :
12
+ - name : var-naming
13
+ severity : warning
14
+ disabled : false
15
+ exclude : [ "" ]
16
+ arguments :
17
+ - [ "Uid", "uid" ] # AllowList
18
+ - [ ] # DenyList
19
+
9
20
linters :
10
21
# please, do not use `enable-all`: it's deprecated and will be removed soon.
11
22
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
58
69
# output configuration options
59
70
output :
60
71
formats :
61
- - format : " colored-line-number"
72
+ - format : " colored-line-number"
62
73
print-issued-lines : true
63
74
print-linter-name : true
64
75
uniq-by-line : true
You can’t perform that action at this time.
0 commit comments