Airbnb React/JSX Style Guide is the most popular style guide for coding in React. In this recipe, we are going to implement the ESLint with the Airbnb React/JSX Style Guide rules.
Implementing Airbnb React/JSX Style Guide
Getting ready
To implement the Airbnb React/JSX Style Guide, we need to install some packages, such as eslint, eslint-config-airbnb, eslint-plugin-babel, and eslint-plugin-react.
I don't like to force anyone to use a specific IDE, but I would like to recommend some of the best editors to work with React.
- Atom - https://atom.io
- In my personal opinion, Atom is the best IDE for working with React. For this recipe, we are going to use Atom.
- Pros:
- MIT License (open source)
- Easy to install and...