I'm using the recommended prettier plugin with .gjs files and <template> tags in components.
The prettier rule formats the component code after the <template> tag.
Example:
<template>
<h1>Header</h1>
<div>Test</div>
</template>
However, ember-template-lint with this plugin is giving a lint error and collapsing the first and last tags to the same line as template which doesn't look good.
<template><h1>Header</h1>
<div>test</div></template>
I'm using the recommended prettier plugin with
.gjsfiles and<template>tags in components.The prettier rule formats the component code after the
<template>tag.Example:
However,
ember-template-lintwith this plugin is giving a lint error and collapsing the first and last tags to the same line astemplatewhich doesn't look good.