1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 01:28:51 +02:00
phorge-arcanist/src/lint
Joshua Spence 30df78f64c Improve the handling of .arclint files.
Summary: Throw a useful error message when an `.arclint` file is not valid JSON.

Test Plan:
Modified an `.arclint` file to be invalid JSON.

```
> arc lint
Exception
Parse error on line 24 at column 5: Expected one of: 'EOF', '}', ',', ']'
(Run with --trace for a full exception trace.)
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9679
2014-06-24 09:24:30 +10:00
..
engine Improve the handling of .arclint files. 2014-06-24 09:24:30 +10:00
linter Skip the "Too Many Errors" error that is raised by JSHint. 2014-06-24 04:16:15 +10:00
renderer Apply various linter fixes. 2014-06-10 11:02:42 -07:00
ArcanistLintMessage.php Support for lint messages which are always shown 2013-06-09 08:38:30 -07:00
ArcanistLintPatcher.php Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
ArcanistLintResult.php Introduce arc lint --only-new 1 2012-12-03 17:21:17 -08:00
ArcanistLintSeverity.php Don't run disabled lint rules 2013-02-14 15:31:10 -08:00