feat: allow require() in cjs

This commit is contained in:
Anthony Fu 2023-01-29 00:35:25 +01:00
parent 44bcb19269
commit f45a0d9bd3

View File

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