Skip to content
Brok UI

Loading…

No results

Lint UI-302

no-raw-spacing

Spacing must come from the approved scale, not inline lengths or off-scale steps.

UI-302 default: warning tokens RAW_SPACING

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

Suppress one line

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