mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
40 lines
No EOL
688 B
JSON
40 lines
No EOL
688 B
JSON
{
|
|
"Vendor": true,
|
|
"Test": true,
|
|
"Deadline": "2m",
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
"Exclude": [
|
|
".*generated.*",
|
|
"dnsfilter/rule_to_regexp.go"
|
|
],
|
|
"EnableGC": true,
|
|
"Linters": {
|
|
"nakedret": {
|
|
"Command": "nakedret",
|
|
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$"
|
|
}
|
|
},
|
|
"WarnUnmatchedDirective": true,
|
|
|
|
"DisableAll": true,
|
|
"Enable": [
|
|
"deadcode",
|
|
"gocyclo",
|
|
"gofmt",
|
|
"goimports",
|
|
"golint",
|
|
"gosimple",
|
|
"ineffassign",
|
|
"interfacer",
|
|
"lll",
|
|
"misspell",
|
|
"nakedret",
|
|
"unconvert",
|
|
"unparam",
|
|
"unused",
|
|
"vet"
|
|
],
|
|
|
|
"Cyclo": 20,
|
|
"LineLength": 200
|
|
} |