Run tests in a native Node.js ESM environment (#13966)

This commit is contained in:
Nicolò Ribaudo
2021-12-03 15:32:58 +01:00
committed by GitHub
parent 578ab22fb7
commit 2d989a983d
159 changed files with 1283 additions and 611 deletions

View File

@@ -0,0 +1 @@
{ "type": "module" }

View File

@@ -0,0 +1 @@
{ "type": "module" }

View File

@@ -0,0 +1 @@
{ "type": "module" }

View File

@@ -0,0 +1 @@
{ "type": "module" }

View File

@@ -0,0 +1 @@
{ "type": "commonjs" }

View File

@@ -31,7 +31,7 @@ export default function verifyAndAssertMessages(
"../../../babel-eslint-shared-fixtures/config/babel.config.js",
),
},
...overrideConfig?.parserOptions,
...(overrideConfig && overrideConfig.parserOptions),
},
});

View File

@@ -0,0 +1 @@
{ "type": "module" }