AdGuardHome/.gometalinter.json

29 lines
531 B
JSON
Raw Normal View History

2019-01-24 10:11:01 -07:00
{
"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,
2019-01-25 02:21:57 -07:00
"EnableAll": true,
"DisableAll": false,
"Disable": [
"maligned",
2019-02-11 04:22:36 -07:00
"goconst",
"vetshadow"
],
2019-01-24 10:11:01 -07:00
"Cyclo": 20,
"LineLength": 200
}