Skip to content

Incompatible with ember-template-lint 4.x #54

@jamescdavis

Description

@jamescdavis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions