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
no-array-method-this-argument
: Check Array.from()
#2262
Conversation
4885e24
to
2fad8ac
Compare
| ^^^^^^^^^^^^ Do not use the \`this\` argument in \`Array.from()\`.␊ | ||
␊ | ||
--------------------------------------------------------------------------------␊ | ||
Suggestion 1/2: Remove the second argument.␊ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: message need fix, it's the third, not the second argument.
Hey @fisker
@sindresorhus changelog of v51.0.0 could have added this single new responsibility of this rule in the documentation. True or false? |
Missed that, would you like to fix it? |
I don't know how to do it. Thanks though <3 @fisker |
No problem, I'll fix that. |
Fixes #2144