File tree 2 files changed +29
-27
lines changed
2 files changed +29
-27
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ linters:
16
16
- gocritic
17
17
- bidichk
18
18
- ineffassign
19
+ - revive
19
20
enable-all : false
20
21
disable-all : true
21
22
fast : false
@@ -28,6 +29,34 @@ linters-settings:
28
29
disabled-checks :
29
30
- ifElseChain
30
31
- singleCaseSwitch # Every time this occurred in the code, there was no other way.
32
+ revive :
33
+ ignore-generated-header : false
34
+ severity : warning
35
+ confidence : 0.8
36
+ errorCode : 1
37
+ warningCode : 1
38
+ rules :
39
+ - name : blank-imports
40
+ - name : context-as-argument
41
+ - name : context-keys-type
42
+ - name : dot-imports
43
+ - name : error-return
44
+ - name : error-strings
45
+ - name : error-naming
46
+ - name : exported
47
+ - name : if-return
48
+ - name : increment-decrement
49
+ - name : var-naming
50
+ - name : var-declaration
51
+ - name : package-comments
52
+ - name : range
53
+ - name : receiver-naming
54
+ - name : time-naming
55
+ - name : unexported-return
56
+ - name : indent-error-flow
57
+ - name : errorf
58
+ - name : duplicated-imports
59
+ - name : modifies-value-receiver
31
60
32
61
issues :
33
62
exclude-rules :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments