Skip to content
Brok UI

Loading…

No results

Lint UI-404

no-internal-classes

Consumer views must not reference internal package classes.

UI-404 default: error api INTERNAL_COMPONENT_CLASS

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

Suppress one line

blade
{{-- ui-lint-disable-next-line no-internal-classes: reason --}}