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
David Cramer 2fa80bbd44 Add canRun to linters.
Summary:
This allows engines to check the canRun method on linters,
which should determine if a linter is configured and can
be run in the current environment.

Test Plan:
Implement a linter with canRun as false, and ensure
it doesnt run.

Ensure all existing linters still run by default.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D1445
2012-01-17 17:15:21 -08:00
..
engine Add canRun to linters. 2012-01-17 17:15:21 -08:00
linter Add canRun to linters. 2012-01-17 17:15:21 -08:00
message Fix an obscure dependency issue in Arcanist + libphutil 2011-08-03 12:17:49 -07:00
patcher Stop arc from destroying files under HPHPi. 2011-02-24 14:08:49 -08:00
renderer Don't output "OKAY" for arc lint --output json. 2011-12-15 11:03:17 -08:00
result Some documentation. 2011-02-19 11:36:08 -08:00
severity Some documentation. 2011-02-19 11:36:08 -08:00