Lint UI-401
no-invalid-variant
A variant or size prop must use one of the values the component defines.
Configure
In the lint.rules block of ui.json.
It accepts message, exclude; see
the policy
for what the entries match.
ui.json
"no-invalid-variant": ["error", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-invalid-variant
Suppress one line
blade
{{-- ui-lint-disable-next-line no-invalid-variant: reason --}}