From ae2d330afbe68b837dc30f0d07d3afbbc96cbf0f Mon Sep 17 00:00:00 2001 From: Kamil Piechaczek Date: Thu, 31 Jan 2019 15:12:16 +0100 Subject: [PATCH] Upgraded version of husky. --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f446471..01e3de4 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -47,8 +47,7 @@ "theme" ], "scripts": { - "lint": "eslint --quiet '**/*.js'", - "precommit": "lint-staged" + "lint": "eslint --quiet '**/*.js'" }, "lint-staged": { "**/*.js": [ @@ -58,5 +57,10 @@ "eslintIgnore": [ "src/lib/**", "packages/**" - ] + ], + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + } }