Skip to content

Commit 476729b

Browse files
committed
refactor(linter): simplify RuleRunner trait definition (#13637)
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.
1 parent 2f02ac6 commit 476729b

File tree

5 files changed

+642
-1185
lines changed

5 files changed

+642
-1185
lines changed

0 commit comments

Comments
 (0)