blob: 978d3be4332fec4aef00703a9fc88f0039afb72a [file] [log] [blame]
{
"linters": {
"spelling": {
"type": "spelling",
"exclude": "(^third_party|kythe/java/com/google/devtools/kythe/platform/java/helpers/SignatureGenerator.java)"
},
"chmod": {
"type": "chmod",
"exclude": "!^(tools/platforms/configs/.*)$!"
},
"merge-conflict": {
"type": "merge-conflict"
},
"go": {
"type": "golint",
"include": "(\\.go$)",
"exclude": "(^third_party|^kythe/proto/|/testdata/)"
},
"custom": {
"type": "script-and-regex",
"script-and-regex.script": "tools/arc/linter.sh",
"script-and-regex.regex": "/^((?P<name>.+?)::)?(?P<severity>warning|error|advice):(?P<line>\\d+)? (?P<message>.*)$/m",
"exclude": "!(^|/)(go\\.mod|go\\.sum|\\.[^/]*|third_party/.*|tools/platforms/configs/versions.bzl)$!"
}
}
}