Browse Source

Remove annoying precommit hook

master
meriadec 7 years ago
parent
commit
df954589cb
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 9
      package.json

9
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",

Loading…
Cancel
Save