Skip to content

Commit c802753

Browse files
committed
pretty-quick
1 parent 00917aa commit c802753

File tree

2 files changed

+160
-13
lines changed

2 files changed

+160
-13
lines changed

package-lock.json

Lines changed: 157 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@
6161
"fs-extra": "^8.1.0",
6262
"html-loader": "0.5.5",
6363
"html-webpack-plugin": "3.2.0",
64-
"husky": "^3.0.1",
64+
"husky": "^3.0.4",
6565
"lint-staged": "^9.2.0",
6666
"prettier": "1.18.2",
67+
"pretty-quick": "^1.11.1",
6768
"style-loader": "^1.0.0",
6869
"webpack": "^4.36.1",
6970
"webpack-cli": "^3.3.6",
@@ -72,13 +73,7 @@
7273
},
7374
"husky": {
7475
"hooks": {
75-
"pre-commit": "lint-staged"
76+
"pre-commit": "pretty-quick --staged --verbose"
7677
}
77-
},
78-
"lint-staged": {
79-
"*.{js,jsx,css,html}": [
80-
"prettier --write",
81-
"git add"
82-
]
8378
}
8479
}

0 commit comments

Comments
 (0)