Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Unused recursive function expressions should be flagged (fixes #… #11032
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
What changes did you make? (Give an overview)
platinumazure left a comment
Hi @sergei-startsev, thanks for the PR!
I don't have strong feelings on forEach vs map/filter (although I'll say I have no problem with map then filter).
Are there any test cases that show a recursive function not triggering this rule if it's initially called from the outside? Something like: