Closed nieling1 closed 1 year ago
this makes me somewhat confused. Should it be appropriate to add “RuleTester.setDefaultConfig” to the initial code?
I don't think a plugin's rule tests necessarily need to use the same .eslintrc.js as the plugin itself. The plugin environment can be very different from the target environment being linted.
.eslintrc.js
this makes me somewhat confused. Should it be appropriate to add “RuleTester.setDefaultConfig” to the initial code?