Add Prettier & ESLint to VS Code with a Create React App
{ | |
"scripts": { | |
"precommit": "pretty-quick --staged" | |
}, | |
"devDependencies": { | |
"eslint-config-prettier": "^2.9.0", | |
"eslint-plugin-prettier": "^2.6.0", | |
"prettier": "^1.11.1", | |
"pretty-quick": "^1.4.1" | |
} | |
} |
{ | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"eslint.autoFixOnSave": true, | |
"eslint.alwaysShowStatus": true, | |
"prettier.disableLanguages": [ | |
"js" | |
], | |
"files.autoSave": "onFocusChange", | |
} |
This comment has been minimized.
This comment has been minimized.
{" "} I got {" "} every where in my code how to fix this i just copy and paste exactly what you gave above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Should I have to eject the "react-script" for this implementation?