noRecursiveRecursion is not allowed (JPL Power of 10). Use iteration instead — a loop or explicit stack.small-rules/no-recursiveDisallow recursive function calls to prevent stack overflow.
This lint flags a call that calls itself. Luau has no tail calls. Roblox staff said so. That call can fill the stack. The Power of 10 rules also ban that kind of call, direct or not. Each path has a fixed bound. Use it when speed and safety come first.
noRecursiveRecursion is not allowed (JPL Power of 10). Use iteration instead — a loop or explicit stack.This rule accepts one options object after the severity.
function factorial(n) { if (n <= 1) return 1; return n * factorial(n - 1);}function foo() { return 1; }