- Air's behavior relating to directly supplied files and the `exclude` / `default-exclude` options has changed to be safer by default. Previously, `air format cpp11.R` would format `cpp11.R`, even though it was part of the set of `default-exclude`s, because we assumed that a direct request from a user like this could override these rules. However, tools such as pre-commit or IDEs that format via stdin will blindly call `air format` on any file that changes and have no knowledge of whether that file should be excluded or not. For this reason, we now exclude files that match `exclude` or `default-exclude` patterns even if they are directly supplied on the command line.
0 commit comments