mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
docs(cli): Improve some wording
This commit is contained in:
parent
7d1fbe5442
commit
c44371035a
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue