Added typos
This commit is contained in:
parent
5f7a8bb6b7
commit
94339372fd
20
.github/workflows/lints.yml
vendored
Normal file
20
.github/workflows/lints.yml
vendored
Normal 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
10
typos.toml
Normal 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",
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user