"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
},
"lint-staged": {
"*": [
"eslint --cache --fix",
"prettier --write --cache --ignore-unknown"
]
}
if :
git commit -m "...."
will brek error:
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Cannot read properties of undefined (reading '/home/shuang/Desktop/project/gui')