fix(basic): allow require imports in js file (#169)

This commit is contained in:
曾明健 2023-04-11 15:50:52 +08:00 committed by GitHub
parent 9fde0f404f
commit e28861a247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
},
},
{