Page MenuHomePhabricator

Only lint files in the working copy with `arc lint --everything`.
ClosedPublic

Authored by joshuaspence on Jun 23 2014, 12:08 AM.
Tags
None
Referenced Files
F14025968: D9674.diff
Thu, Nov 7, 9:34 PM
F14018321: D9674.diff
Tue, Nov 5, 8:24 AM
F14011930: D9674.id23221.diff
Fri, Nov 1, 6:07 AM
F14002300: D9674.id23221.diff
Fri, Oct 25, 5:35 PM
F13999526: D9674.diff
Thu, Oct 24, 3:22 PM
F13995535: D9674.id23221.diff
Wed, Oct 23, 1:40 PM
F13976664: D9674.diff
Fri, Oct 18, 3:14 PM
F13975523: D9674.id23219.diff
Fri, Oct 18, 10:30 AM
Subscribers

Details

Summary

Fixes T5442. arc lint --everything currently uses a FileFinder to discover paths for linting. A consequence of this is that files that are ignored or otherwise excluded from version control are linted.

Test Plan

Ran arc lint --everything in rPHU and noticed that I wasn't prompted to add a trailing newline to src/.phutil_module_cache.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Only lint files in the working copy with `arc lint --everything`..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/workflow/ArcanistLintWorkflow.php
220–221

This comment is probably no longer very useful.

This revision is now accepted and ready to land.Jun 23 2014, 12:20 AM