File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,28 @@ This helps you decide whether to add formatters for specific files or ignore the
18
18
## Customizing Notifications
19
19
20
20
### Reducing Log Verbosity
21
+
21
22
If you find the unmatched file warnings too noisy, you can lower the logging level in your config:
22
23
23
24
` treefmt.toml ` :
25
+
24
26
``` toml
25
27
on-unmatched = " debug"
26
28
```
27
29
28
30
To later find out what files are unmatched, you can override this setting via the command line:
31
+
29
32
``` console
30
33
$ treefmt --on-unmatched warn
31
34
```
32
35
33
36
### Enforcing Strict Matching
37
+
34
38
Another stricter policy approach is to fail the run if any unmatched files are found.
35
39
This can be paired with an ` excludes ` list to ignore specific files:
36
40
37
41
` treefmt.toml ` :
42
+
38
43
``` toml
39
44
# Fail if any unmatched files are found
40
45
on-unmatched = " fatal"
Original file line number Diff line number Diff line change 2
2
site_name : Treefmt
3
3
site_url : https://treefmt.com
4
4
site_description : >-
5
- The formatter multiplexer.
5
+ The formatter multiplexer.
6
6
7
7
# Repository
8
8
repo_name : numtide/treefmt
You can’t perform that action at this time.
0 commit comments