Streamline formatting of html templates
[TASK] Streamline formatting of html templates
The indentations in the HTML templates are out of control.
Even if we provide an EditorConfig, which should ensure
that the files are all uniformly indented. There seems to
have been an increasing aversion to TABS over time.
This has led to the fact that above all newly created templates
have always been indented with SPACES instead of TABS.
We now have a mix of TABS and SPACES in our project, partly
also in a single file.
To avoid this in the future, all existing templates were converted
to indentations with SPACES and the provided EditorConfig was
adapted. In order to really, really make sure that it doesn't get
out of hand, we also introduce a new linter, which ensures
that all HTML templates are properly indented.
Tested-by: TYPO3com <email@example.com>
Tested-by: Andreas Fernandez <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>
Reviewed-by: Oliver Wand <firstname.lastname@example.org>
Reviewed-by: Oliver Klee <email@example.com>
Reviewed-by: Helmut Hummel <firstname.lastname@example.org>
Reviewed-by: Andreas Fernandez <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
#1 Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60522