Fix arc lint

Summary: Move the linting configuration to `.arclint` so that `arc lint`
works again.

Test plan:
 - `arc lint`

Auditors: alpert
This commit is contained in:
Emily Eisenberg 2015-06-26 13:57:02 -07:00
parent 8931e5b45c
commit 7f1b53cbfd
2 changed files with 10 additions and 4 deletions

View File

@ -1,8 +1,5 @@
{
"project_id": "KaTeX",
"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"
"lint.engine": "ArcanistConfigurationDrivenLintEngine"
}

9
.arclint Normal file
View File

@ -0,0 +1,9 @@
{
"linters": {
"katex-linter": {
"type": "script-and-regex",
"script-and-regex.script": "make lint || true",
"script-and-regex.regex": "/^(?P<file>\\S+): line (?P<line>\\d+), col \\d+, (?P<message>.*)$/m"
}
}
}