Export Utils to Allow Better Lint Extension of Common Ember Patterns
When working on custom patterns for teams, it is pretty common to need to do things like deprecate a service method/property or some other Ember pattern specific feature.
The utils in this project are really useful, but currently are not exported in anyway so teams have to recreate them on their own.
[!NOTE] An alternative to exporting these utilities would be to make this project a monorepo/workspace and publish a helpers/utils package explicitly. IMO this is actually a better experience so that users could use things like
getImportIdentifierwithout tying directly to Ember.
@bmish most of the helpers that I've had to reproduce are around:
- imports
- decorators
- https://github.com/ember-cli/eslint-plugin-ember/blob/master/lib/utils/scope-references-this.js
We have limited use for isEmberRoute or isInjectedServiceProp and haven't really needed to grab any of the other utils.