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

Parsing error for static class variables #273

Closed
Steinmetz18 opened this issue Jun 23, 2022 · 1 comment · Fixed by #274
Closed

Parsing error for static class variables #273

Steinmetz18 opened this issue Jun 23, 2022 · 1 comment · Fixed by #274

Comments

@Steinmetz18
Copy link

Steinmetz18 commented Jun 23, 2022

What version of this package are you using?
16.0.1 Latest

What operating system, Node.js, and npm version?
Windows, node v16.13.1, npm v8.1.2

What happened?
Semistandard considers static variables on a class as : "Parsing error: Unexpected token ="
parseError

What did you expect to happen?
In standard there is no Parse error. ES6 should allow static variables on classes.
noError

I can't disable this error with /* eslint-disable */

Are you willing to submit a pull request to fix this bug?
Not sure where to look to figure out how/why this is different.

@voxpelli
Copy link
Member

Working on releasing a new 17.0.0 that will fix this. See #274. Maybe can have it completed today.

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

Successfully merging a pull request may close this issue.

2 participants