Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Update Babel parser for Typescript 3.8 syntax support #296

Conversation

papermana
Copy link

Currently, stylelint-processor-styled-components does not support the new syntax from Typescript 3.8, like

export type { Foo } from './foo';

This PR fixes that.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling edc2c0a on papermana:upgrade-babel-for-typescript-3.8-support into cc685cc on styled-components:master.

@papermana
Copy link
Author

For some reason Github claims the Travis run is still pending after almost two weeks, but if you go to details, it's all green.

Does anyone know when this could be merged?

@Tokky0425
Copy link

@chinesedfan
Can you please check this PR?

@@ -79,7 +79,7 @@
"stylelint": ">= 10"
},
"dependencies": {
"@babel/parser": "^7.8.3",
"@babel/parser": "^7.10.2",
Copy link
Member

Choose a reason for hiding this comment

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

^ means 7.x. So users can use latest version(7.12.7 now) of @babel/parser.

If you are still using the old version of @babel/parser, check package-lock.json or yarn.lock of your project.

@chinesedfan
Copy link
Member

Closed as comments above. Sorry for the late review. If I misunderstood something, feel free to remind me. (cc @koba04)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants