npm i -D eslint eslint-plugin-react eslint-plugin-react-hooks prettier eslint-plugin-prettier eslint-config-prettier
- Place the
.vscode
andeslint
folders together with the.eslintignore
,.eslintrc
and.prettierrc
files in the root of the project.
- Customize to your preference