Skip to content

Commit d7ff146

Browse files
committed
Add husky to enforce spellcheck as a pre-commit hook.
1 parent 6f49a7e commit d7ff146

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn spellcheck

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"@docusaurus/tsconfig": "3.7.0",
5858
"@docusaurus/types": "^3.7.0",
5959
"cspell": "^8.19.4",
60+
"husky": "^9.1.7",
6061
"jest": "^27.4.7",
6162
"onchange": "^7.1.0",
6263
"ts-node": "^10.7.0",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9831,6 +9831,11 @@ human-signals@^2.1.0:
98319831
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
98329832
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
98339833

9834+
husky@^9.1.7:
9835+
version "9.1.7"
9836+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.7.tgz#d46a38035d101b46a70456a850ff4201344c0b2d"
9837+
integrity sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==
9838+
98349839
98359840
version "0.4.24"
98369841
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"

0 commit comments

Comments
 (0)