@@ -2,6 +2,7 @@ import { fixupPluginRules } from '@eslint/compat';
22import js from '@eslint/js' ;
33import patternflyReact from 'eslint-plugin-patternfly-react' ;
44import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended' ;
5+ import reactCompiler from 'eslint-plugin-react-compiler' ;
56import reactHooks from 'eslint-plugin-react-hooks' ;
67import reactRecommended from 'eslint-plugin-react/configs/recommended.js' ;
78import testingLibrary from 'eslint-plugin-testing-library' ;
@@ -27,7 +28,8 @@ export default [
2728 {
2829 plugins : {
2930 'patternfly-react' : fixupPluginRules ( patternflyReact ) ,
30- 'react-hooks' : fixupPluginRules ( reactHooks )
31+ 'react-hooks' : fixupPluginRules ( reactHooks ) ,
32+ 'react-compiler' : reactCompiler
3133 } ,
3234 languageOptions : {
3335 globals : {
@@ -119,6 +121,7 @@ export default [
119121 radix : [ 'error' , 'as-needed' ] ,
120122 'react/prop-types' : 0 ,
121123 'react/display-name' : 0 ,
124+ 'react-compiler/react-compiler' : 'warn' ,
122125 'react-hooks/exhaustive-deps' : 'warn' ,
123126 'react/no-unescaped-entities' : [ 'error' , { forbid : [ '>' , '}' ] } ] ,
124127 'spaced-comment' : 'error' ,
0 commit comments