This config of Eslint have some standard rules for writing react code.
To install and used this config you have to follow these steps:
- Install the package in your protect
npm i @pkg-eslint
- Create a file into your project with the next name
.eslintrc.json - Set this config in your
.eslintrc.json
{
"extends": "@pkg-eslint"
}