fix(basic): allow require imports in js file (#169)
This commit is contained in:
parent
9fde0f404f
commit
e28861a247
@ -154,9 +154,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['*.js', '*.cjs'],
|
files: ['*.js', '*.cjs', '*.jsx'],
|
||||||
rules: {
|
rules: {
|
||||||
'@typescript-eslint/no-var-requires': 'off',
|
'@typescript-eslint/no-var-requires': 'off',
|
||||||
|
'@typescript-eslint/no-require-imports': 'off',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user