New issue
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
[oxlint] result inconsistencies for rule no-cycle
#3117
Comments
Regarding different number of cycles comparing to eslint - I think both results are correct because a cycle is formed, the difference seems to come from a depth first or a breath first search. I'll look into |
I can't fix the mismatch for the time being, it is a bit difficult figure out what's wrong with Given that no-cycles are still being detected for all the entry files, I'm going to close this as won't fix for now. |
There are inconsistencies in the result of oxlint using
--threads N
and in the results compared to eslint.There are two types of problems:
--threads
option. When I use--threads 1
I get 2 results and when I use--threads 10
I get 5 results. The expected is 7 cycles; what eslint is reporting.Reproductible repo: https://github.com/folkvir/oxc_no-cycle_test
The cycles are explained in the README
The text was updated successfully, but these errors were encountered: