chore: update to react 19 and add react compiler

This commit is contained in:
2024-05-16 21:45:58 +02:00
parent 70227b3e46
commit 4c4a3a8fca
5 changed files with 1475 additions and 543 deletions

View File

@@ -1,16 +1,18 @@
module.exports = {
extends: ['@it-incubator/eslint-config', 'plugin:storybook/recommended'],
plugins: ['myPlugin'],
rules: {
'myPlugin/no-wrong-redux-import': 'error',
},
overrides: [
{
files: ['**/*.stories.tsx'],
rules: {
'react-hooks/rules-of-hooks': 'off',
'no-console': 'off',
'react-hooks/rules-of-hooks': 'off',
},
},
],
plugins: [
'eslint-plugin-react-compiler',
],
rules: {
'react-compiler/react-compiler': "error",
},
}