mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-18 12:33:22 +00:00
chore: update to react 19 and add react compiler
This commit is contained in:
@@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user