1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-10 23:01:04 +01:00
phorge-arcanist/src/lint/engine
vrana f25c01606b Cache stopped paths in lint
Summary:
If linter with file cache granularity stops linting then we don't run it on the same path next time.
But we still run linters with non-file cache granularity causing that they run even on the paths that would be stopped otherwise.

Test Plan:
Put global granularity linter after Generated linter.
Caused an error from this linter but in ignored path.
Verified that 'stopped' is saved in `lint-cache.json`.
Linted the same files second time, verified that the path is still skipped (wasn't before).

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4446
2013-01-15 17:58:32 -08:00
..
ArcanistLintEngine.php Cache stopped paths in lint 2013-01-15 17:58:32 -08:00
ArcanistSingleLintEngine.php Delete license headers from files 2012-11-05 11:16:24 -08:00
ComprehensiveLintEngine.php Add a very basic Scala (SBT) linter. 2012-12-03 10:04:18 -08:00
ExampleLintEngine.php Delete license headers from files 2012-11-05 11:16:24 -08:00
PhutilLintEngine.php Emit advice for TODO in Phutil linter 2012-11-21 15:40:58 -08:00
UnitTestableArcanistLintEngine.php Delete license headers from files 2012-11-05 11:16:24 -08:00