Lint UI-407
no-invalid-component-api
A prop, slot, or child must match the component's published API.
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-component-api": ["error", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-invalid-component-api
Suppress one line
blade
{{-- ui-lint-disable-next-line no-invalid-component-api: reason --}}