eslint-plugin-ember: `require-tagless-components` rule fails for `Service.extend`
In tests/integration/components/foo-test.js, if I have:
import Service from '@ember/service';
Service.extend({});
the lint rule fails
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 15 (12 by maintainers)
Commits related to this issue
- test(require-tagless-components): add Service tests Adding tests to validate #601 — committed to alexlafroscia/eslint-plugin-ember by alexlafroscia 5 years ago
- 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... — committed to alexlafroscia/eslint-plugin-ember by alexlafroscia 5 years ago
- test(require-tagless-components): add Service tests Adding tests to validate #601 — committed to alexlafroscia/eslint-plugin-ember by alexlafroscia 5 years ago
- 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... — committed to alexlafroscia/eslint-plugin-ember by alexlafroscia 5 years ago
- test(require-tagless-components): add Service tests Adding tests to validate #601 — committed to alexlafroscia/eslint-plugin-ember by alexlafroscia 5 years ago
@bmish do you mean the lint failure error message? (I’m not getting an exception thrown, just a false positive on the lint rule)