Skip to content

Commit e09284b

Browse files
committed
Disable required-modules for basic mjs tests
1 parent 5e009bb commit e09284b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žtest/es-module/test-esm-forbidden-globals.mjsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../common';
1+
/* eslint-disable required-modules */
22

33
if (typeof arguments !== 'undefined') {
44
throw new Error('not an ESM');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../common';
1+
/* eslint-disable required-modules */
22

33
const isJs = true;
44
export default isJs;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! }]) // isn't js
2-
import '../common';
2+
/* eslint-disable required-modules */
33

44
const isJs = true;
55
export default isJs;

0 commit comments

Comments
Β (0)