oxc/crates/oxc_macros
Don Isaac 654395847f
feat(linter): add auto-fix metadata to RuleMeta (#4557)
Add a `FIX` constant to `RuleMeta` that describes what kinds of auto
fixes a
rule can perform (if any). This PR also updates `declare_oxc_lint` to
accept a
fix capabilities field. Follow-up PRs in this stack will update existing
rules
and update other parts of the codebase to use this new field.

The end goal of this stack is to
1. automate creation of #4179 in a similar way we auto-update rule
progress,
2. use it in rule documentation pages when we eventually add lint rules
to the website
2024-07-31 10:51:51 +08:00
..
src feat(linter): add auto-fix metadata to RuleMeta (#4557) 2024-07-31 10:51:51 +08:00
Cargo.toml chore: do not compile test crates that have no tests 2024-06-24 00:20:04 +08:00