Name Description Size Coverage
config.mjs @typedef {object} PropertyTypeConfig @property {string[]} allow Allowed keyword values (e.g., "auto", "none", "transparent") @property {string[]} allowAlias Allowed keyword values that should only be used via local variables @property {string[]} [tokenTypes] Token categories from semantic-categories.mjs whose tokens are valid @property {string[]} [aliasTokenTypes] Token categories from semantic-categories.mjs whose tokens are valid only when used through local custom properties @property {string[]} [allowFunctions] Allowed CSS function names (e.g., "url", "linear-gradient") @property {boolean} [allowUnits] Whether values with CSS units (e.g., "10px", "50%") are allowed @property {string[]} [allowedUnits] Specific unit types allowed (e.g., ["em", "ch", "%"]). If provided, only these units are allowed when allowUnits is true @property {Record<string, string>} [customFixes] Map of raw values to their token replacements for autofix @property {Record<string, string>} [customSuggestions] Map of raw values to their token replacements for suggested fixes @property {boolean} [warnSystemColors] Whether to warn about system colors when there are no suitable tokens to use. 21750 -
helpers.mjs The list of system colors that are valid and intended to be used for high contrast/forced colors mode situations. 3167 -
index.mjs 482 -
package-lock.json 54041 -
package.json 381 -
property-validator.mjs Validates whether a given CSS property value complies with allowed design token rules. @class @property {PropertyConfig} config Configuration for the given property. 9801 -
reporters -
rules -
tests -