Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rule: new-module-imports #86

Closed
Turbo87 opened this issue Jul 3, 2017 · 0 comments
Closed

New rule: new-module-imports #86

Turbo87 opened this issue Jul 3, 2017 · 0 comments
Labels
New Rule Idea for a new lint rule

Comments

@Turbo87
Copy link
Member

Turbo87 commented Jul 3, 2017

This rule should warn about:

import Ember from 'ember';

and e.g.

import Component from 'ember-component';

instead the new module imports should be used, e.g.:

import Component from '@ember/component';

more information is available and linked at https://github.com/ember-cli/ember-rfc176-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Rule Idea for a new lint rule
Projects
None yet
Development

No branches or pull requests

3 participants