Skip to content
Brok UI

Loading…

No results

Lint UI-405

no-local-fork

An application component looks like a copy of an installed one; extend it instead.

UI-405 default: warning api LOCAL_COMPONENT_FORK

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

Suppress one line

blade
{{-- ui-lint-disable-next-line no-local-fork: reason --}}