From 5c14a0bb22ef73eeeacfff1ba69fc21d63492bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Sat, 6 Oct 2018 09:55:05 -0500 Subject: [PATCH] Prettier makes code uglier and eslint --fix exists --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 07ee739..9860904 100755 --- a/package.json +++ b/package.json @@ -61,8 +61,6 @@ "husky": "^1.1.1", "nodemon": "^1.18.4", "npm-run-all": "^4.1.3", - "prettier": "^1.14.3", - "pretty-quick": "^1.7.0", "sass": "^1.14.1", "sass-lint": "^1.12.1", "snazzy": "^8.0.0", @@ -74,7 +72,7 @@ }, "husky": { "hooks": { - "pre-commit": "pretty-quick --staged && npm run test:sass" + "pre-commit": "npm run format && npm run test:sass && git add -A :/" } }, "main": "server.js", @@ -83,6 +81,7 @@ "sasslintConfig": ".sasslintrc", "scripts": { "css": "sass --update app/sass:app/dist --style compressed", + "format": "eslint '**/*.js' --fix", "start": "npm run css && NODE_ENV=production node server", "test": "run-s test:*", "test:dependencies": "updates --update ./",