Skip to content

Commit e0566e8

Browse files
authored
Update eslint.config.mjs
1 parent ee29fb9 commit e0566e8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

eslint.config.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,31 +346,31 @@ export default [
346346
'error',
347347
{
348348
name: '__filename',
349-
message: 'Use import.meta.url instead',
349+
message: 'Use import.meta.url instead.',
350350
},
351351
{
352352
name: '__dirname',
353-
message: 'Not available in ESM',
353+
message: 'Not available in ESM.',
354354
},
355355
{
356356
name: 'exports',
357-
message: 'Not available in ESM',
357+
message: 'Not available in ESM.',
358358
},
359359
{
360360
name: 'module',
361-
message: 'Not available in ESM',
361+
message: "'module' must be imported in ESM.",
362362
},
363363
{
364364
name: 'require',
365-
message: 'Use import instead',
365+
message: 'Use import instead.',
366366
},
367367
{
368368
name: 'Buffer',
369-
message: 'Import \'node:buffer\' instead of using the global',
369+
message: "Import 'Buffer' instead of using the global.',
370370
},
371371
{
372372
name: 'process',
373-
message: 'Import \'node:process\' instead of using the global',
373+
message: "Import 'process' instead of using the global.",
374374
},
375375
] },
376376
},

0 commit comments

Comments
 (0)