www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 7f1b53cbfdd1df15ee413e841e4f862dde99ae3f
parent 8931e5b45cec43f264592a3368c0469af9a4cb99
Author: Emily Eisenberg <emily@khanacademy.org>
Date:   Fri, 26 Jun 2015 13:57:02 -0700

Fix `arc lint`

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

Test plan:
 - `arc lint`

Auditors: alpert

Diffstat:
M.arcconfig | 5+----
A.arclint | 9+++++++++
2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.arcconfig b/.arcconfig @@ -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" } diff --git a/.arclint b/.arclint @@ -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" + } + } +}