Skip to content

Commit

Permalink
chore: fix eslint config for tsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Sep 19, 2024
1 parent 32aba15 commit 4826a6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ export default tseslint.config(
},
},
{
files: ['*.tsx'],
files: ['**/*.tsx'],
rules: {
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'react/self-closing-comp': 'error',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
// 'react-hooks/rules-of-hooks': 'error',
// 'react-hooks/exhaustive-deps': 'error',
},
},
{
Expand Down

0 comments on commit 4826a6a

Please sign in to comment.