Skip to content

Commit e28861a

Browse files
authoredApr 11, 2023
fix(basic): allow require imports in js file (#169)
1 parent 9fde0f4 commit e28861a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎packages/eslint-config-basic/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ module.exports = {
154154
},
155155
},
156156
{
157-
files: ['*.js', '*.cjs'],
157+
files: ['*.js', '*.cjs', '*.jsx'],
158158
rules: {
159159
'@typescript-eslint/no-var-requires': 'off',
160+
'@typescript-eslint/no-require-imports': 'off',
160161
},
161162
},
162163
{

0 commit comments

Comments
 (0)
Please sign in to comment.