Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix eslint configuration #1348

Merged
merged 1 commit into from
Mar 18, 2020
Merged

Conversation

alexander-akait
Copy link
Member

What kind of change does this PR introduce?

chore

Did you add tests for your changes?

No need

If relevant, did you update the documentation?

No

Summary

For #1345

Does this PR introduce a breaking change?

No

Other information

webpack-cli package do not use modules, don't know why we use that configuration

@@ -1,4 +1,4 @@
module.exports = {
root: false,
parserOptions: { ecmaVersion: 2020, sourceType: 'module' },
parserOptions: { ecmaVersion: 2020, sourceType: 'script' },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

script is default, removing also works

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default root config contains parserOptions: { ecmaVersion: 2020, sourceType: 'module' }, so I override it, in future we should revisit eslint configuration, I think now we can avoid it to continue development

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, good catch!

@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@alexander-akait alexander-akait merged commit 106f105 into next Mar 18, 2020
@alexander-akait alexander-akait deleted the chore-fix-eslint-configuration branch March 18, 2020 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants