Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

[WIP / PARKED] Ecmascript2020 support #11

Closed
wants to merge 4 commits into from

Conversation

peterhass
Copy link
Contributor

No description provided.

@peterhass peterhass requested a review from max-degterev April 20, 2020 10:20
@@ -1,5 +1,9 @@
module.exports = {
extends: ['airbnb-base'],
parser: "babel-eslint",
Copy link
Contributor Author

@peterhass peterhass Apr 20, 2020

Choose a reason for hiding this comment

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

Had to switch to babel-eslint because eslints default parser doesn't support all ECMAScript2020 features. eslint/js#441

Some packages using eslint-config-nebenan-base don't use babel at all (like
gracefultools, domain-checker, contentful-sync ...). Tried to update to newest version in gracefultools and it worked right out the box because babel-eslint lists babel as it's own dependency (will change it later versions).

babel-eslint v11.x.x (we're at 10.x.x) expects a valid babel configuration file to work.

I think in summary, I would wait a bit for espree to finish their es2020 support.

Copy link
Contributor

Choose a reason for hiding this comment

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

park this and let's wait a bit, it's probably too early to have this feature

@peterhass peterhass changed the title Ecmascript2020 support [WIP] Ecmascript2020 support Apr 20, 2020
@peterhass peterhass changed the title [WIP] Ecmascript2020 support [WIP / PARKED] Ecmascript2020 support Apr 20, 2020
@peterhass peterhass closed this Aug 11, 2020
@peterhass peterhass deleted the ecmascript2020-support branch August 11, 2020 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants