Skip to content
Brok UI

Loading…

No results

Lint UI-304

no-physical-direction

Use logical utilities (ms-, pe-, start-) so layouts mirror under RTL.

UI-304 default: warning tokens PHYSICAL_DIRECTION

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

Suppress one line

blade
{{-- ui-lint-disable-next-line no-physical-direction: reason --}}