Adding arc lint flag that will show lint only on changed lines - even when paths are specified
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

Symplicity/arcanist,aik099/arcanist,Khan/arcanist,Khan/arcanist,dguo-coursera/arcanist,zhihu/arcanist,calblueprint/arcanist,eSpark/arcanist,memsql/arcanist,julkiewicz/arcanist,phacility/arcanist,KieranHayes/arcanist,hach-que/arcanist,r4nt/arcanist,chundongwang/arcanist,calblueprint/arcanist,folsom-labs/arcanist,eSpark/arcanist,memsql/arcanist,aik099/arcanist,Khan/arcanist,fivestars/arcanist,wharris/arcanist,haskell-infra/arcanist,jra3/arcanist,Symplicity/arcanist,haskell-infra/arcanist,eSpark/arcanist,wikimedia/phabricator-arcanist,codelabs-ch/arcanist,coursera/arcanist,wharris/arcanist,zhihu/arcanist,alexmv/arcanist,julkiewicz/arcanist,KieranHayes/arcanist,wxstars/arcanist,coursera/arcanist,fivestars/arcanist,uber/arcanist,chundongwang/arcanist,julkiewicz/arcanist,KieranHayes/arcanist,hach-que/arcanist,alexmv/arcanist,codelabs-ch/arcanist,wharris/arcanist,phacility/arcanist,kevinseelbach/arcanist,KieranHayes/arcanist,hach-que/arcanist,codelabs-ch/arcanist,alexmv/arcanist,wxstars/arcanist,PageUpPeopleOrg/arcanist-patches,wharris/arcanist,r4nt/arcanist,coursera/arcanist,uber/arcanist,kevinseelbach/arcanist,PageUpPeopleOrg/arcanist-patches,r4nt/arcanist,kevinseelbach/arcanist,phacility/arcanist,sneakpeeq/arcanist,zhihu/arcanist,zhihu/arcanist,sneakpeeq/arcanist,haskell-infra/arcanist,fivestars/arcanist,folsom-labs/arcanist,dguo-coursera/arcanist,kevinseelbach/arcanist,phacility/arcanist,wikimedia/phabricator-arcanist,jra3/arcanist,haskell-infra/arcanist,dguo-coursera/arcanist,PageUpPeopleOrg/arcanist-patches,codelabs-ch/arcanist,phacility/arcanist,uber/arcanist,r4nt/arcanist,memsql/arcanist,jra3/arcanist,codelabs-ch/arcanist,sneakpeeq/arcanist,wxstars/arcanist,chundongwang/arcanist,folsom-labs/arcanist,hach-que/arcanist,wxstars/arcanist,chundongwang/arcanist,aik099/arcanist,calblueprint/arcanist,Symplicity/arcanist,aik099/arcanist,alexmv/arcanist,Symplicity/arcanist,calblueprint/arcanist,fivestars/arcanist,wikimedia/phabricator-arcanist,julkiewicz/arcanist,dguo-coursera/arcanist,PageUpPeopleOrg/arcanist-patches,Khan/arcanist,wikimedia/phabricator-arcanist,sneakpeeq/arcanist,uber/arcanist,memsql/arcanist,jra3/arcanist,coursera/arcanist,folsom-labs/arcanist,eSpark/arcanist