Files
calendar/companion/eslint.config.mjs
Dhairyashil ShindeandGitHub 4036fb6d08 feat(companion): react compiler (#26221)
* react compiler

* remove compilation mode 'all', it will use infer by default
2025-12-27 16:06:00 -03:00

44 lines
853 B
JavaScript

import reactCompiler from 'eslint-plugin-react-compiler';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
files: ['**/*.{js,jsx,ts,tsx}'],
plugins: {
'react-compiler': reactCompiler,
},
languageOptions: {
parser: tseslint.parser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
},
rules: {
'react-compiler/react-compiler': 'error',
},
},
{
ignores: [
'node_modules/**',
'dist/**',
'.expo/**',
'.wxt/**',
'.output/**',
'android/**',
'ios/**',
'extension/**',
'**/*.generated.*',
'**/*.d.ts',
'babel.config.js',
'metro.config.js',
'tailwind.config.js',
'wxt.config.ts',
],
}
);