Registry / testing / eslint-config-reactjs

eslint-config-reactjs

JSON →
library1.3.0jsnpmunverified

ESLint shareable config for React projects, version 1.3.0. Provides a set of lint rules based on JavaScript Standard Style and plugins for React and objects. Released irregularly (last v1.3.0 in 2016). Requires manual installation of peer dependencies (eslint-plugin-react, eslint-plugin-objects, eslint-config-standard). Differentiates by integrating Standard Style with React-specific rules; however, the package is no longer actively maintained and may not support modern React/ESLint versions.

npm install eslint-config-reactjs
INSTALL
IMPORT
SIG · ESLINT-CONFIG-REAC
E
eslint-config-reactjs
testingjavascriptv1.3.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.

config (via extends)
✓ { "extends": "reactjs" }
✗ { "extends": "eslint-config-reactjs" }
In .eslintrc, extends expects the short name when package starts with eslint-config-.
peer deps installation
✓ npm install --save-dev eslint-config-reactjs eslint-plugin-react eslint-plugin-objects eslint-config-standard
✗ npm install --save-dev eslint-config-reactjs
Failing to install peer deps will cause ESLint to throw errors at runtime.
ESLint version compatibility
✓ Use ESLint v2.x (tested up to v2.x, as per migration in v1.1.0)
✗ ESLint v3+ (some rules may be removed or renamed)
This config is designed for ESLint v2; later versions may have incompatibilities.

Minimal .eslintrc configuration to extend eslint-config-reactjs with React and objects plugin rules enabled.

{ "extends": "reactjs", "plugins": ["react", "objects"], "rules": { "react/jsx-uses-react": 2, "react/react-in-jsx-scope": 2 } }
Debug
Known issues
deprecatedPackage has not been updated since v1.3.0 (2016); may not support modern ESLint (v3+), React, or JavaScript features.
fix
Consider using eslint-config-react-app or eslint-config-airbnb for modern React projects.
affects: >=1.0.0
breakingMigration to ESLint v2 in v1.1.0 changed rule names and behavior; configs for ESLint v1 are incompatible.
fix
Use ESLint v2 or later; update any custom rules to match ESLint v2 conventions.
affects: >=1.1.0
breakingIn v1.3.0, the rule react/jsx-no-bind was removed; code relying on it may pass uncaught.
fix
If you need the rule, add it manually: "react/jsx-no-bind": 2
affects: 1.3.0
Errors
Common errors & fixes
ESLint couldn't find the plugin "eslint-plugin-react"
Peer dependency eslint-plugin-react is not installed.
fix
npm install --save-dev eslint-plugin-react
Error while loading rule 'react/wrap-multilines': Rule is not found
The rule 'react/wrap-multilines' was renamed in eslint-plugin-react; config references deprecated name.
fix
Update eslint-plugin-react or use a newer config version (v1.2.1+).
Upgrade
Version history
1.3.0latest on npm
Audit
Dependencies
eslint-plugin-reactrequiredRequired for React-specific lint rules (JSX, lifecycle methods, etc.)
eslint-plugin-objectsrequiredRequired for object property lint rules
eslint-config-standardrequiredBase config providing JavaScript Standard Style rules
Agent activity
6 hits · last 30 days
node
6
Resources
eslint-config-reactjs — npm install eslint-config-reactjs · libregistry