mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 14:35:48 +03:00
29 lines
No EOL
531 B
JSON
29 lines
No EOL
531 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,
|
|
|
|
"EnableAll": true,
|
|
"DisableAll": false,
|
|
"Disable": [
|
|
"maligned",
|
|
"goconst",
|
|
"vetshadow"
|
|
],
|
|
|
|
"Cyclo": 20,
|
|
"LineLength": 200
|
|
} |