Skip to content

Commit 7d1fbe5

Browse files
author
Ed Page
committed
docs: Missed a false-positive case
1 parent a33196d commit 7d1fbe5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,15 @@ AttributeIDSupressMenu = "AttributeIDSupressMenu"
6666
teh = "teh"
6767
```
6868

69-
For localized content, you might want to exclude the entire file
69+
For localized content, you can disable spell checking of file contents while still checking the file name:
70+
```toml
71+
[type.po]
72+
extend-globs = ["*.po"]
73+
check-file = false
74+
```
75+
(run `typos --type-list` to see configured file types)
76+
77+
If that doesn't catch the cases you can need, you can completely exclude some files from consideration:
7078
```toml
7179
[files]
7280
extend-exclude = ["localized/*.po"]

0 commit comments

Comments
 (0)