Added typos

This commit is contained in:
Mark 2025-01-19 20:13:05 -08:00
parent 5f7a8bb6b7
commit 94339372fd
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
2 changed files with 30 additions and 0 deletions

20
.github/workflows/lints.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on:
push:
branches:
- main
pull_request:
name: Lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@master
with:
config: ./typos.toml

10
typos.toml Normal file
View File

@ -0,0 +1,10 @@
[default]
extend-words."LSAT" = "LSAT"
extend-ignore-re = [
# spell:disable-line
"(?Rm)^.*(%|#|//)\\s*spell:disable-line$",
# spell:<on|off>
"(?s)(%|#|//)\\s*spell:off.*?\\n\\s*(%|#|//)\\s*spell:on",
]