| { |
| "linters": { |
| "spelling": { |
| "type": "spelling", |
| "exclude": "(^third_party)" |
| }, |
| "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)$!" |
| } |
| } |
| } |