test(linter/plugins): simplify tester script#18343
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull request overview
This PR simplifies the tester script by removing the unnecessary config parameter throughout the test execution flow. The conformance test version of RuleTester already enables eslintCompat via a registered hook, making the manual configuration redundant.
Changes:
- Removed unused
configvariable declarations and parameter from test execution functions - Simplified
runBothandrunOnefunction signatures by removing the obsoleteconfigparameter - Cleaned up the RuleTester instantiation to use the default constructor
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
Simplify tester script. `config` is not needed any more. The conformance tests' version of `RuleTester` already enables `eslintCompat` option.
f0e9bd4 to
4497f3d
Compare
687a0e8 to
7db6753
Compare

Simplify tester script.
configis not needed any more. The conformance tests' version ofRuleTesteralready enableseslintCompatoption.