pinterest / arcanist-linters

A collection of custom Arcanist linters
Apache License 2.0
63 stars 45 forks source link

Bypass "changed line" filtering in beautifiers #15

Closed jparise closed 5 years ago

jparise commented 5 years ago

Arcanist applies some basic filtering to arc lint so that only lint messages on or near changed lines are raised to the user.

This is generally helpful because it avoids drawing attention to parts of the file that are unrelated to the change, but, in the case of these "beautifying" linters, it means that some changes might not be included in the final auto-fixed file diff.

Fortunately, we can bypass this filtering on a per-message basis.