docs: Missed a false-positive case

This commit is contained in:
Ed Page 2021-05-28 18:42:09 -05:00
parent a33196d0d8
commit 7d1fbe5442

View file

@ -66,7 +66,15 @@ AttributeIDSupressMenu = "AttributeIDSupressMenu"
teh = "teh"
```
For localized content, you might want to exclude the entire file
For localized content, you can disable spell checking of file contents while still checking the file name:
```toml
[type.po]
extend-globs = ["*.po"]
check-file = false
```
(run `typos --type-list` to see configured file types)
If that doesn't catch the cases you can need, you can completely exclude some files from consideration:
```toml
[files]
extend-exclude = ["localized/*.po"]