Registry / testing / eslint-config-airbnb-babel

eslint-config-airbnb-babel

JSON →
library0.2.2jsnpmunverified

An ESLint shareable config that extends Airbnb's ESLint rules to add Babel-specific support via eslint-plugin-babel. Version 0.2.2 is the latest stable release, with minimal maintenance updates. It is designed for projects using Babel alongside Airbnb's JavaScript style guide. Key differentiator: it integrates Babel-aware linting (e.g., for babel-eslint parse options) while preserving Airbnb rule strictness.

npm install eslint-config-airbnb-babel
INSTALL
IMPORT
SIG · ESLINT-CONFIG-AIRB
E
eslint-config-airbnb-babel
testingjavascriptv0.2.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
extends: ['airbnb-babel']
extends: 'airbnb-babel'
Must be placed after the base airbnb config in eslintrc extends array.

Basic configuration showing how to extend the Babel version after the main airbnb config.

// .eslintrc.json { "extends": ["airbnb", "airbnb-babel"], "rules": { "no-unused-vars": "warn" } }
Debug
Known issues
gotchaConfiguration order matters: 'airbnb-babel' must come after 'airbnb' in the extends array.
fix
Always specify the extends array with 'airbnb' first, then 'airbnb-babel'.
affects: >=0.1
deprecatedThis package is not actively maintained; newer versions of ESLint or Airbnb config may require manual adjustments.
fix
Consider using eslint-config-airbnb directly with babel-eslint parser and eslint-plugin-babel manually configured.
affects: >=0.2.2
breakingPeer dependency for eslint-plugin-babel may conflict with newer eslint versions.
fix
Ensure eslint-plugin-babel version is compatible with your ESLint version.
affects: >=0.2.2
Errors
Common errors & fixes
Error: Failed to load plugin 'babel' declared in '.eslintrc'
Missing eslint-plugin-babel dependency
fix
npm install --save-dev eslint-plugin-babel
Configuration for rule 'babel/semi' is invalid
Incompatible versions of eslint-plugin-babel and this config
fix
Update eslint-plugin-babel to >=5.0.0 or downgrade eslint-config-airbnb-babel
Upgrade
Version history
0.2.2latest on npm
Audit
Dependencies
eslintrequiredpeer dependency for ESLint runtime
eslint-plugin-babelrequiredpeer dependency providing Babel-specific rules
Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
eslint-config-airbnb-babel — npm install eslint-config-airbnb-babel · libregistry