Function: ruleHasScopeAnchorInAncestors()
function ruleHasScopeAnchorInAncestors(
ruleNode: Readonly<Rule>,
options?: {
additionalAnchorClassNames?: ReadonlySet<string>;
additionalIgnoredAttributeNames?: ReadonlySet<string>;
includeGlobal?: boolean;
}
): boolean;
Defined in: _internal/selector-scope-analysis.ts:194
Check whether any containing ancestor rule provides a useful scope anchor.
Parametersโ
ruleNodeโ
Readonly<Rule>
options?โ
additionalAnchorClassNames?โ
ReadonlySet<string>
additionalIgnoredAttributeNames?โ
ReadonlySet<string>
includeGlobal?โ
boolean
Returnsโ
boolean