Let's install ESLint and run its initiation wizard:
$ yarn add eslint --dev$ npx eslint --init? How would you like to configure ESLint? Use a popular style guide Answer questions about your style Inspect your JavaScript file(s)
For this project, we are going to be using Airbnb's JavaScript style guide, which you can find at https://github.com/airbnb/javascript. Therefore, use your arrow keys to select the Use a popular style guide option, and press the Return key. On the next question, select the Airbnb option:
? Which style guide do you want to follow? (Use arrow keys) Airbnb (https://github.com/airbnb/javascript) Standard ...