From df954589cb08f9ce5f27e2ea06d0107b89011f31 Mon Sep 17 00:00:00 2001 From: meriadec Date: Sun, 29 Apr 2018 18:10:34 +0200 Subject: [PATCH] Remove annoying precommit hook --- package.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/package.json b/package.json index 813463ae..68711621 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "flow": "flow", "lint": "eslint src webpack .storybook", "postinstall": "bash ./scripts/postinstall.sh", - "precommit": "lint-staged", "prettier": "prettier --write \"{src,webpack,.storybook}/**/*.js\"", "publish-storybook": "bash ./scripts/publish-storybook.sh", "release": "build", @@ -22,13 +21,6 @@ "storybook": "NODE_ENV=development STORYBOOK_ENV=1 start-storybook -s ./static -p 4444", "trans": "node scripts/trans" }, - "lint-staged": { - "*.js": [ - "eslint --fix", - "prettier --write", - "git add" - ] - }, "electronWebpack": { "title": true, "renderer": { @@ -139,7 +131,6 @@ "husky": "^0.14.3", "jest": "^22.4.3", "js-yaml": "^3.10.0", - "lint-staged": "^7.0.4", "node-loader": "^0.6.0", "prettier": "^1.12.1", "react-hot-loader": "^4.1.0",