1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/templates/base
silverwind d848098f60
Enforce tab indentation in templates (#15289)
* Enforce tab indendation in templates

This adds editorconfig-checker [1] to lint the template files so they
conform the editorconfig files. I fixed all current identation issues
using the fix mode of eclint [2] and some manual corrections.

We can extend this linting to other files later, for now I'd like this
PR to focus on HTML template files only.

[1] https://github.com/editorconfig-checker/editorconfig-checker
[2] https://github.com/jedmao/eclint

* fix indendation

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-04-10 23:46:37 -04:00
..
alert_details.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
alert.tmpl Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
delete_modal_actions.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
footer_content.tmpl Replace footer and modal icons with SVG (#13245) 2020-10-21 22:07:33 +01:00
footer.tmpl Enable linting of JS inside templates (#13708) 2020-11-28 01:01:33 +02:00
head_navbar.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
head.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
paginate.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00