Configure
In the lint.rules block of ui.json.
It accepts message, exclude; see
the policy
for what the entries match.
ui.json
"no-raw-button": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-raw-button
Suppress one line
blade
{{-- ui-lint-disable-next-line no-raw-button: reason --}}