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
With the following input (from a component which renders some example JavaScript for human consumption):
someFunction({ {{#unless installationIsAnonymous}} console.log("hi"); {{/unless}} });
Prettier seems to reformat it into:
someFunction({ {#unless installationIsAnonymous}} console.log("hi"); {{/unless}}});
Which then fails the idempotent test:
SyntaxError: Parse error on line 3: ...log("hi");{{/unless}}}); ----------------------^ Expecting 'CLOSE', got 'CLOSE_UNESCAPED' (3:0) 1 | someFunction({ 2 | {{#unless installationIsAnonymous}} console.log("hi"); > 3 | {{/unless}}});. Please report this in https://github.com/rajasegar/ember-angle-brackets-codemod/issues
The text was updated successfully, but these errors were encountered:
Having a way for an app to mark some hbs as ignored might be a simple way around what's likely a long tail of similar issues
Sorry, something went wrong.
resolved by #97
No branches or pull requests
With the following input (from a component which renders some example JavaScript for human consumption):
Prettier seems to reformat it into:
Which then fails the idempotent test:
The text was updated successfully, but these errors were encountered: