File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ timeout = "10m"
9
9
[linters ]
10
10
enable-all = true
11
11
disable = [
12
+ # The canonical form is not always the most common form for some headers
13
+ # and there is a small chance that switching existing strings could
14
+ # break something.
15
+ " canonicalheader" ,
16
+
12
17
" cyclop" ,
13
18
" dogsled" ,
14
19
" dupl" ,
@@ -17,6 +22,9 @@ disable = [
17
22
# that would need to be addressed.
18
23
" dupword" ,
19
24
25
+ # We don't follow its policy about not defining dynamic errors.
26
+ " err113" ,
27
+
20
28
# This doesn't seem to know about CTEs or DELETEs with RETURNING
21
29
" execinquery" ,
22
30
@@ -41,8 +49,9 @@ disable = [
41
49
" gochecksumtype" ,
42
50
43
51
" gocognit" ,
44
- " goerr113" ,
45
52
" godox" ,
53
+
54
+ # We have to disable both "gomnd" and "mnd" temporarily, apparently.
46
55
" gomnd" ,
47
56
48
57
# This only "caught" one thing, and it seemed like a reasonable use
@@ -65,6 +74,10 @@ disable = [
65
74
# what to allow.
66
75
" maintidx" ,
67
76
77
+ # Using a const for every number doesn't necessarily increase code clarity,
78
+ # and it would be a ton of work to move everything to that.
79
+ " mnd" ,
80
+
68
81
# Causes panics, e.g., when processing mmerrors
69
82
" musttag" ,
70
83
You can’t perform that action at this time.
0 commit comments