When I execute git commit -m "commit message"
command, lint-staged shows this error:
My configuration in package.json:
"husky": {
"hooks": {
"pre-commit": "npm run validate && lint-staged"
}
},
"lint-staged": {
"*.+(js|ts|tsx)": [
"eslint"
],
"**/*.+(js|json|ts|tsx)": [
"prettier --write"
]
},
It works fine on mac but windows-10 shows this error. Can anyone tell me what's going wrong with windows?