Trending this quarter · 1 of 10
Checks for arguments that are only used in recursion with no side-effects.
function test(onlyUsedInRecursion) {
return test(onlyUsedInRecursion);
}function f(a: number): number {
if (a == 0) {
return 1
} else {
return f(a - 1)
}
}Reach is the weekly npm downloads of the presets that enable a rule: an estimate of how many installs run it, not a count of people. Trend is the change in reach over the last quarter. Many rules share the same presets and so tie on reach.