Skip to content
Brok UI

Loading…

No results

Lint UI-104

no-mixed-composition

A view that uses the Brok API must not mix in raw controls.

UI-104 default: error adoption UNSUPPORTED_COMPOSITION

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

Suppress one line

blade
{{-- ui-lint-disable-next-line no-mixed-composition: reason --}}