mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 11:24:11 +08:00
5a5aeb6bb3
Summary: This is a test Test Plan: Testing Reviewers: juan Differential Revision: https://phab.nylas.com/D3493 [local-private] add old edgehill src/pro into packages/local-private
17 lines
796 B
Text
17 lines
796 B
Text
{
|
|
"linters": {
|
|
"coffeescript-linter": {
|
|
"type": "script-and-regex",
|
|
"script-and-regex.script": "script/grunt coffeelint:target --target",
|
|
"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"
|
|
}
|
|
}
|
|
}
|