chore: fix prettier hook to only fix changed files on pre-commit hook (#1638)
* testing * update commit-staged hook to only run prettier on staged files
This commit is contained in:
Родитель
933a51c23b
Коммит
93743ead17
|
@ -73,8 +73,8 @@
|
|||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js}": [
|
||||
"lerna run prettier",
|
||||
"git add ."
|
||||
"prettier --write",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче