Registry / testing / eslint-config-airbnb-prettier

eslint-config-airbnb-prettier

JSON →
library1.1.0jsnpmunverified

Combines Airbnb's ESLint configuration with Prettier formatting to provide a consistent code style without conflicts. Version 1.1.0 is the latest stable release, published as a simple one-off package. It bundles eslint-config-prettier to disable Airbnb rules that would conflict with Prettier. Note that this package has not been updated since 2018 and relies on deprecated ESLint 4.x, making it unsuitable for modern ESLint 5+ or React 17 projects. Alternatives include using eslint-config-airbnb directly with eslint-config-prettier, or adopting standardized configs.

npm install eslint-config-airbnb-prettier
INSTALL
IMPORT
SIG · ESLINT-CONFIG-AIRB
E
eslint-config-airbnb-prettier
testingjavascriptv1.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

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

default config
✓ extends: ['airbnb-prettier']
✗ extends: ['airbnb/prettier']
The config is published under the name 'eslint-config-airbnb-prettier', so the extends value is 'airbnb-prettier'. Using 'airbnb/prettier' would try to load a sub-config from eslint-config-airbnb, which does not exist.

Shows how to install and configure eslint-config-airbnb-prettier in an .eslintrc.json file, enabling Airbnb rules with Prettier conflict resolution.

// Install dependencies // npm install --save-dev eslint eslint-config-airbnb-prettier // .eslintrc.json { "extends": [ "airbnb-prettier" ], "rules": {} } // Run lint // npx eslint src/
Debug
Known issues
deprecatedThis package is no longer maintained and relies on ESLint 4.x, which is deprecated.
fix
Use eslint-config-airbnb with eslint-config-prettier separately to support modern ESLint versions.
affects: >=1.0.0
breakingESLint 4.x peer dependency prevents usage with ESLint 5+.
fix
Downgrade to ESLint 4.x or switch to alternative config setup.
affects: >=1.0.0
gotchaThe extends value must be 'airbnb-prettier', not 'airbnb/prettier'.
fix
Set extends to 'airbnb-prettier'.
affects: >=1.0.0
Errors
Common errors & fixes
ESLint couldn't find the config "airbnb-prettier".
Missing or incorrectly installed eslint-config-airbnb-prettier package.
fix
Ensure the package is installed: npm install --save-dev eslint-config-airbnb-prettier
Cannot find module 'eslint-config-airbnb'
eslint-config-airbnb is a transitive dependency but not installed due to npm peer dependency issues.
fix
Install eslint-config-airbnb manually: npm install --save-dev eslint-config-airbnb
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency for ESLint version 4.18.1 or higher to resolve lint rules
Agent activity
6 hits · last 30 days
node
6
Resources
eslint-config-airbnb-prettier — npm install eslint-config-airbnb-prettier · libregistry