From 0b356638861156a181133fb94b42bdb1808cfc48 Mon Sep 17 00:00:00 2001 From: karashiiro <49822414+karashiiro@users.noreply.github.com> Date: Sun, 22 May 2022 20:25:50 -0700 Subject: [PATCH] Add a lint for icons not being set at all --- pkg/html/report-problems.gohtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/html/report-problems.gohtml b/pkg/html/report-problems.gohtml index eb29740..d2258ad 100644 --- a/pkg/html/report-problems.gohtml +++ b/pkg/html/report-problems.gohtml @@ -26,6 +26,9 @@ {{if not .TestingHasTaggedTitle | and .Testing}}
  • Testing plugin does not have tagged title
  • {{end}} + {{if not .IconSet}} +
  • No icon set
  • + {{end}} {{if not .IconSet | and .IconExists}}
  • Icon URL does not point to an existing image
  • {{end}}