forked from open-lambda/open-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
golint.toml
41 lines (36 loc) · 843 Bytes
/
golint.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
enableAllRules = true
#TODO we should eventually comment all public methods
[rule.package-comments]
Disabled = true
#TODO get rid of all (or most) magic numbers
[rule.add-constant]
Disabled = true
#TODO we should handle all errors
[rule.unhandled-error]
Disabled = true
[rule.exported]
Disabled = true
[rule.early-return]
Disabled = true
[rule.deep-exit]
Disabled = true
[rule.function-length]
Disabled = true
[rule.file-header]
Disabled = true
[rule.banned-characters]
Disabled = true
[rule.max-public-structs]
Disabled = true
[rule.line-length-limit]
Disabled = true
[rule.cognitive-complexity]
Disabled = true
[rule.increment-decrement]
Disabled = true
[rule.argument-limit]
Arguments = [7]
[rule.cyclomatic]
Arguments = [10]
[rule.function-result-limit]
Arguments = [3]