Skip to content

Commit ac2df0a

Browse files
committed
Lint mjs files with Node globals
1 parent 0537522 commit ac2df0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ export default [
5555
},
5656
},
5757

58-
/* 4 - ES-module / browser (*.js) */
58+
/* 4 - ES-module / browser (*.js, *.mjs) */
5959
{
60-
files: ['**/*.js'],
60+
files: ['**/*.js', '**/*.mjs'],
6161
plugins: { n: nodePlugin, import: importPlugin },
6262
languageOptions: { ecmaVersion: 'latest', sourceType: 'module', globals: { ...nodeGlobals, ...browserGlobals } },
6363
rules: {

0 commit comments

Comments
 (0)