forked from gitea/gitea
1
0
Fork 0
gitea/templates/repo/editor
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
..
commit_form.tmpl enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
delete.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
diff_preview.tmpl Switch code editor to Monaco (#11366) 2020-05-14 19:06:01 +03:00
edit.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
upload.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00