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
Hi.
On an application that was using both lodash & UnderscoreJS (sigh) I switched to only using lodash.
Then I realized I kept some pieces of code that where using UnderscoreJS ability to chain those operations like this:
_(list).filter(() => true).each(...)
Which became after my erroneous refactoring:
_.filter(list, () => true).each(...)
Do you think it could be possible to detect the use of .each or .forEach on the value returned by lodash _.filter & _.map functions ?
.each
.forEach
_.filter
_.map
If so I am willing to contribute such rule with a PR
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
On an application that was using both lodash & UnderscoreJS (sigh)
I switched to only using lodash.
Then I realized I kept some pieces of code that where using UnderscoreJS ability to chain those operations like this:
Which became after my erroneous refactoring:
Do you think it could be possible to detect the use of
.each
or.forEach
on the value returned by lodash_.filter
&_.map
functions ?If so I am willing to contribute such rule with a PR
The text was updated successfully, but these errors were encountered: