docs(cli): Improve some wording

This commit is contained in:
Ed Page 2021-05-28 19:07:20 -05:00 committed by GitHub
parent 7d1fbe5442
commit c44371035a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ AttributeIDSupressMenu = "AttributeIDSupressMenu"
teh = "teh" teh = "teh"
``` ```
For localized content, you can disable spell checking of file contents while still checking the file name: For cases like localized content, you can disable spell checking of file contents while still checking the file name:
```toml ```toml
[type.po] [type.po]
extend-globs = ["*.po"] extend-globs = ["*.po"]
@ -74,7 +74,7 @@ check-file = false
``` ```
(run `typos --type-list` to see configured file types) (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: If you need some more flexibility, you can completely exclude some files from consideration:
```toml ```toml
[files] [files]
extend-exclude = ["localized/*.po"] extend-exclude = ["localized/*.po"]