Skip to content
New issue

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

Do not transform ! to not (or add an option) - also applies to &&, || etc. #64

Open
LeoniePhiline opened this issue Feb 11, 2023 · 0 comments

Comments

@LeoniePhiline
Copy link

As mentioned in #63, I am trying to use this prettier plugin to format askama templates, which implements Jinja syntax.

When using this plugin, ! is transformed into not - which causes askama to fail parsing.

I would love to use this plugin, but as it changes my literal code and thus breaks the application, it is unfortunately absolutely unusable, no matter how awesome it is otherwise. (And I am so glad I found it!)

It would be super great if the opinionated nature of this plugin could be somewhat reduced; i.e. content changed made opt-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant