ESLint version
latest
What problem do you want to solve?
I want all my invalid tests to have requireLocation, but currently, I need to set it manually in every RuleTester.run
What do you think is the correct solution?
Add an API to define it globally by default, similar to RuleTester.setDefaultConfig(...)
Participation
AI acknowledgment
Additional comments
Related: #19921
Curious question - Why is it part of the RuleTester and not an eslint rule under eslint-plugin-eslint-plugin?
ESLint version
latest
What problem do you want to solve?
I want all my invalid tests to have
requireLocation, but currently, I need to set it manually in every RuleTester.runWhat do you think is the correct solution?
Add an API to define it globally by default, similar to
RuleTester.setDefaultConfig(...)Participation
AI acknowledgment
Additional comments
Related: #19921
Curious question - Why is it part of the RuleTester and not an eslint rule under
eslint-plugin-eslint-plugin?