Skip to content
Brok UI

Loading…

No results

Lint UI-902

no-product-domain-import

Shared UI must not import product domain code.

UI-902 default: error boundary PRODUCT_DOMAIN_IMPORT

Configure

In the lint.rules block of ui.json. It accepts exclude; see the policy for what the entries match.

ui.json JSON
"no-product-domain-import": ["error", { "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-product-domain-import

Suppress one line

blade
{{-- ui-lint-disable-next-line no-product-domain-import: reason --}}