O'Reilly logo

React 16 Tooling by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building on Airbnb standards

Organizations that have large JavaScript code bases have invested heavily in code quality tools. This includes investments in configuring tools like ESLint. The great part about using a standard set of configuration values for enforcing code quality is that you don't have any discrepancies between developers due to a slight configuration difference.

ESLint allows you to install and use npm packages as configuration settings to use and extend. A popular choice is the Airbnb standard. Let's use the ESLint init tool again to get started with Airbnb JavaScript code quality standards. First, run the init tool again:

npm run lint -- --init

The first question asks you how you want to configure ESLint. Instead of answering ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required