Skip to content

Commit

Permalink
feat: allow require() in cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 28, 2023
1 parent 44bcb19 commit f45a0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basic/index.js
Expand Up @@ -142,7 +142,7 @@ module.exports = {
},
},
{
files: ['*.js'],
files: ['*.js', '*.cjs'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
Expand Down

0 comments on commit f45a0d9

Please sign in to comment.