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

Supporting experimental language features #658

Closed
treshugart opened this issue Oct 12, 2016 · 3 comments

Comments

@treshugart
Copy link

commented Oct 12, 2016

I'm wondering what the best way to support a feature such as property initialisers, where it's a syntax error without using the specific babel plugin. I've tried specifying the babel-eslint parser, but you also need to be able to explicitly enable the babel-plugin-transform-class-properties plugin. I believe it's now at stage 2, so I don't think it's too far out of line to want to use.

@feross feross added the question label Oct 12, 2016

@feross

This comment has been minimized.

Copy link
Member

commented Oct 12, 2016

Just enable that plugin in your .babelrc and the babel-eslint parser will pick it up.

@feross feross closed this Oct 12, 2016

@treshugart

This comment has been minimized.

Copy link
Author

commented Oct 12, 2016

That moment when you realise the solution was right under your nose :p

Thank you and sorry for wasting your time!

@feross

This comment has been minimized.

Copy link
Member

commented Oct 12, 2016

No problem 😀

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.