mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
fix: CI code style checking
This commit is contained in:

committed by
Rak Laptudirm

parent
d671327ebe
commit
0b9fad86ba
2
.github/workflows/Ci.yml
vendored
2
.github/workflows/Ci.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
- name: 💄 Code style
|
- name: 💄 Code style
|
||||||
run: npm run style
|
run: npm run check-style
|
||||||
|
|
||||||
codespell:
|
codespell:
|
||||||
name: Check for spelling errors
|
name: Check for spelling errors
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test-watch": "vitest",
|
"test-watch": "vitest",
|
||||||
"style": "npx prettier . --write",
|
"style": "npx prettier . --write",
|
||||||
|
"check-style": "npx prettier . --check",
|
||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"author": "TheAlgorithms",
|
"author": "TheAlgorithms",
|
||||||
|
Reference in New Issue
Block a user