eslint-plugin-react-compiler is a pure-CJS library ESLint loads TypeScript configs with Jiti Jiti uses @babel/plugin-transform-modules-commonjs during its Babel transform step When your config-loader.js sets interopDefault: false, the Babel plugin turns off its importInterop setting which breaks...
Summary Recently ESLint releaseddefineConfigutility to work with flat configs. Now when using recommended config fromeslint-plugin-react-compiler, a typing error appears because the severity for thereact-compiler/react-compilerrule in the .d.ts file is of typestringrather than the more specific"er...
babel-plugin-react-compiler (build issue installing or using the Babel plugin) eslint-plugin-react-compiler (build issue installing or using the eslint plugin) react-compiler-healthcheck (build issue installing or using the healthcheck script) Link to repro npm install eslint-plugin-react-compiler...
"eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.34.2", "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517", "eslint-plugin-react-compiler": "0.0.0-experimental-a97cca1-20240529", "eslint-plugin-react-hooks"...
Context The React Compiler optimizes code that follows the rules of React. In order to make it easier to write React compliant code, the React team released an ESLint plugin that reports broken React rules: eslint-plugin-react-compiler. ...
eslint-plugin-react-compiler version: 19.0.0-beta-37ed2a7-20241206 (which is the latest on NPM) Steps To Reproduce In general, to reproduce the issue, run eslint-plugin-react-compiler on a TS file that contains an import attribute. To re...
Summary According to: react/compiler/packages/eslint-plugin-react-compiler/src/index.ts Lines 10 to 15 in 028c8e6 ...