UNPKG

@hero-design/snowflake-guard

Version:

A hero-design bot detecting snowflake usage

18 lines (17 loc) 574 B
import type { CompoundComponentName } from './reports/types'; import { InlineStyleProps } from './reports/reportInlineStyle'; declare const parseSource: (source: string) => { classNameLocs: number[]; styleLocs: number[]; sxLocs: number[]; styledComponentLocs: number[]; approvedLocs: number[]; violatingAttributes: { attributeName: string; attributeValue: string | null; inlineStyleProps: InlineStyleProps; componentName: CompoundComponentName; loc: number | undefined; }[]; }; export default parseSource;