We should add a basic "does it panic" fuzz test for the checker crate.
ruff_formatter_validity
This fuzz harness checks that Ruff's formatter does not introduce new linter errors/warnings by
linting once, counting the number of each error type, then formatting, then linting again and
ensuring that the number of each error type does not increase across formats. This has the
beneficial side effect of discovering cases where the linter does not discover a lint error when
it should have due to a formatting inconsistency.
^ We can combine the parser read and print tests with a "do we have consistent errors" test to replicate this style of fuzz test from ruff.
We should add a basic "does it panic" fuzz test for the checker crate.
^ We can combine the parser read and print tests with a "do we have consistent errors" test to replicate this style of fuzz test from ruff.