You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using trunk check to lint and format my files.
One of the formatters I use is prettier.
However, it conflicts with djlint when formatting.
Is it possible to turn off the formatter or make it compatible with prettier?
How To Reproduce
Install trunk
Enable prettier and djlint
Try to format an HTML file (using trunk fmt)
The text was updated successfully, but these errors were encountered:
Hi. We are not aiming for prettier-like formatting. As for trunk, this problem is not related to djLint, but to trunk itself. So you either need to set up trunk or create an issue in their repository.
I also thinking that for 1 type of file, in this case *.html the auto-formatter should use only one notation and not both at the same time. In this case you cannot have a conflict.
prettier usually used for HTLM, JS, CSS and other fe-related fields format. djlint, on the other hand, is used to format jinja-like html template file with Django related context
System Info
N/A
Issue
I'm using trunk check to lint and format my files.
One of the formatters I use is prettier.
However, it conflicts with
djlint
when formatting.Is it possible to turn off the formatter or make it compatible with
prettier
?How To Reproduce
prettier
anddjlint
trunk fmt
)The text was updated successfully, but these errors were encountered: