This package assumes you have yarn installed in your machine. If not, make sure you install it using: npm i -g yarn
This package will install the following packages:
- eslint
- babel-eslint
- eslint-config-airbnb
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-react
-
Install the package globally.
npm install -g install-eslint
-
In the root directory of your project, run:
salhotra-eslint
The above command will also create a .eslintrc file to get you up and running.