Registry / testing / eslint-config-prettier-react

eslint-config-prettier-react

JSON →
library0.0.24jsnpmunverified

An ESLint configuration preset that combines eslint-config-airbnb, eslint-config-prettier, and related plugins for a React + Prettier setup. Current version 0.0.24. Low maintenance; last updated in 2019. Key differentiator: simple one-line extend and peer dependency auto-install via install-peerdeps. Not recommended for new projects; consider eslint-config-airbnb with eslint-config-prettier separately.

testing
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.

Use the shorthand 'prettier-react', not the full package name.

{ "extends": ["prettier-react"] }

Shows how to configure ESLint with the preset and add lint scripts to package.json.

{ "scripts": { "lint": "eslint .", "lint:fix": "eslint . --fix" }, "eslintConfig": { "extends": [ "prettier-react" ] } } // Run in terminal: // npx install-peerdeps --dev eslint-config-prettier-react // eslint .
Debug
Known footguns
breakingPeer dependencies are not installed automatically by npm v7+; manual install or use install-peerdeps is required.
deprecatedPackage is outdated; no updates since 2019. ESLint and plugin versions have breaking changes.
gotchaIf you have an eslintConfig field in package.json, it will conflict with the .eslintrc file.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
9 hits · last 30 days
gptbot
4
ahrefsbot
4
script
1
Resources