Mailspring/.arclint
Christine Spang b69d5e50f1 [dev] Make 'arc lint' shut up about long lines
We don't warn about this in JS, so we shouldn't warn about this in coffeescript either.
2017-03-13 11:42:14 -07:00

17 lines
807 B
Text

{
"linters": {
"coffeescript-linter": {
"type": "script-and-regex",
"script-and-regex.script": "./node_modules/.bin/coffeelint -f .coffeelint.json",
"script-and-regex.regex": "/^ ((?P<error>✖)|(?P<warning>⚠)) *line (?P<line>\\d+) +(?P<message>.*)$/m",
"include": "{\\.(e?coffee|cjsx)}"
},
"eslint-regex-based": {
"type": "script-and-regex",
"include": ["(\\.jsx?$)", "(\\.es6$)"],
"exclude": ["(src\\/K2)", "(node_modules)"],
"script-and-regex.script": "sh -c '([ -e ./node_modules/.bin/eslint ]) && (./node_modules/.bin/eslint -f compact \"$0\" || true)'",
"script-and-regex.regex": "/^(?P<file>.*): line (?P<line>[0-9]*), col (?P<char>[0-9]*), (?P<warning>Warning|Error) - (?P<message>.*?)(\\((?P<code>[a-z-]+)\\))?$/m"
}
}
}