-
Notifications
You must be signed in to change notification settings - Fork 126
/
.golangci.json
62 lines (62 loc) · 1.12 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
{
"linters": {
"disable": [],
"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|batch.CreateRelationshipByIDs|jwt.StandardClaims) is deprecated"
},
{
"path": "hyperloglog_bench_test.go",
"text": "SA6002:"
},
{
"path": "cache_test\\.go",
"text": "SA1026:"
},
{
"path": "foldr_test\\.go",
"text": "SA4000:"
},
{
"path": "dawgs/util/size/(.+)",
"linters": ["unused"]
}
]
},
"run": {
"skip-dirs": [
"mocks"
],
"build-tags": [
"integration",
"serial_integration"
]
},
"severity": {
"default-severity": "error",
"rules": [
{
"linters": ["errcheck"],
"severity": "warning"
}
]
},
"linters-settings": {
"stylecheck": {
"checks": [
"all",
"-ST1000",
"-ST1003"
]
}
}
}