Skip to content
Brok UI

Loading…

No results

Lint UI-101

no-raw-button

Use <brok:button> instead of a raw <button>.

UI-101 default: warning adoption RAW_BUTTON

Configure

In the lint.rules block of ui.json. It accepts message, exclude; see the policy for what the entries match.

ui.json 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 --}}