github.com
perf(linter): Optimize `require-hook` and `prefer-mock-*` rules to run on specific node types by connorshea · Pull Request #23871 · oxc-project/oxc
Generated with Claude Code, reviewed and tested by me.
Similar concept to #23868 and #23867, gates the following rules behind specific AST Nodes in their run methods to ensure that the rules are on...