You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, JSHint configuration accepts at most "esversion": 11 and such an assignment is specified in ECMAScript 12 (2021), see here. But JSHint crashes with:
XYZ\AppData\Roaming\npm\node_modules\jshint\src\jshint.js:6657
throw err;
^
TypeError: Cannot read properties of undefined (reading 'paren')
at XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:2453:16
at Object.x.led (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:1345:16)
at expression (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:1007:36)
at statement (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:1960:9)
at statements (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:2014:16)
at itself (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\jshint.js:6635:9)
at lint (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\cli.js:495:8)
at XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\cli.js:665:7
at Array.forEach (<anonymous>)
at Object.run (XYZ\AppData\Roaming\npm\node_modules\←[4mjshint←[24m\src\cli.js:651:11)
Node.js v17.0.1
If this is regarded as a request to support ES 2021, then so be it.
The text was updated successfully, but these errors were encountered:
Hi there! JSHint mostly tracks language support at the granularity of individual features rather than revisions of ECMAScript. Since support for logical assignment has already been requested via gh-3544, I'm going to close this issue to keep things organized.
Here is a file submitted to JSHint 2.13.1:
Indeed, JSHint configuration accepts at most
"esversion": 11
and such an assignment is specified in ECMAScript 12 (2021), see here. But JSHint crashes with:If this is regarded as a request to support ES 2021, then so be it.
The text was updated successfully, but these errors were encountered: