MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / hasInlineDropShadow

Function hasInlineDropShadow

packages/lint/src/rules/textures.ts:26–29  ·  view source on GitHub ↗
(tag: OpenTag)

Source from the content-addressed store, hash-verified

24}
25
26function hasInlineDropShadow(tag: OpenTag): boolean {
27 const style = readAttr(tag.raw, "style") ?? "";
28 return /\bfilter\s*:\s*[^;]*\bdrop-shadow\s*\(/i.test(style);
29}
30
31function classNamesInSelector(selector: string): string[] {
32 const classes = new Set<string>();

Callers 1

textures.tsFile · 0.85

Calls 1

readAttrFunction · 0.90

Tested by

no test coverage detected