ember-template-lint icon indicating copy to clipboard operation
ember-template-lint copied to clipboard

no-this-in-template-only-components: improve app structure detection

Open dwickern opened this issue 5 years ago • 1 comments

Improves isTemplateOnlyComponent to support linting some more file structures:

  • adds support for pods layout, using a simple heuristic so we don't need to read the app's podModulePrefix
  • adds support for linting an addon's dummy app, by recursively detecting the structure inside tests/dummy/app/
  • adds support for hbs`...` literals which fixes https://github.com/ember-template-lint/eslint-plugin-hbs/issues/41

dwickern avatar Jan 24 '21 19:01 dwickern

Hi @dwickern, do you have time to rebase it?

lifeart avatar May 03 '25 17:05 lifeart