Skip to content

Commit

Permalink
fix(basic): allow require imports in js file (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Apr 11, 2023
1 parent 9fde0f4 commit e28861a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/eslint-config-basic/index.js
Expand Up @@ -154,9 +154,10 @@ module.exports = {
},
},
{
files: ['*.js', '*.cjs'],
files: ['*.js', '*.cjs', '*.jsx'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},
{
Expand Down

0 comments on commit e28861a

Please sign in to comment.