An ESLint configuration preset for React and TypeScript projects, currently at version 3.0.0 (released 2023). It extends eslint-config-react-important-stuff and disables rules that conflict with TypeScript. It is a lightweight, opinionated set of rules focusing on important React patterns. Compared to alternatives like eslint-config-react-app, it is more minimal and does not include parser or plugin dependencies. Releases are infrequent and tied to upstream changes. The package has a low maintenance cadence.
npm install eslint-config-ts-react-important-stuffVerified import paths — ran on the pinned version, not inferred.
Installation and basic ESLint configuration for a TypeScript React project.
Review the upstream release notes at https://github.com/joeldenning/eslint-config-react-important-stuff/releases/tag/v3.0.0 and adjust your codebase.
Install @typescript-eslint/parser and add 'parser': '@typescript-eslint/parser' to your ESLint config.
In addition to this package, install @typescript-eslint/parser, @typescript-eslint/eslint-plugin, eslint-plugin-react, and eslint-plugin-react-hooks.
Use 'extends': ['ts-react-important-stuff'] (without the 'eslint-config-' prefix).
Run: npm install --save-dev @typescript-eslint/parser
Run: npm install --save-dev eslint-config-react-important-stuff
Check your eslint config and ensure rules are properly formatted; consider adding 'rules': { 'react/display-name': 'warn' } to override.