forked from SpecterOps/BloodHound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.json
76 lines (76 loc) · 1.42 KB
/
.golangci.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"linters": {
"disable": [
"errcheck"
],
"enable": [
"gosimple",
"stylecheck"
]
},
"issues": {
"max-issues-per-linter": 0,
"max-same-issues": 0,
"exclude-rules": [
{
"path": ".go",
"text": "((neo4j(.+)(NewDriver|Result))|Id|database.Database|(.+)Deprecated) is deprecated"
},
{
"path": "cache_test\\.go",
"text": "SA1026:",
"severity": "warning"
},
{
"path": "foldr_test\\.go",
"text": "SA4000:",
"severity": "warning"
},
{
"path": "dawgs/util/size/(.+)",
"linters": ["unused"]
}
]
},
"run": {
"skip-dirs": [
"mocks"
],
"build-tags": [
"integration",
"serial_integration"
]
},
"severity": {
"default-severity": "error",
"rules": [
{
"linters": ["stylecheck", "gosimple", "unused", "errcheck", "forcetypeassert"],
"severity": "warning"
},
{
"text": "SA1019:",
"severity": "warning"
},
{
"path": "hyperloglog_bench_test\\.go",
"text": "SA6002:",
"severity": "warning"
},
{
"path": "expected_ingest.go",
"text": "ST1022:",
"severity": "warning"
}
]
},
"linters-settings": {
"stylecheck": {
"checks": [
"all",
"-ST1000",
"-ST1003"
]
}
}
}