Skip to content
Brok UI

Loading…

No results

Lint UI-303

no-raw-z-index

Use the semantic z-index layers, never numeric z-index values.

UI-303 default: warning tokens UNAPPROVED_Z_INDEX

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-z-index": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-raw-z-index

Suppress one line

blade
{{-- ui-lint-disable-next-line no-raw-z-index: reason --}}