Skip to content

Commit f24919f

Browse files
committed
make husky work for everyone
1 parent 9fbcef6 commit f24919f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.husky/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
# Add hooks here
5+
npx husky add .husky/pre-push 'pnpm fix'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"fix": "eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm breadcrumbs && pnpm fix-redirects && pnpm metadata-batch-cli",
99
"spellcheck:lint": "cspell lint \"**/*.mdx\"",
1010
"spellcheck:fix": "cspell --words-only --unique \"**/*.mdx\" | sort --ignore-case | uniq > words.txt",
11+
"prepare": "husky install",
1112
"breadcrumbs": "NODE_NO_WARNINGS=1 node --loader ts-node/esm utils/create-breadcrumbs.ts",
1213
"check-breadcrumbs": "NODE_NO_WARNINGS=1 node --loader ts-node/esm utils/breadcrumbs.ts",
1314
"check-redirects": "NODE_NO_WARNINGS=1 node --loader ts-node/esm utils/redirects.ts",

words.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ inator
172172
INFLUXDBV
173173
influxdbv
174174
initcode
175-
interopble
176175
IPCDISABLE
177176
ipcdisable
178177
ipcfile
@@ -273,6 +272,7 @@ Pausability
273272
pausable
274273
pcscdpath
275274
Pectra
275+
pectra
276276
Pectra's
277277
Peerstore
278278
peerstore
@@ -388,6 +388,7 @@ Superchain
388388
superchain
389389
Superchain's
390390
Superchainerc
391+
superchainerc
391392
Superlend
392393
Superloans
393394
Superscan

0 commit comments

Comments
 (0)