lint.sh: accept type: select as a valid requirement type
Lint and reload / lint-and-reload (push) Successful in 3s
Lint and reload / lint-and-reload (push) Successful in 3s
Matches portal's new resource-backed multi/single-select requirement kind. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
a424c6d3c2
commit
2af9a46afb
@@ -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 <input type> 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))
|
||||
|
||||
Reference in New Issue
Block a user