Skip to content

Commit 7bd2fbb

Browse files
committed
add typos
typos Signed-off-by: Alex Apostolescu <[email protected]>
1 parent dcdb9df commit 7bd2fbb

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/.typos.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[default]
2+
# ```(console)?[\\s\\S]+?``` -> Ignore fenced sequences
3+
# -\\w+|--\\w+ -> Ignore command flags
4+
extend-ignore-re= ["```(console)?[\\s\\S]+?```", "-\\w+|--\\w+"]
5+
[files]
6+
extend-exclude = ["*.svg", "*.drawio"]
7+
[default.extend-words]
8+
# word1 = "word2" to correct word1 to word2
9+
# word3 = "word3" to consider word3 a valid word
10+
VAS = "VAS"

.github/workflows/actions.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ jobs:
2424
with:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

27-
misspell:
28-
name: misspell
27+
typos:
28+
name: Typos
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v4
32-
- name: misspell
33-
uses: reviewdog/action-misspell@v1
32+
- name: Typos
33+
uses: crate-ci/typos@v1.28.3
3434
with:
35-
locale: "US"
36-
level: "info"
35+
config: .github/.typos.toml

0 commit comments

Comments
 (0)