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

refactor: avoid using file name to determine class identity. #603

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 21, 2019

  1. Configuration menu
    Copy the full SHA
    a85b09a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d788c25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d929f5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39e3036 View commit details
    Browse the repository at this point in the history
  5. refactor: avoid using file name in rules

    The original logic for determining if a Identifier was of a specific Ember class used the file name to make this decision, rather than resolving the import of the Identifier back to the Ember module it was imported from.
    
    This ended up causing a number of issues in lint rule in cases where people places a class in a location that was unexpected based on Ember’s convention. Such issues include ember-cli#601 and ember-cli#430.
    
    Making this change avoids the need for something like ember-cli#213, which adds additional logic based on file names to prevent some of these issues.
    
    Closes ember-cli#590
    alexlafroscia committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    535cb40 View commit details
    Browse the repository at this point in the history
  6. test(require-tagless-components): add Service tests

    Adding tests to validate ember-cli#601
    alexlafroscia committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    ba714c5 View commit details
    Browse the repository at this point in the history