Add better lint checking.

Summary:
Make the lint checker check more files. Also, make arc run the
linter.

Test Plan:
 - `arc lint`
 - `make lint`

Reviewers: kevinb, alpert

Reviewed By: alpert

Differential Revision: https://phabricator.khanacademy.org/D17509
This commit is contained in:
Emily Eisenberg
2015-04-22 18:55:20 -07:00
parent eef108b2dd
commit af8c1307f7
6 changed files with 26 additions and 8 deletions

View File

@@ -1,4 +1,8 @@
{
"project_id": "KaTeX",
"conduit_uri": "https://phabricator.khanacademy.org/"
"conduit_uri": "https://phabricator.khanacademy.org/",
"lint.engine": "ArcanistSingleLintEngine",
"lint.engine.single.linter": "ArcanistScriptAndRegexLinter",
"linter.scriptandregex.regex": "/^(?P<file>\\S+): line (?P<line>\\d+), col \\d+, (?P<message>.*)$/m",
"linter.scriptandregex.script": "make lint || true"
}