Require custom Pluma Tooltip triggers when wrapping interactive controls.
Use this rule to prevent nested interactive controls inside Pluma Tooltip's default trigger wrapper.
By default, Pluma Tooltip renders its trigger as a native button. If the child
is already interactive, such as a Button, Link, or native button, the result is
an interactive element inside another interactive element. Use isCustom or
@isCustom so the real interactive element becomes the tooltip trigger.
The rule only checks Pluma Tooltip bindings imported from Pluma. It resolves aliases before matching component usage, so this is still reported:
A local component named Tooltip is ignored unless it is imported from a Pluma
entrypoint.
The rule reports direct Tooltip children that are known interactive elements:
Button, Checkbox, Link, OptionCard, PlainButton,
PlainLink, Radio, Select, and TogglePlumaButton, PlumaCheckbox, PlumaLink, PlumaOptionCard,
PlumaPlainButton, PlumaPlainLink, PlumaRadio, PlumaSelect, and
PlumaTogglea, button, input, select, and textareaThis first version intentionally focuses on the common trigger-child pattern. It
does not inspect interactive content inside TooltipContent; use Popover when
tooltip content itself needs actions.