File tree Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 1111 name : Lint
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4.1.1
14+ - uses : actions/checkout@v5
1515
1616 - name : Internal github app token
1717 id : token
@@ -66,15 +66,15 @@ jobs:
6666 name : Check Typos
6767 runs-on : ubuntu-latest
6868 steps :
69- - uses : actions/checkout@v4.1.1
69+ - uses : actions/checkout@v5
7070 - name : Check spelling with typos
7171 uses : crate-ci/typos@master
7272
7373 job_test :
7474 name : Test
7575 runs-on : ubuntu-latest
7676 steps :
77- - uses : actions/checkout@v4.1.1
77+ - uses : actions/checkout@v5
7878 - name : Set up Node
7979 uses : actions/setup-node@v4
8080 with :
Original file line number Diff line number Diff line change 3131 - id : eslint
3232 entry : node_modules/.bin/eslint
3333 - repo : https://github.com/crate-ci/typos
34- rev : v1.26.8
34+ rev : v1.39.0
3535 hooks :
3636 - id : typos
Original file line number Diff line number Diff line change @@ -54,3 +54,26 @@ Additionally we use prettier to format our code and markdown. Run prettier if yo
5454``` bash
5555yarn lint:prettier:fix
5656```
57+
58+ ### Running typos locally
59+
60+ We use [ typos] ( https://github.com/crate-ci/typos ) to check for spelling errors.
61+
62+ ** Option 1: Via pre-commit**
63+
64+ ``` bash
65+ make develop # Sets up pre-commit hooks
66+ pre-commit run typos --all-files
67+ ```
68+
69+ ** Option 2: Direct command**
70+
71+ First, install typos:
72+ - macOS/Linux: ` brew install typos-cli `
73+ - Cross-platform: ` cargo install typos-cli ` (requires Rust)
74+ - Or download from [ GitHub releases] ( https://github.com/crate-ci/typos/releases )
75+
76+ Then run:
77+ ``` bash
78+ yarn lint:typos
79+ ```
Original file line number Diff line number Diff line change 151151 "volta" : {
152152 "node" : " 22.16.0" ,
153153 "yarn" : " 1.22.22"
154- },
155- "packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 154+ }
156155}
You can’t perform that action at this time.
0 commit comments