Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- run: cargo fmt --check --all
- run: cargo test --package front_matter

spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- uses: crate-ci/typos@7436548694def3314aacd93ed06c721b1f91ea04 # v1.37.2

build:
runs-on: ubuntu-latest
steps:
Expand Down
41 changes: 41 additions & 0 deletions typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## See also docs: https://github.com/crate-ci/typos/blob/v1.28.2/docs/reference.md

[files]
extend-exclude = [
]

[default.extend-words]
## Add exclusions here, lines should be like `x = "x"`, where `x` is excluded word.
moreso = "moreso"

[default.extend-identifiers]
## Add exclusions here, lines should be like `x = "x"`, where `x` is excluded word.
# Package name
flate2 = "flate2"
# People's names
Schol = "Schol"
Theis = "Theis"
Cornel = "Cornel"
Signes = "Signes"
Wirth = "Wirth"
fliter = "fliter"
# User names
durin42 = "durin42"
# Don't break file links
platforms_targetted = "platforms_targetted"

[default]
extend-ignore-words-re = [
# words with length <= 4 chars is likely noise
'^[a-zA-Z]{1,4}$',
]

extend-ignore-re = [
'1\.53\.0-prelease.md', # don't break links
]

[type.svg]
check-file = false # not likely to have relevant typos but false positives

[type.minified]
check-file = false # generated content