We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
esversion
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:
re: E054
jshint/src/messages.js
Line 72 in 0a5644f
jshint/src/jshint.js
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();
Sorry, something went wrong.
I too am wondering why jshint supports only up to esversion 11 . doesnt seem to accept 12 or 13 in the .jshintrc thanks.
No branches or pull requests
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: