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
Nick Harper 2c72779c7d Improve example linter to not lint deleted paths
Summary:
It's easy to forget to do this when writing a new lint engine (like I recently
just did), so I added it to the example to improve documentation on how to write
a lint engine. This code is copied from PhutilLintEngine (as well as many
others).

Test Plan: php -l

Reviewers: jungejason, vrana, epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2553
2012-05-23 14:59:31 -07:00
..
engine Improve example linter to not lint deleted paths 2012-05-23 14:59:31 -07:00
linter Lint libraries without __init__ 2012-04-24 15:07:55 -07:00
message Add ArcanistLintSeverity::SEVERITY_AUTOFIX. 2012-04-10 12:42:09 -07:00
patcher Stop arc from destroying files under HPHPi. 2011-02-24 14:08:49 -08:00
renderer Add ArcanistLintSeverity::SEVERITY_AUTOFIX. 2012-04-10 12:42:09 -07:00
result Add ArcanistLintSeverity::SEVERITY_AUTOFIX. 2012-04-10 12:42:09 -07:00
severity Add ArcanistLintSeverity::SEVERITY_AUTOFIX. 2012-04-10 12:42:09 -07:00