forked from google/keytransparency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gometalinter.json
28 lines (28 loc) · 905 Bytes
/
.gometalinter.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
{
"Linters": {
"errcheck": "errcheck -abspath -ignore 'Close|Write|Serve' {path}:PATH:LINE:COL:MESSAGE",
"license": {
"Command": "grep -rL 'Apache License'",
"Pattern": "^(?P<path>.[^.]+\\.(go|proto))$"
},
"imports-impl": {
"Command": "grep -rl 'keytransparency/impl'",
"Pattern": "^(?P<path>\\./core.*(go|proto))$"
}
},
"Severity": {"license": "error"},
"Enable": ["license", "imports-impl", "gofmt", "golint", "vet", "ineffassign", "misspell", "gocyclo", "deadcode", "varcheck", "unconvert", "megacheck", "gosec"],
"Vendor": true,
"VendoredLinters": true,
"Exclude": [
],
"Deadline": "4m",
"Cyclo": 18,
"Aggregate": true,
"Exclude": [
".+\\.pb\\.go",
".+\\.pb\\.gw\\.go",
"Errors unhandled.,LOW,HIGH \\(gosec\\)",
"Potential file inclusion via variable,MEDIUM,HIGH \\(gosec\\)"
]
}