Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 200f4b0

Browse files
committed
Internal: Upgraded husky and the pre-commit hook configuration (see: ckeditor/ckeditor#1492).
2 parents 5c1602c + 5c3c6ed commit 200f4b0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@ckeditor/ckeditor5-undo": "^10.0.4",
2727
"eslint": "^5.5.0",
2828
"eslint-config-ckeditor5": "^1.0.9",
29-
"husky": "^0.14.3",
29+
"husky": "^1.3.1",
3030
"lint-staged": "^7.0.0"
3131
},
3232
"engines": {
@@ -47,8 +47,7 @@
4747
"theme"
4848
],
4949
"scripts": {
50-
"lint": "eslint --quiet '**/*.js'",
51-
"precommit": "lint-staged"
50+
"lint": "eslint --quiet '**/*.js'"
5251
},
5352
"lint-staged": {
5453
"**/*.js": [
@@ -58,5 +57,10 @@
5857
"eslintIgnore": [
5958
"src/lib/**",
6059
"packages/**"
61-
]
60+
],
61+
"husky": {
62+
"hooks": {
63+
"pre-commit": "lint-staged"
64+
}
65+
}
6266
}

0 commit comments

Comments
 (0)