@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
10 lines (9 loc) • 310 B
TypeScript
import type { Rule } from 'eslint';
type TokenMapping = {
tokenName: string;
getReplacementValue: (tokenName: string) => string | undefined;
};
export declare function getPrimitiveTokenUsage(node: Rule.Node, context: Rule.RuleContext): (TokenMapping & {
node: Rule.Node;
}) | undefined;
export {};