[eslint, babel 8] Pass cwd to worker (#13526)

This commit is contained in:
Nicolò Ribaudo 2021-07-28 23:12:19 +02:00 committed by GitHub
parent d45ad500e7
commit 82350d529b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ exports.normalizeESLintConfig = function (options) {
} = options;
return {
babelOptions,
babelOptions: { cwd: process.cwd(), ...babelOptions },
ecmaVersion,
sourceType,
allowImportExportEverywhere,