feat: allow require() in cjs
This commit is contained in:
parent
44bcb19269
commit
f45a0d9bd3
@ -142,7 +142,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['*.js'],
|
files: ['*.js', '*.cjs'],
|
||||||
rules: {
|
rules: {
|
||||||
'@typescript-eslint/no-var-requires': 'off',
|
'@typescript-eslint/no-var-requires': 'off',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user