Our default export contains ESlint rules, including ECMAScript 6+ and React.
https://www.npmjs.com/package/@eddlondon/eslint-config-react
npm install npm@latest -g
npm install --global yarn
eslint extension
npm i @eddlondon/eslint-config-react
yarn add @eddlondon/eslint-config-react
- create a file called
.eslintrc.json
in root directory of application - paste the following snippet
{ extends: ['@eddlondon/eslint-config-react'];}
run the following command
npm run push-minor
yarn push-minor