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 tokens-table.mjs whose tokens are valid @property {string[]} [aliasTokenTypes] Token categories from tokens-table.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 16763 -
data.mjs 5967 -
helpers.mjs Allows rules to access the tokens table without hard-coding the import path in multiple files. @returns {object} 15900 -
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. 9247 -
referenceColors.mjs The list of named colors in CSS. 4618 -
reporters -
rules -
tests -