Skip to content

Commit

Permalink
[eslint, babel 8] Pass cwd to worker (#13526)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jul 28, 2021
1 parent d45ad50 commit 82350d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint/babel-eslint-parser/src/configuration.cjs
Expand Up @@ -10,7 +10,7 @@ exports.normalizeESLintConfig = function (options) {
} = options;

return {
babelOptions,
babelOptions: { cwd: process.cwd(), ...babelOptions },
ecmaVersion,
sourceType,
allowImportExportEverywhere,
Expand Down

0 comments on commit 82350d5

Please sign in to comment.