DockYard / eslint-plugin-ember-suave

DockYard's ESLint plugin for Ember apps
MIT License
53 stars 10 forks source link

What's the purpose of config/base.js? #52

Closed edouard-lopez closed 7 years ago

edouard-lopez commented 7 years ago

From what I understand base.js is required in recommended.js.

Could you elaborate on the use-case of each file?

brzpegasus commented 7 years ago

The idea was that if we ever wanted this library to expose multiple configuration files, e.g. one for Ember, one for use in Node, they could still share the same subset of rules defined in base.js. In practice, we haven't gone that route yet and the name of the repo unnecessarily suggests it could only be used on Ember projects. This issue discusses the latter.