-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrevive.toml
More file actions
24 lines (23 loc) · 580 Bytes
/
revive.toml
File metadata and controls
24 lines (23 loc) · 580 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
enableAllRules = true
errorCode = 1
warningCode = 1
[rule.add-constant]
Arguments = [{allowInts = "0,1,2,3", allowStrs = "\"\""}]
[rule.argument-limit]
Disabled = true
[rule.bare-return]
Disabled = true
[rule.cognitive-complexity]
Disabled = true
[rule.cyclomatic]
Disabled = true
[rule.flag-parameter]
Disabled = true
[rule.line-length-limit]
Disabled = true
[rule.package-comments]
Disabled = true
[rule.unchecked-type-assertion]
Disabled = true
[rule.unhandled-error]
Arguments = [".*\\.WriteString", ".*\\.WriteRune", "fmt\\.Print.*"]