From d8e6a30cd1cf28980cffa78a8be2f5494388e585 Mon Sep 17 00:00:00 2001 From: Brett Rowan <121075405+b-rowan@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:19:12 -0600 Subject: [PATCH] Fix some linting issues. Ignore H021 (inline styles), swap to `url_for` where applicable from static links, and update image tags with width, height, and alt attributes. --- .djlintrc | 2 +- goosebit/ui/templates/nav.html.jinja | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.djlintrc b/.djlintrc index 1d192d46..dfb67b6d 100644 --- a/.djlintrc +++ b/.djlintrc @@ -1,3 +1,3 @@ { - "ignore": "H030,H031" + "ignore": "H030,H031,H021" } diff --git a/goosebit/ui/templates/nav.html.jinja b/goosebit/ui/templates/nav.html.jinja index 54d476bf..11224a0b 100644 --- a/goosebit/ui/templates/nav.html.jinja +++ b/goosebit/ui/templates/nav.html.jinja @@ -46,11 +46,12 @@