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 d759a4b + 913b158 commit 9c29d75
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 @@ -31,7 +31,7 @@
"@ckeditor/ckeditor5-typing": "^11.0.2",
"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 @@ -52,8 +52,7 @@
"theme"
],
"scripts": {
"lint": "eslint --quiet '**/*.js'",
"precommit": "lint-staged"
"lint": "eslint --quiet '**/*.js'"
},
"lint-staged": {
"**/*.js": [
Expand All @@ -63,5 +62,10 @@
"eslintIgnore": [
"src/lib/**",
"packages/**"
]
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit 9c29d75

Please sign in to comment.