Skip to content

Commit

Permalink
docs: Missed a false-positive case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed May 28, 2021
1 parent a33196d commit 7d1fbe5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -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"]
Expand Down

0 comments on commit 7d1fbe5

Please sign in to comment.