mirror of
1
Fork 0
forgejo/templates/repo/wiki
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
..
new.tmpl add preview support for wiki editor when disable simpleMDE (#14757) 2021-02-28 16:48:29 +00:00
pages.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
revision.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
start.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
view.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00