From 2af9a46afbe6122276c271df9f48917190257d16 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Thu, 6 Aug 2026 11:57:21 +0200 Subject: [PATCH] lint.sh: accept type: select as a valid requirement type Matches portal's new resource-backed multi/single-select requirement kind. Co-Authored-By: Claude Sonnet 5 --- lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lint.sh b/lint.sh index d273b83..126ea95 100755 --- a/lint.sh +++ b/lint.sh @@ -39,14 +39,14 @@ for f in "$dir"/*.yaml; do fail=1 fi - # "textarea", "file", and "prosekit" are the three values + # "textarea", "file", "prosekit", and "select" are the four values # content.rs/app.rs special-case; anything else is passed straight # through as an HTML attribute, so this is the real set # of valid values, not a guess. bad_types=$(jq -r ' [.alternatives[]?.features[]?.requirements[]? | select(.type != null and (.type | IN( - "text", "textarea", "file", "prosekit", "email", "tel", "url", + "text", "textarea", "file", "prosekit", "select", "email", "tel", "url", "number", "password", "date", "datetime-local", "time", "month", "week", "color", "range", "checkbox", "radio", "hidden", "search" ) | not))