Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita committed Sep 12, 2024
1 parent 40a4a1a commit 21b0e47
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default [
},
rules: {
'react/react-in-jsx-scope': 'off', // Вимкнути правило для імпорту React
'react/jsx-uses-react': 'off',
},
settings: {
react: {
Expand All @@ -22,4 +23,12 @@ export default [
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
];
{
rules: {
'react/react-in-jsx-scope': 'off',
'react/jsx-uses-react': 'off', // Повторне вимкнення правила
},
},
{ignores: ['build/', 'dist/assets/index-CnMgUSrV.js', 'node_modules']},

];

0 comments on commit 21b0e47

Please sign in to comment.