@terrazzo/parser
Version:
Parser/validator for the Design Tokens Community Group (DTCG) standard.
15 lines • 642 B
TypeScript
import type { LintRule } from '../../../types.js';
export declare const REQUIRED_TYPOGRAPHY_PROPERTIES = "core/required-typography-properties";
export interface RuleRequiredTypographyPropertiesOptions {
/**
* Required typography properties.
* @default ["fontFamily", "fontWeight", "fontSize", "letterSpacing", "lineHeight"]
*/
properties: string[];
/** Token globs to ignore */
ignore?: string[];
}
/** @deprecated Use core/valid-typography instead */
declare const rule: LintRule<never, RuleRequiredTypographyPropertiesOptions>;
export default rule;
//# sourceMappingURL=required-typography-properties.d.ts.map