Lint UI-302
no-raw-spacing
Spacing must come from the approved scale, not inline lengths or off-scale steps.
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-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 --}}