We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--fix
attribute-order
When enabling the attribute-order rule like so:
{ // ... rules: { 'attribute-order': true, // ... }, }
Running pnpm ember-template-lint "**/*.hbs" succeeds (as in, completes):
pnpm ember-template-lint "**/*.hbs"
✖ 1105 problems (1105 errors, 0 warnings) 1090 errors and 0 warnings potentially fixable with the `--fix` option. ELIFECYCLE Command failed with exit code 1.
Running pnpm ember-template-lint "**/*.hbs" --fix results in a Node process running at 100% CPU which hangs.
pnpm ember-template-lint "**/*.hbs" --fix
I've yet to pinpoint the exact issue by running on a subset of files. But opening the issue already regardless.
Versions
Using Node v20.11.0 gives the same result.
The text was updated successfully, but these errors were encountered:
I was able to create the following minimal reproduction.
Running autofix hangs on the following:
<Foo::Bar @ca={{this.justARandomName}} @cb={{this.anotherRandomName}} @t={{this.another.random.prop}} > <div> <div> <div> <LinkTo @route="some.route" @model={{this.someLongerGetterName}} @query={{hash l=this.someProp.anotherthing mP=this.anotherProp.anotherthing p=this.foobar }} target="_blank" > test </LinkTo> </div> </div> </div> </Foo::Bar>
Running autofix works when either of the following actions is done:
div
ca
Foo::Bar
someLongerGetterName
x
This all seems random. But as making the line length shorter generally seems to solve this, it might indicate a conflict with a line length rule?
Sorry, something went wrong.
No branches or pull requests
When enabling the
attribute-order
rule like so:Running
pnpm ember-template-lint "**/*.hbs"
succeeds (as in, completes):Running
pnpm ember-template-lint "**/*.hbs" --fix
results in a Node process running at 100% CPU which hangs.I've yet to pinpoint the exact issue by running on a subset of files. But opening the issue already regardless.
Versions
Using Node v20.11.0 gives the same result.
The text was updated successfully, but these errors were encountered: