eslint-config-airbnb provides a widely-used ESLint shareable config that enforces Airbnb's JavaScript style guide, including ECMAScript 6+ and React rules. The current version is 19.0.4, requiring eslint ^7.32.0 || ^8.2.0 with peer dependencies for React plugins, import plugin, and JSX accessibility plugin. It is one of the most popular ESLint configs, offering a comprehensive set of opinionated rules. Released under the MIT license, it has a stable release cadence and is actively maintained on GitHub.
npm install eslint-config-airbnbVerified import paths — ran on the pinned version, not inferred.
Shows how to install eslint-config-airbnb with peer dependencies and configure it in .eslintrc.
Upgrade ESLint to version 7.32.0 or 8.2.0+
Replace with eslint-config-airbnb-base package
Use official install command: npx install-peerdeps --dev eslint-config-airbnb
Install the correct version: npm info 'eslint-config-airbnb@latest' peerDependencies
Install eslint-plugin-react as a dev dependency
Ensure package is installed and use 'airbnb' (not full name) in extends