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

[Bug] Babel Static triggers parsing error #980

Closed
HACKHERS opened this issue Aug 30, 2017 · 1 comment

Comments

@HACKHERS
Copy link

commented Aug 30, 2017

Hello,

I tried to fix the problem but I think they are not supported. I can't find any way around that. Babel plugin that I use: babel-plugin-transform-class-properties

Code:

class Translative {

    static instance;

Error: standard: Use JavaScript Standard Style (https://standardjs.com)
Translative.js:8:20: Parsing error: Unexpected token ;

Any ideas?

@Flet

This comment has been minimized.

Copy link
Member

commented Nov 7, 2017

Ah, it looks like you'll need to use babel-eslint to parse this code.

https://standardjs.com/#how-do-i-use-experimental-javascript-es-next-features

@Flet Flet closed this Nov 7, 2017

@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.