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
But in some cases, inline-styles can be easier to maintain. See my real example below. In my opinion, for such cases, it makes sense not to apply rule H021.
1. Summary
Possibly, it would be nice, if djLint will allow inline styles if they contain at least one template.
That is, if the value of the
style
attribute contain {{ braces }}, rule H021 will not apply.2. Argumentation
The most popular answer on Stack Overflow to the question “What’s so bad about in-line CSS?” says that putting styles into classes can be much easier to maintain.
But in some cases, inline-styles can be easier to maintain. See my real example below. In my opinion, for such cases, it makes sense not to apply rule H021.
3. MCVE
3.1. File to check
KiraDJLint__inline-styles-with-templates--H021.html
3.2 Desired behavior
No errors
3.3. Current behavior
4. Environment
5. Checkbox
Thanks.
The text was updated successfully, but these errors were encountered: