Skip to content

Commit 5f27ef6

Browse files
committed
chore: fmt
Signed-off-by: Brian McGee <[email protected]>
1 parent 21cefd7 commit 5f27ef6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/content/guides/unmatched-formatters.md

+5
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,28 @@ This helps you decide whether to add formatters for specific files or ignore the
1818
## Customizing Notifications
1919

2020
### Reducing Log Verbosity
21+
2122
If you find the unmatched file warnings too noisy, you can lower the logging level in your config:
2223

2324
`treefmt.toml`:
25+
2426
```toml
2527
on-unmatched = "debug"
2628
```
2729

2830
To later find out what files are unmatched, you can override this setting via the command line:
31+
2932
```console
3033
$ treefmt --on-unmatched warn
3134
```
3235

3336
### Enforcing Strict Matching
37+
3438
Another stricter policy approach is to fail the run if any unmatched files are found.
3539
This can be paired with an `excludes` list to ignore specific files:
3640

3741
`treefmt.toml`:
42+
3843
```toml
3944
# Fail if any unmatched files are found
4045
on-unmatched = "fatal"

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
site_name: Treefmt
33
site_url: https://treefmt.com
44
site_description: >-
5-
The formatter multiplexer.
5+
The formatter multiplexer.
66
77
# Repository
88
repo_name: numtide/treefmt

0 commit comments

Comments
 (0)