mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-09 08:40:59 +00:00
This patch adds a configuration option for requiring files to have a pragma comment at the beginning of the file in order to reformat the file. This behaviour is useful for a slow adoption of the tool instead of requiring the whole codebase to be converted at once. The patch also contains tests for the different kinds of supported pragma comments, based on the profile defined for the project.
1 line
103 B
HTML
1 line
103 B
HTML
{% extends "nothing.html" %}{% load stuff %}{% load stuff 2 %}{% include "html_two.html" %}<div></div>
|