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
built-in ES6 typedArray names #2920
Comments
Thanks for the report! You're right: we need to extend the global identifiers for ES2015 environments. In the mean time, you may use the |
@jugglinmike && @leobalter if no one has started on this I would like to make a PR for this issue. From what I understand we would just need to add Line 44 in b1c8d5b
Let me know if I can take this one and if this seems like the correct general approach. Thank you |
This is the list: Lines 540 to 553 in b1c8d5b
The only item that is not an ES6 global is ArrayBufferView, the others are valid globals. |
Sorry misunderstood, thank you, so then |
actually is the opposite. The items that should be added to
|
Got it, thank you will have a PR open in the next day or so |
@leobalter && @jugglinmike PR open for this issue, let me know if anything else is needed. Thank you |
Resolved via gh-2995. |
With the exception of
ArrayBufferView
the typedArray global names (includingArrayBuffer
andDataView
) should be considered when settingesversion: 6
.Ref:
jshint/src/jshint.js
Lines 211 to 213 in b1c8d5b
The text was updated successfully, but these errors were encountered: