eslint / generator-eslint

A Yeoman generator to help with ESLint development
Other
227 stars 51 forks source link

the default config does not use .eslintrc.js #151

Closed nieling1 closed 1 year ago

nieling1 commented 1 year ago

this makes me somewhat confused. Should it be appropriate to add “RuleTester.setDefaultConfig” to the initial code?

bmish commented 1 year ago

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.