Skip to content

Commit 3c14191

Browse files
committed
docs(ref): Talk about include lists
Inspired by #1340
1 parent d0f81dc commit 3c14191

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/reference.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ Typos-specific ignore globs (gitignore syntax)
6969
Note: the command-line overrides this by default.
7070
See `--force-exclude` to ensure this field is always respected.
7171

72+
Example of an include list:
73+
```toml
74+
[files]
75+
extend-exclude = [
76+
"*",
77+
"!something",
78+
]
79+
```
80+
7281
#### `files.ignore-hidden`
7382

7483
- Type: bool

0 commit comments

Comments
 (0)