Closed NullVoxPopuli closed 2 years ago
Tested this locally in my project and got this:
the approach here is kind of hacky... but I don't currently see a way around the problem until eslint supports async tree-walker stuff
This is no longer valid: but I'm keeping the text for thought process / what the alternative to node-force-sync would be
I tested this locally by editing node_modules, and it works.
I say "works" in that I verified with that the issue reported: https://github.com/ember-template-lint/eslint-plugin-hbs/issues/51 is resolved. (tested with console.log).
However, I do not get eslint reporter results (yet). Looks like this is the reason: https://github.com/ember-template-lint/eslint-plugin-hbs/issues/42#issuecomment-794638754
So, we need verifySync in ember-template-lint, related issue: https://github.com/ember-template-lint/ember-template-lint/issues/1838
verifySync
TODOs
verify
superseded by ember-template-lint reading in js/ts/gjs/gts per: https://github.com/ember-template-lint/ember-template-lint/pull/2483
Update
Tested this locally in my project and got this:
the approach here is kind of hacky... but I don't currently see a way around the problem until eslint supports async tree-walker stuff
This is no longer valid: but I'm keeping the text for thought process / what the alternative to node-force-sync would be
I tested this locally by editing node_modules, and it works.
I say "works" in that I verified with that the issue reported: https://github.com/ember-template-lint/eslint-plugin-hbs/issues/51 is resolved. (tested with console.log).
However, I do not get eslint reporter results (yet). Looks like this is the reason: https://github.com/ember-template-lint/eslint-plugin-hbs/issues/42#issuecomment-794638754
So, we need
verifySync
in ember-template-lint, related issue: https://github.com/ember-template-lint/ember-template-lint/issues/1838TODOs
verifySync
in ember-template-lint~verify
toverifySync
~