https://github.com/beautifier/js-beautify can be used to format Smarty template files `*.tpl` https://github.com/smarty-php/smarty/discussions/1136#discussioncomment-13528574 Investigate using this to format the files and add it to the CI system. An initial example command: ``` find tpl -type f -iname '*.tpl' -print0 \ | xargs --null js-beautify --type html --templating smarty --indent-size 4 --replace --eol '\n' --end-with-newline ```