ale icon indicating copy to clipboard operation
ale copied to clipboard

embertemplatelint should run on gjs files as well (javascript.glimmer)

Open SamSaffron opened this issue 2 years ago • 1 comments

Current embertemplatelint only runs on handlebars (.hbs) files.

This is incomplete as gjs files also need this linting. I tried a PR here, but am a bit lost... specifically:

  1. We only want to call this linter on javascript.glimmer, if I try to paste a copy/paste file into a javascript.glimmer directory in linters it does not run, only way I can get it to work is paste it into javascript
  2. I would like to reuse the handlebars implementation, not sure how to share this code

SamSaffron avatar Nov 18 '23 23:11 SamSaffron

Super hacky way of getting this to work

https://github.com/dense-analysis/ale/pull/4653

but code duplication is terrible

SamSaffron avatar Nov 19 '23 00:11 SamSaffron