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
In the docs for oxc/only used in recursion, there's the following case:
function f(a: number, b: number): number { if (a == 0) { return 1 } else { return f(a - 1, b + 1) } }
this doesn't report an error if you run this code against the lint rule 😅
to complete this issue we should make it report the error for this case.
The text was updated successfully, but these errors were encountered:
I wonder if we should have our (almost added) documentation tests run the lint rule against incorrect examples 🤔
Sorry, something went wrong.
that'd be pretty sweet
docs(linter): fix incorrect "bad" example in only-used-in-recursion
only-used-in-recursion
c9820da
closes #4811
docs(linter): fix incorrect "bad" example in only-used-in-recursion (…
21cdb78
…#6029) closes #4811
camc314
Successfully merging a pull request may close this issue.
In the docs for oxc/only used in recursion, there's the following case:
this doesn't report an error if you run this code against the lint rule 😅
to complete this issue we should make it report the error for this case.
The text was updated successfully, but these errors were encountered: