Since ember-template-lint 4.x has been converted to ESM, eslint-plugin-hbs is no longer compatible (the hbs/check-hbs-template-literals rule cannot load ember-template-lint since it is using require()):
|
TemplateLinter = require('ember-template-lint') |
Once ESLint supports async rules, it will be possible to update the rule to load ember-template-lint via:
await import('ember-template-lint')
Supporting async rules is on the ESLint 2022 Roadmap.
Since
ember-template-lint4.x has been converted to ESM,eslint-plugin-hbsis no longer compatible (thehbs/check-hbs-template-literalsrule cannot loadember-template-lintsince it is usingrequire()):eslint-plugin-hbs/lib/rules/check-hbs-template-literals.js
Line 51 in 7cc617f
Once ESLint supports async rules, it will be possible to update the rule to load
ember-template-lintvia:Supporting async rules is on the ESLint 2022 Roadmap.