]> khamidou — GitHub mirrors - arcanist.git/commit
Adding arc lint flag that will show lint only on changed lines - even when paths...
authorChris Dentel <cdentel@fb.com>
Fri, 20 Sep 2013 23:08:59 +0000 (16:08 -0700)
committerChris Dentel <cdentel@fb.com>
Fri, 27 Sep 2013 17:13:31 +0000 (10:13 -0700)
commit08536d8917bdfc0f94e22555b01a5a2a13c13445
tree77d02c91b355742001224b08deb965a1dae42d63
parent6270dd0de5073931f3c3e75ab77f0f1d5fa77eef
Adding arc lint flag that will show lint only on changed lines - even when paths are specified

Summary:
The existing lint configurations do not allow for linting only the lines that have
changed when paths are added.  --lintall has a default behavior of true when paths are specified,
and false when paths are not specified.  Because of this (and because it does not take a boolean
param) it is not possible to lint a path for only the errors on changed lines - only-new is not
working presently.

Test Plan: play around with the linter

Reviewers: lifeihuang

Reviewed By: lifeihuang

CC: epriestley, aran
Differential Revision: https://secure.phabricator.com/D7055
src/workflow/ArcanistLintWorkflow.php