The available modes are: ‘infer’ | ‘annotation’ | ‘all’

There is an eslint plugin to highlight violation of rules of react: npm install eslint-plugin-react-compiler

Then, add it to your eslint config:

module.exports = {  
 
plugins: [  
 
'eslint-plugin-react-compiler',  
 
],  
 
rules: {  
 
'react-compiler/react-compiler': "error",  
 
},  
 
}

sdAfs3wer34111AAA