1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 09:38:50 +02:00
phorge-arcanist/src/lint
epriestley e23fc30c19 Introduce a rough abstract base class for "linters which run programs and read the results"
Summary:
Ref T3186. We have about 50 linters which run programs and read the results, all of which have ad-hoc one-off custom config that isn't formalized anywhere.

Consolidate all this stuff into `ArcanistExternalLinter`, which is configurable through `.arclint` (although nothing supports this quite yet).

Extend CSSLint and Pep8Lint from `ArcanistExternalLinter`.

Add unit tests for both.

There are still some rough edges here, but it mostly seems to work pretty well.

Test Plan: Ran unit tests, hit some (most?) of the error cases.

Reviewers: btrahan

Reviewed By: btrahan

CC: chad, aran, Firehed

Maniphest Tasks: T3186

Differential Revision: https://secure.phabricator.com/D6800
2013-08-23 11:52:44 -07:00
..
engine Introduce a rough abstract base class for "linters which run programs and read the results" 2013-08-23 11:52:44 -07:00
linter Introduce a rough abstract base class for "linters which run programs and read the results" 2013-08-23 11:52:44 -07:00
renderer Initialize variable in lint patch output 2013-03-08 15:25:33 -08:00
ArcanistLintMessage.php Support for lint messages which are always shown 2013-06-09 08:38:30 -07:00
ArcanistLintPatcher.php Delete license headers from files 2012-11-05 11:16:24 -08: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