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

Commit

Permalink
Internal: Upgraded husky and the pre-commit hook configuration (see: …
Browse files Browse the repository at this point in the history
…ckeditor/ckeditor#1492).
  • Loading branch information
oleq committed Jan 31, 2019
2 parents b54105b + 581eda7 commit 2988159
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@ckeditor/ckeditor5-undo": "^10.0.4",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^1.0.9",
"husky": "^0.14.3",
"husky": "^1.3.1",
"lint-staged": "^7.0.0"
},
"engines": {
Expand All @@ -47,8 +47,7 @@
"theme"
],
"scripts": {
"lint": "eslint --quiet '**/*.js'",
"precommit": "lint-staged"
"lint": "eslint --quiet '**/*.js'"
},
"lint-staged": {
"**/*.js": [
Expand All @@ -58,5 +57,10 @@
"eslintIgnore": [
"src/lib/**",
"packages/**"
]
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit 2988159

Please sign in to comment.