fix pre-commit issue with partial commits

This commit is contained in:
Denys Vuika
2019-01-14 20:32:38 +00:00
parent b50d7bd5e3
commit 0471b783a4
+1 -2
View File
@@ -107,8 +107,7 @@
},
"lint-staged": {
"*.{ts,js,css,scss,html}": [
"prettier --single-quote --write",
"git add"
"prettier --single-quote --write"
]
},
"pre-commit": "lint:staged"