mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:14:42 +00:00
Add new .gitignore behavior to BREAKING_CHANGES.md (#1240)
This commit is contained in:
parent
4b2020d03a
commit
e389201b5f
1 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,16 @@
|
||||||
# Breaking Changes
|
# 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
|
## 0.0.178
|
||||||
|
|
||||||
### Configuration files are now resolved hierarchically ([#1190](https://github.com/charliermarsh/ruff/pull/1190))
|
### Configuration files are now resolved hierarchically ([#1190](https://github.com/charliermarsh/ruff/pull/1190))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue