Page MenuHomePhabricator

arc lint config for linting only files in the commit
Closed, InvalidPublic

Description

I would like to configure the .arclint with JSON to only lint the files that are included in the current commit when running the "arc diff" command. Is it possible to do this ?

I tried the options for include / excludes but they are directory or file based, but not specific to the particular commit being done with the "arc diff" command.

Event Timeline

rajeshpanicker raised the priority of this task from to Needs Triage.
rajeshpanicker updated the task description. (Show Details)
rajeshpanicker added a project: Arcanist.
rajeshpanicker added a subscriber: rajeshpanicker.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

This is the default behavior. Use --everything or specify paths to lint all files.