diff options
author | silverwind <me@silverwind.io> | 2023-07-09 22:33:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-09 20:33:25 +0000 |
commit | 61e0d1a767e1a1a509de9de4aff42bdb79cc6443 (patch) | |
tree | 26b33e39b0a29493abfc93343cc0332bcf5b661e /templates/repo/editor | |
parent | be23b73e8523738a1d3c214a01c0f162146da1c0 (diff) | |
download | gitea-61e0d1a767e1a1a509de9de4aff42bdb79cc6443.tar.gz gitea-61e0d1a767e1a1a509de9de4aff42bdb79cc6443.zip |
Enable H014 and H023 djlint rules (#25786)
Enable these rules:
- H014 | More than 2 blank lines.
- H023 | Do not use entity references.
There are more potential rules to enable but they are blocked by bugs in
the linter:
- https://github.com/Riverside-Healthcare/djLint/issues/711
- https://github.com/Riverside-Healthcare/djLint/issues/712
Diffstat (limited to 'templates/repo/editor')
-rw-r--r-- | templates/repo/editor/edit.tmpl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index 2f47616dc5..cfdb6298e5 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -52,8 +52,6 @@ {{template "repo/editor/commit_form" .}} </form> </div> - - <div class="ui g-modal-confirm modal" id="edit-empty-content-modal"> <div class="header"> {{svg "octicon-file"}} @@ -73,6 +71,5 @@ </button> </div> </div> - </div> {{template "base/footer" .}} |