Skip to content

Commit a89800b

Browse files
authored
Typos config and ci (#523)
* typos configuration file * typos CI
1 parent 2b6172e commit a89800b

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/typos.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Typos Check
2+
on:
3+
pull_request:
4+
workflow_dispatch:
5+
6+
jobs:
7+
run:
8+
name: Spell Check with Typos
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Actions Repository
12+
uses: actions/checkout@v4
13+
14+
- name: Check spelling
15+
uses: crate-ci/typos@master
16+
with:
17+
config: ./_typos.toml

_typos.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[default]
2+
extend-ignore-identifiers-re = ["catched", "2nd", "ser"]
3+
4+
[default.extend-words]
5+
thr = "thr"
6+
aas = "aas"

0 commit comments

Comments
 (0)