diff --git a/.eslintrc.js b/.eslintrc.js index 05106c19123e3d..8e988ba02e6022 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -475,6 +475,7 @@ module.exports = { rules: { 'import/no-default-export': 'error', 'import/prefer-default-export': 'off', + ...(ENABLE_REACT_COMPILER_PLUGIN ? { 'react-compiler/react-compiler': 'off' } : {}), }, }, {