-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
esversion beyond 11 #3645
Comments
re: E054 Line 72 in 0a5644f
Line 3020 in 0a5644f
class Test {
static prop = 'value';
} Would this work? if (state.tokens.next.value !== "(" && state.tokens.next.value !== "=") {
error("E054", state.tokens.next, state.tokens.next.value);
advance(); |
I too am wondering why jshint supports only up to esversion 11 . doesnt seem to accept 12 or 13 in the .jshintrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed Static initialization blocks (FF93 (Released 2021-10-05) Ch94 ECMAScript 2022 aka ES13) cause error in JSHint.
Changing
esversion
option to 13 didn't make any difference.Is there support for ES12-13?
Also:
Public class fields (FF69 (Released 2019-09-03)) also cause an error.
Previously: #3139, #3361
The text was updated successfully, but these errors were encountered: