Skip to content

Commit ba86df9

Browse files
committed
chore: add cSpell commit hook
1 parent 6a9e1fa commit ba86df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
5454
"pretty": "prettier --loglevel warn --write \"lib/**/*.{js,json}\" \"test/*.js\"",
5555
"pretest": "yarn lint",
56-
"spelling": "cspell \"**/*.*\"",
56+
"spelling": "cspell \"**\"",
5757
"test:only": "jest",
5858
"test:watch": "yarn test:only -- --watch",
5959
"test:coverage": "yarn test:only -- --collectCoverageFrom=\"lib/**/*.js\" --coverage",
@@ -62,6 +62,7 @@
6262
"prepare": "husky install"
6363
},
6464
"lint-staged": {
65+
"*": "cspell",
6566
"*.js": "eslint --cache"
6667
},
6768
"repository": {

0 commit comments

Comments
 (0)