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
no-array-prototype-at
no-string-prototype-at
Please describe what the rule should do:
Array.prototype.at
.prototype.at
String.prototype.at
These methods will be added in ES2022.
https://github.com/tc39/proposal-relative-indexing-method
Provide 2-3 code examples that this rule will warn about:
var e = array.at(-1); var e = typedArray.at(-1); var c = string.at(-1);
Do you think we should rename the rule and to check both arrays and strings?
The text was updated successfully, but these errors were encountered:
es/no-array-string-prototype-at
Successfully merging a pull request may close this issue.
Please describe what the rule should do:
no-array-prototype-at
... DisallowArray.prototype.at
and TypedArray.prototype.at
method.no-string-prototype-at
... DisallowString.prototype.at
method.These methods will be added in ES2022.
https://github.com/tc39/proposal-relative-indexing-method
Provide 2-3 code examples that this rule will warn about:
Do you think we should rename the rule and to check both arrays and strings?
The text was updated successfully, but these errors were encountered: