mirror of
1
Fork 0
forgejo/templates/repo/diff
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
..
blob_excerpt.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
box.tmpl Show diff on rename with diff changes (#15338) 2021-04-08 15:35:36 -04:00
comment_form.tmpl Remove usage of JS globals (#15378) 2021-04-09 19:42:38 -04:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Prepend AppSubUrl to links for default avatar (#15341) 2021-04-08 15:25:06 +02:00
compare.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
conversation.tmpl Diff box fixes (#15214) 2021-03-31 18:19:53 -04:00
csv_diff.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
image_diff.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
options_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
section_split.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
section_unified.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
stats.tmpl Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
whitespace_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00