Registry / testing / eslint-config-react-important-stuff

eslint-config-react-important-stuff

JSON →
library3.0.0jsnpmunverified

An ESLint shareable config focused on React bugs and JSX accessibility, excluding styling rules. Stable version 3.0.0. Maintained actively with periodic updates. Differentiates from other configs (e.g., eslint-config-react-app) by being minimal and non-opinionated about code style. Requires ESLint and React plugin peer dependencies.

npm install eslint-config-react-important-stuff
INSTALL
IMPORT
SIG · ESLINT-CONFIG-REAC
E
eslint-config-react-important-stuff
testingjavascriptv3.0.0
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.

Config
extends: ['react-important-stuff']
extends: ['eslint-config-react-important-stuff']
ESLint automatically resolves the 'eslint-config-' prefix.
Config with parser
extends: ['react-important-stuff'], parser: 'babel-eslint'
extends: ['react-important-stuff'] (without specifying parser)
Since v2, babel-eslint is not assumed; you must specify it if needed.
Config (CommonJS)
module.exports = { extends: ['react-important-stuff'] }
Works with both .eslintrc.js and .eslintrc.json.

Install the config and apply it in your ESLint configuration file.

npm install --save-dev eslint-config-react-important-stuff # Then in .eslintrc.json: { "extends": [ "react-important-stuff" ] }
Debug
Known issues
breakingUpgraded eslint-plugin-react-hooks from v2 to v4 in v3.0.0
fix
Review React Hooks ESLint plugin changelog for new rules or changed behavior.
affects: >=3.0.0
deprecatedbabel-eslint is no longer assumed as parser since v2.0.0
fix
If you need babel-eslint, set parser in your ESLint config.
affects: >=2.0.0
gotchaThis config does not include any formatting or style rules; use Prettier or a different config
fix
Install a separate config like eslint-plugin-prettier for styling.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'react' declared in 'react-important-stuff'
Missing peer dependency eslint-plugin-react
fix
npm install --save-dev eslint-plugin-react
Error: Failed to load parser 'babel-eslint'
babel-eslint not installed but config expects it (pre-v2 behavior)
fix
npm install --save-dev @babel/eslint-parser or specify a different parser
Upgrade
Version history
3.0.0latest on npm
Audit
Dependencies
eslintrequiredPeer dependency for ESLint
eslint-plugin-reactrequiredPeer dependency for React-specific rules
eslint-plugin-react-hooksrequiredPeer dependency for React Hooks rules (v4+ since v3)
Agent activity
5 hits · last 30 days
node
4
Resources
eslint-config-react-important-stuff — npm install eslint-config-react-important-stuff · libregistry