Skip to content

Commit a811002

Browse files
committed
removed cspell , instead now using typos
1 parent 6c32c35 commit a811002

File tree

8 files changed

+77
-459
lines changed

8 files changed

+77
-459
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,21 @@ on:
66

77
jobs:
88
spell-check:
9+
timeout-minutes: 5
910
name: Check spelling
1011
runs-on: ubuntu-latest
1112

1213
steps:
13-
- name: Checkout repository
14+
- name: Checkout Actions Repository
1415
uses: actions/checkout@v4
1516

16-
- name: Set up Node.js
17-
uses: actions/setup-node@v4
17+
- name: Check spelling
18+
uses: crate-ci/typos@master
1819
with:
19-
node-version: "20"
20-
21-
- name: Install cspell
22-
run: npm install -g cspell
23-
24-
- name: Run spell check
25-
run: cspell
20+
config: ./_typos.toml
2621

2722
quality:
23+
timeout-minutes: 5
2824
name: Linting and formatting
2925
runs-on: ubuntu-latest
3026

_typos.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[default]
2+
check-filename = true
3+
4+
[files]
5+
extend-exclude = [
6+
"node_modules",
7+
"www",
8+
"*.yaml",
9+
".vscode",
10+
"fastlane",
11+
"hooks",
12+
"res",
13+
"*.gradle",
14+
"plugins",
15+
"platforms",
16+
"src/lang/ar-ye.json",
17+
"src/lang/be-by.json",
18+
"src/lang/bn-bd.json",
19+
"src/lang/cs-cz.json",
20+
"src/lang/de-de.json",
21+
"src/lang/es-sv.json",
22+
"src/lang/fr-fr.json",
23+
"src/lang/hi-in.json",
24+
"src/lang/hu-hu.json",
25+
"src/lang/id-id.json",
26+
"src/lang/ir-fa.json",
27+
"src/lang/it-it.json",
28+
"src/lang/ja-jp.json",
29+
"src/lang/ko-kr.json",
30+
"src/lang/ml-in.json",
31+
"src/lang/mm-unicode.json",
32+
"src/lang/mm-zawgyi.json",
33+
"src/lang/pl-pl.json",
34+
"src/lang/pt-br.json",
35+
"src/lang/pu-in.json",
36+
"src/lang/ru-ru.json",
37+
"src/lang/tl-ph.json",
38+
"src/lang/tr-tr.json",
39+
"src/lang/uk-ua.json",
40+
"src/lang/uz-uz.json",
41+
"src/lang/vi-vn.json",
42+
"src/lang/zh-cn.json",
43+
"src/lang/zh-hant.json",
44+
"src/lang/zh-tw.json",
45+
]
46+
47+
[default.extend-words]
48+
# temporary thing to staisfy the linter
49+
strech = "strech"
50+
contaienr = "contaienr"
51+
formate = "formate"
52+
collapsable = "collapsable"
53+
styl = "styl"

0 commit comments

Comments
 (0)