Add new .gitignore behavior to BREAKING_CHANGES.md (#1240)

This commit is contained in:
Charlie Marsh 2022-12-14 16:04:06 -05:00 committed by GitHub
parent 4b2020d03a
commit e389201b5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,16 @@
# Breaking Changes
## Upcoming
### Files excluded by `.gitignore` are now ignored ([#1234](https://github.com/charliermarsh/ruff/pull/1234))
Ruff will now avoid checking files that are excluded by a `.gitignore`. This behavior is powered by
the [`ignore`](https://docs.rs/ignore/latest/ignore/struct.WalkBuilder.html#ignore-rules), and is
applied in addition to Ruff's built-in `exclude` system.
Note that hidden files (i.e., files and directories prefixed with a `.`) are _not_ ignored by
default.
## 0.0.178
### Configuration files are now resolved hierarchically ([#1190](https://github.com/charliermarsh/ruff/pull/1190))