Skip to content

Commit dafc63b

Browse files
Merge branch 'master' into lint-script-windows
2 parents c83cf30 + 0b6ec16 commit dafc63b

File tree

3 files changed

+24
-140
lines changed

3 files changed

+24
-140
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run lint

package-lock.json

Lines changed: 17 additions & 137 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@
2929
"@cypress/eslint-plugin-json": "3.2.1",
3030
"condition-circle": "2.0.2",
3131
"eslint": "^5.7.0",
32-
"husky": "^3.0.0",
32+
"husky": "^8.0.3",
3333
"jest": "^24.8.0",
3434
"semantic-release": "15.13.18"
3535
},
3636
"scripts": {
37-
"precommit": "npm run lint",
3837
"lint": "eslint \"*.js\" \"**/**/*.js\"",
3938
"lint-fix": "npm run lint -- --fix",
4039
"semantic-release": "semantic-release",
4140
"start": "yarn run test-watch",
4241
"test": "jest",
4342
"test:v4": "npm i [email protected] && npm run test",
4443
"test:v6": "npm i [email protected] && npm run test",
45-
"test-watch": "jest --watchAll"
44+
"test-watch": "jest --watchAll",
45+
"prepare": "husky install"
4646
},
4747
"jest": {
4848
"testMatch": [

0 commit comments

Comments
 (0)