Skip to content

Commit

Permalink
ci: add typo lint job
Browse files Browse the repository at this point in the history
Closes #67
  • Loading branch information
dr-orlovsky committed Oct 13, 2024
1 parent 59e41d4 commit 0f591b4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ jobs:
components: rust-docs
- name: Formatting
run: cargo +nightly doc --workspace --all-features
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
13 changes: 13 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[files]
# exclude the directory "stl/"
extend-exclude = ["stl/"]

[default.extend-words]
# Don't correct the name "Jon Atack".
Atack = "Atack"

[default]
extend-ignore-re = [
# Don't correct URIs
"([a-z]+:)*[$!0-9A-Za-z-]+",
]

0 comments on commit 0f591b4

Please sign in to comment.