eslint-config-react-important-stuff

raw JSON →
3.0.0 verified Sat Apr 25 auth: no javascript

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.

error Error: Failed to load plugin 'react' declared in 'react-important-stuff'
cause Missing peer dependency eslint-plugin-react
fix
npm install --save-dev eslint-plugin-react
error Error: Failed to load parser 'babel-eslint'
cause babel-eslint not installed but config expects it (pre-v2 behavior)
fix
npm install --save-dev @babel/eslint-parser or specify a different parser
breaking Upgraded 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.
deprecated babel-eslint is no longer assumed as parser since v2.0.0
fix If you need babel-eslint, set parser in your ESLint config.
gotcha This 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.
npm install eslint-config-react-important-stuff
yarn add eslint-config-react-important-stuff
pnpm add eslint-config-react-important-stuff

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"
  ]
}