UNPKG

@atlaskit/eslint-plugin-design-system

Version:

The essential plugin for use with the Atlassian Design System.

15 lines (14 loc) 565 B
import type { Rule } from 'eslint'; import type { CallExpression as ESCallExpression, ObjectExpression } from 'estree'; type CallExpression = ESCallExpression & Rule.NodeParentExtension; export declare class UnusedCssMapChecker { private readonly cssMapObject; private readonly cssMapCallNode; private readonly report; private readonly context; constructor(cssMapObject: ObjectExpression, context: Rule.RuleContext, cssMapCallNode: CallExpression); private checkForUnusedStyles; private findCssMapVariable; run(): void; } export {};