Commit 476729b
committed
refactor(linter): simplify
Suggestion from @overlookmotel. Simplifies the `RuleRunner` trait down to a single `Option` constant. `None` indicates we should run the lint rule on any node type, and `Some(AstTypesBitset)` means we should use the specific node types given for filtering lint rules.RuleRunner trait definition (#13637)1 parent 2f02ac6 commit 476729b
File tree
5 files changed
+642
-1185
lines changed- crates
- oxc_linter/src
- generated
- oxc_macros/src
- tasks/linter_codegen/src
5 files changed
+642
-1185
lines changed
0 commit comments