@terrazzo/parser
Version:
Parser/validator for the Design Tokens Community Group (DTCG) standard.
15 lines • 541 B
TypeScript
import type { LintRule } from '../../../types.js';
export declare const VALID_FONT_WEIGHT = "core/valid-font-weight";
declare const ERROR = "ERROR";
declare const ERROR_STYLE = "ERROR_STYLE";
export interface RuleFontWeightOptions {
/**
* Enforce either:
* - "numbers" (0-999)
* - "names" ("light", "medium", "bold", etc.)
*/
style?: 'numbers' | 'names';
}
declare const rule: LintRule<typeof ERROR | typeof ERROR_STYLE, RuleFontWeightOptions>;
export default rule;
//# sourceMappingURL=valid-font-weight.d.ts.map