Bad format of package.json commands
tomaszs opened this issue · comments
Tomasz Smykowski commented
Package.json of the generated project contains such commands:
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"prettier": "prettier --write '**/*.{js,jsx,ts,tsx}'",
These won't work at least on Windows / Bash.
To fix it you'd have to remove single quotes:
"lint": "eslint **/*.{js,jsx,ts,tsx}",
"prettier": "prettier --write **/*.{js,jsx,ts,tsx}",
In both commands
Batuhan Wilhelm commented
Hello @tomaszs Feel free to create a PR.