[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. Resolves: #88180 Releases: master Change-Id: I86d23120bc68e3696f398b1ae76f1efc4804d501 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60522 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Oliver Wand <wand@itaw.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Helmut Hummel <typo3@helhum.io> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- .editorconfig 2 additions, 2 deletions.editorconfig
- Build/Gruntfile.js 13 additions, 1 deletionBuild/Gruntfile.js
- Build/package.json 1 addition, 0 deletionsBuild/package.json
- Build/yarn.lock 71 additions, 1 deletionBuild/yarn.lock
- typo3/sysext/about/Resources/Private/Partials/About.html 6 additions, 6 deletionstypo3/sysext/about/Resources/Private/Partials/About.html
- typo3/sysext/about/Resources/Private/Partials/CoreTeam.html 8 additions, 8 deletionstypo3/sysext/about/Resources/Private/Partials/CoreTeam.html
- typo3/sysext/about/Resources/Private/Partials/Credits.html 8 additions, 8 deletionstypo3/sysext/about/Resources/Private/Partials/Credits.html
- typo3/sysext/about/Resources/Private/Partials/Donation.html 11 additions, 11 deletionstypo3/sysext/about/Resources/Private/Partials/Donation.html
- typo3/sysext/about/Resources/Private/Partials/Extensions.html 46 additions, 46 deletions...3/sysext/about/Resources/Private/Partials/Extensions.html
- typo3/sysext/about/Resources/Private/Partials/ExternalLibraries.html 114 additions, 114 deletions...t/about/Resources/Private/Partials/ExternalLibraries.html
- typo3/sysext/about/Resources/Private/Partials/Logo.html 3 additions, 3 deletionstypo3/sysext/about/Resources/Private/Partials/Logo.html
- typo3/sysext/about/Resources/Private/Partials/Modules.html 39 additions, 39 deletionstypo3/sysext/about/Resources/Private/Partials/Modules.html
- typo3/sysext/about/Resources/Private/Templates/About/Index.html 34 additions, 34 deletions...sysext/about/Resources/Private/Templates/About/Index.html
- typo3/sysext/adminpanel/Resources/Private/Partials/Data/TableKeyValue.html 13 additions, 13 deletions...npanel/Resources/Private/Partials/Data/TableKeyValue.html
- typo3/sysext/adminpanel/Resources/Private/Partials/Modules/Item.html 4 additions, 4 deletions...t/adminpanel/Resources/Private/Partials/Modules/Item.html
- typo3/sysext/backend/Resources/Private/Layouts/ContextSensitiveHelp.html 7 additions, 7 deletions...ckend/Resources/Private/Layouts/ContextSensitiveHelp.html
- typo3/sysext/backend/Resources/Private/Layouts/ImageManipulation.html 14 additions, 14 deletions.../backend/Resources/Private/Layouts/ImageManipulation.html
- typo3/sysext/backend/Resources/Private/Layouts/Login.html 114 additions, 114 deletionstypo3/sysext/backend/Resources/Private/Layouts/Login.html
- typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html 32 additions, 32 deletions...xt/backend/Resources/Private/Partials/Backend/Topbar.html
- typo3/sysext/backend/Resources/Private/Partials/ButtonBar.html 14 additions, 14 deletions.../sysext/backend/Resources/Private/Partials/ButtonBar.html
Please register or sign in to comment