Jinja HTML/Nunjucks linting
CTFd makes heavy use of Jinja because of it's origins as a Flask app. Most other code in CTFd is linted and prettified but Jinja doesn't appear to have great open source tools to pull this off. This is to gather resources and knowledge about different approaches that can be used.
This problem is basically impossible b/c there doesn't appear to be a reasonable open source tool to lint/prettify Jinja.
Kind of impossible to pull this off without spending time figuring out a plugin https://github.com/prettier/prettier/issues/5754
I've found that https://github.com/beautify-web/js-beautify will beautify the HTML but ignore the Jinja syntax. Kind of close.
Another possible solution: https://github.com/thibaudcolas/curlylint
This seems to be a problem throughout the Jinja/Django templating world. I haven't found a good solution for this so I am forced to remove it from the milestone. Honestly quite depressing that there's no good open source solution for this.
Relevant PR: https://github.com/CTFd/CTFd/pull/1822
I found a solution in https://github.com/prettier/prettier/issues/5581#issuecomment-782930909, hope this helps.