Skip to content

Commit a4cd6ae

Browse files
authored
Stabilize ignore config option (#4139)
1 parent 796cc58 commit a4cd6ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Configurations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ The pattern format is the same as [.gitignore](https://git-scm.com/docs/gitignor
10511051

10521052
- **Default value**: format every file
10531053
- **Possible values**: See an example below
1054-
- **Stable**: No (tracking issue: [#3395](https://github.com/rust-lang/rustfmt/issues/3395))
1054+
- **Stable**: Yes
10551055

10561056
### Example
10571057

rustfmt-core/rustfmt-lib/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ create_config! {
149149
error_on_unformatted: bool, false, false,
150150
"Error if unable to get comments or string literals within max_width, \
151151
or they are left with trailing whitespaces";
152-
ignore: IgnoreList, IgnoreList::default(), false,
152+
ignore: IgnoreList, IgnoreList::default(), true,
153153
"Skip formatting the specified files and directories";
154154

155155
// Not user-facing

0 commit comments

Comments
 (0)