-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b90a9d6
commit 6142bf5
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,3 +66,12 @@ jobs: | |
run: cargo doc --workspace --all-features --no-deps --document-private-items | ||
env: | ||
RUSTDOCFLAGS: '--cfg docsrs -D warnings' | ||
|
||
# If this fails, consider changing your text or adding something to .typos.toml. | ||
typos: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: check typos | ||
uses: crate-ci/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# See the configuration reference at | ||
# https://github.com/crate-ci/typos/blob/master/docs/reference.md | ||
|
||
# Corrections take the form of a key/value pair. The key is the incorrect word | ||
# and the value is the correct word. If the key and value are the same, the | ||
# word is treated as always correct. If the value is an empty string, the word | ||
# is treated as always incorrect. | ||
|
||
# Match Identifier - Case Sensitive | ||
[default.extend-identifiers] | ||
xBA = "xBA" | ||
CDxBA = "CDxBA" | ||
DxBA = "DxBA" | ||
DCxBA = "DCxBA" | ||
falt = "falt" | ||
fo = "fo" | ||
FO = "FO" | ||
loca = "loca" | ||
loca_fmt = "loca_fmt" | ||
LOCA = "LOCA" | ||
paeth = "paeth" | ||
use_ot = "use_ot" | ||
wdth = "wdth" | ||
WDTH = "WDTH" | ||
|
||
# Match Inside a Word - Case Insensitive | ||
[default.extend-words] | ||
|
||
[files] | ||
# Include .github, .cargo, etc. | ||
ignore-hidden = false | ||
extend-exclude = [ | ||
"/src/text/lang_data.rs", | ||
"/src/text/unicode_data.rs", | ||
# /.git isn't in .gitignore, because git never tracks it. | ||
# Typos doesn't know that, though. | ||
"/.git" | ||
] |