@alexlit/lint-kit 182.1.0 → 182.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/config-eslint/package.json +3 -3
- package/packages/config-eslint/plugins/unocss.js +4 -6
- package/packages/config-stylelint/node_modules/ansi-regex/index.d.ts +33 -0
- package/packages/config-stylelint/node_modules/ansi-regex/index.js +14 -0
- package/packages/config-stylelint/node_modules/ansi-regex/license +9 -0
- package/packages/config-stylelint/node_modules/ansi-regex/package.json +61 -0
- package/packages/config-stylelint/node_modules/ansi-regex/readme.md +66 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/LICENSE +19 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/README.md +630 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/dist/index.cjs +559 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/dist/index.d.cts +304 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/dist/index.d.ts +304 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/dist/index.js +525 -0
- package/packages/config-stylelint/node_modules/file-entry-cache/package.json +62 -0
- package/packages/config-stylelint/node_modules/flat-cache/LICENSE +19 -0
- package/packages/config-stylelint/node_modules/flat-cache/README.md +235 -0
- package/packages/config-stylelint/node_modules/flat-cache/dist/index.cjs +495 -0
- package/packages/config-stylelint/node_modules/flat-cache/dist/index.d.cts +255 -0
- package/packages/config-stylelint/node_modules/flat-cache/dist/index.d.ts +255 -0
- package/packages/config-stylelint/node_modules/flat-cache/dist/index.js +455 -0
- package/packages/config-stylelint/node_modules/flat-cache/package.json +87 -0
- package/packages/config-stylelint/node_modules/globby/ignore.js +337 -0
- package/packages/config-stylelint/node_modules/globby/index.d.ts +394 -0
- package/packages/config-stylelint/node_modules/globby/index.js +488 -0
- package/packages/config-stylelint/node_modules/globby/license +9 -0
- package/packages/config-stylelint/node_modules/globby/package.json +94 -0
- package/packages/config-stylelint/node_modules/globby/readme.md +388 -0
- package/packages/config-stylelint/node_modules/globby/utilities.js +382 -0
- package/packages/config-stylelint/node_modules/meow/build/dependencies.js +7347 -0
- package/packages/config-stylelint/node_modules/meow/build/index.d.ts +2684 -0
- package/packages/config-stylelint/node_modules/meow/build/index.js +185 -0
- package/packages/config-stylelint/node_modules/meow/build/licenses.md +1254 -0
- package/packages/config-stylelint/node_modules/meow/build/options.js +147 -0
- package/packages/config-stylelint/node_modules/meow/build/parser.js +113 -0
- package/packages/config-stylelint/node_modules/meow/build/utils.js +7 -0
- package/packages/config-stylelint/node_modules/meow/build/validate.js +145 -0
- package/packages/config-stylelint/node_modules/meow/license +9 -0
- package/packages/config-stylelint/node_modules/meow/package.json +103 -0
- package/packages/config-stylelint/node_modules/meow/readme.md +387 -0
- package/packages/config-stylelint/node_modules/postcss-safe-parser/LICENSE +20 -0
- package/packages/config-stylelint/node_modules/postcss-safe-parser/README.md +25 -0
- package/packages/config-stylelint/node_modules/postcss-safe-parser/lib/safe-parse.js +12 -0
- package/packages/config-stylelint/node_modules/postcss-safe-parser/lib/safe-parser.js +100 -0
- package/packages/config-stylelint/node_modules/postcss-safe-parser/package.json +36 -0
- package/packages/config-stylelint/node_modules/slash/index.d.ts +23 -0
- package/packages/config-stylelint/node_modules/slash/index.js +9 -0
- package/packages/config-stylelint/node_modules/slash/license +9 -0
- package/packages/config-stylelint/node_modules/slash/package.json +39 -0
- package/packages/config-stylelint/node_modules/slash/readme.md +36 -0
- package/packages/config-stylelint/node_modules/string-width/index.d.ts +39 -0
- package/packages/config-stylelint/node_modules/string-width/index.js +119 -0
- package/packages/config-stylelint/node_modules/string-width/license +9 -0
- package/packages/config-stylelint/node_modules/string-width/package.json +65 -0
- package/packages/config-stylelint/node_modules/string-width/readme.md +66 -0
- package/packages/config-stylelint/node_modules/strip-ansi/index.d.ts +15 -0
- package/packages/config-stylelint/node_modules/strip-ansi/index.js +19 -0
- package/packages/config-stylelint/node_modules/strip-ansi/license +9 -0
- package/packages/config-stylelint/node_modules/strip-ansi/package.json +59 -0
- package/packages/config-stylelint/node_modules/strip-ansi/readme.md +37 -0
- package/packages/config-stylelint/node_modules/stylelint/LICENSE +20 -0
- package/packages/config-stylelint/node_modules/stylelint/README.md +113 -0
- package/packages/config-stylelint/node_modules/stylelint/bin/stylelint.mjs +7 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/assignDisabledRanges.mjs +483 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/augmentConfig.mjs +586 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/cli.mjs +746 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/constants.mjs +25 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/createPartialStylelintResult.mjs +114 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/createPlugin.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/createStylelint.mjs +37 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/descriptionlessDisables.mjs +51 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/calcSeverityCounts.mjs +21 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/compactFormatter.mjs +23 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/index.mjs +23 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/jsonFormatter.mjs +10 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/preprocessWarnings.mjs +74 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/stringFormatter.mjs +308 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/tapFormatter.mjs +85 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/terminalLink.mjs +21 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/unixFormatter.mjs +32 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/formatters/verboseFormatter.mjs +175 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/getConfigForFile.mjs +110 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/getPostcssResult.mjs +130 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/index.mjs +38 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/invalidScopeDisables.mjs +41 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/isPathIgnored.mjs +48 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/lintPostcssResult.mjs +172 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/lintSource.mjs +135 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/needlessDisables.mjs +91 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/normalizeAllRuleSettings.mjs +29 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/normalizeRuleSettings.mjs +56 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/postcssPlugin.mjs +50 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/prepareReturnValue.mjs +63 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/printConfig.mjs +44 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/atKeywords.mjs +83 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/functions.mjs +96 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/keywords.mjs +663 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/mediaFeatures.mjs +115 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/mediaTypes.mjs +14 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/prefixes.mjs +17 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/properties.mjs +1112 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/selectors.mjs +472 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reference/units.mjs +82 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reportDisables.mjs +48 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/reportUnknownRuleNames.mjs +76 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/resolveConfig.mjs +43 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/alpha-value-notation/index.mjs +207 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/annotation-no-unknown/index.mjs +88 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-allowed-list/index.mjs +62 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-descriptor-no-unknown/index.mjs +108 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-descriptor-value-no-unknown/index.mjs +64 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-disallowed-list/index.mjs +62 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-empty-line-before/index.mjs +178 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-no-deprecated/index.mjs +86 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-no-unknown/index.mjs +80 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/index.mjs +82 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-prelude-no-invalid/index.mjs +76 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/at-rule-property-required-list/index.mjs +92 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/block-no-empty/index.mjs +116 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/block-no-redundant-nested-style-rules/index.mjs +52 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-function-alias-notation/index.mjs +87 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-function-notation/index.mjs +168 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-hex-alpha/index.mjs +75 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-hex-length/index.mjs +128 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-named/colordUtils.mjs +109 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-named/index.mjs +183 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-no-hex/index.mjs +69 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/color-no-invalid-hex/index.mjs +68 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/comment-empty-line-before/index.mjs +131 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/comment-no-empty/index.mjs +50 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/comment-pattern/index.mjs +51 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/comment-whitespace-inside/index.mjs +149 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/comment-word-disallowed-list/index.mjs +63 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/container-name-pattern/index.mjs +107 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/custom-media-pattern/index.mjs +61 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/custom-property-empty-line-before/index.mjs +156 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/custom-property-no-missing-var-function/index.mjs +148 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/custom-property-pattern/index.mjs +100 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-custom-properties/index.mjs +82 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/index.mjs +301 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/index.mjs +411 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/index.mjs +74 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/index.mjs +62 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-empty-line-before/index.mjs +160 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-no-important/index.mjs +51 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-max-values/index.mjs +79 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-unit-allowed-list/index.mjs +108 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-unit-disallowed-list/index.mjs +94 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-value-allowed-list/index.mjs +66 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-value-disallowed-list/index.mjs +66 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-value-keyword-no-deprecated/index.mjs +203 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/declaration-property-value-no-unknown/index.mjs +424 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/display-notation/index.mjs +225 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/font-family-name-quotes/index.mjs +243 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/font-family-no-duplicate-names/index.mjs +122 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/font-family-no-missing-generic-family-keyword/index.mjs +122 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/font-weight-notation/index.mjs +221 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-allowed-list/index.mjs +114 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/index.mjs +589 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-disallowed-list/index.mjs +73 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/index.mjs +145 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-name-case/index.mjs +120 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-no-unknown/index.mjs +83 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-url-no-scheme-relative/index.mjs +67 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-url-quotes/index.mjs +230 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-url-scheme-allowed-list/index.mjs +70 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/function-url-scheme-disallowed-list/index.mjs +70 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/hue-degree-notation/index.mjs +123 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/import-notation/index.mjs +104 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/index.mjs +180 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/keyframe-block-no-duplicate-selectors/index.mjs +68 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/keyframe-declaration-no-important/index.mjs +54 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/keyframe-selector-notation/index.mjs +202 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/keyframes-name-pattern/index.mjs +63 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/layer-name-pattern/index.mjs +91 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/length-zero-no-unit/index.mjs +221 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/lightness-notation/index.mjs +165 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/max-nesting-depth/index.mjs +195 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-allowed-list/index.mjs +67 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-disallowed-list/index.mjs +67 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-no-unknown/index.mjs +79 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/index.mjs +94 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-unit-allowed-list/index.mjs +110 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-value-allowed-list/index.mjs +100 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-name-value-no-unknown/index.mjs +277 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-feature-range-notation/index.mjs +187 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-query-no-invalid/index.mjs +193 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/media-type-no-deprecated/index.mjs +82 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/index.mjs +117 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/named-grid-areas-no-invalid/utils/findNotContiguousOrRectangular.mjs +57 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/nesting-selector-no-missing-scoping-root/index.mjs +165 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-descending-specificity/index.mjs +200 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-duplicate-at-import-rules/index.mjs +156 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-duplicate-selectors/index.mjs +218 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-empty-source/index.mjs +61 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/index.mjs +77 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-invalid-position-at-import-rule/index.mjs +76 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-invalid-position-declaration/index.mjs +86 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-irregular-whitespace/index.mjs +236 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-unknown-animations/index.mjs +71 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-unknown-custom-media/index.mjs +77 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/no-unknown-custom-properties/index.mjs +72 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/number-max-precision/index.mjs +209 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/property-allowed-list/index.mjs +58 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/property-disallowed-list/index.mjs +58 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/property-no-deprecated/index.mjs +143 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/property-no-unknown/index.mjs +126 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/property-no-vendor-prefix/index.mjs +100 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/rule-empty-line-before/index.mjs +156 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/rule-nesting-at-rule-required-list/index.mjs +85 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/rule-selector-property-disallowed-list/index.mjs +119 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-anb-no-unmatchable/index.mjs +121 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-attribute-name-disallowed-list/index.mjs +69 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-attribute-operator-allowed-list/index.mjs +70 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-attribute-operator-disallowed-list/index.mjs +70 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-attribute-quotes/index.mjs +107 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-class-pattern/index.mjs +71 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-combinator-allowed-list/index.mjs +81 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-combinator-disallowed-list/index.mjs +81 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-disallowed-list/index.mjs +115 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-id-pattern/index.mjs +66 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-attribute/index.mjs +92 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-class/index.mjs +75 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-combinators/index.mjs +77 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-compound-selectors/index.mjs +123 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-id/index.mjs +107 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-pseudo-class/index.mjs +85 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-specificity/index.mjs +146 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-type/index.mjs +219 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-max-universal/index.mjs +95 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-nested-pattern/index.mjs +95 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-no-qualifying-type/index.mjs +323 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-no-vendor-prefix/index.mjs +92 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-not-notation/index.mjs +217 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-class-allowed-list/index.mjs +84 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-class-disallowed-list/index.mjs +84 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/index.mjs +179 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-element-allowed-list/index.mjs +75 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/index.mjs +93 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-element-disallowed-list/index.mjs +74 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/index.mjs +91 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-type-case/index.mjs +118 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/selector-type-no-unknown/index.mjs +148 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/index.mjs +359 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/string-no-newline/index.mjs +120 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/syntax-string-no-invalid/index.mjs +80 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/time-min-milliseconds/index.mjs +167 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/unit-allowed-list/index.mjs +116 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/unit-disallowed-list/index.mjs +211 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/unit-no-unknown/index.mjs +207 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/value-keyword-case/index.mjs +253 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/rules/value-no-vendor-prefix/index.mjs +92 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/standalone.mjs +381 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/timing.mjs +134 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/unscopedDisables.mjs +66 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/FileCache.mjs +115 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/addEmptyLineBefore.mjs +21 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/addSemicolonForEditInfo.mjs +35 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/appendRuleName.mjs +13 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/arrayEqual.mjs +14 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/beforeBlockString.mjs +28 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/blockString.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/blurInterpolation.mjs +8 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/cachedImport.mjs +68 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/checkAgainstRule.mjs +71 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/checkInvalidCLIOptions.mjs +105 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/configurationComment.mjs +74 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/containsString.mjs +52 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/createMapWithSet.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/dynamicImport.mjs +13 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/eachDeclarationBlock.mjs +59 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/eachNodeUpToRoot.mjs +22 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/emitWarning.mjs +83 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/errors.mjs +55 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/filterFilePaths.mjs +17 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/findAnimationName.mjs +74 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/findAtRuleContext.mjs +27 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/findFontFamily.mjs +148 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/findMediaFeatureNames.mjs +151 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/findNodeUpToRoot.mjs +25 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/fixEmptyLinesBefore.mjs +26 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/functionArgumentsSearch.mjs +64 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getAtRuleParams.mjs +7 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getDeclarationValue.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getDimension.mjs +62 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getFileIgnorer.mjs +41 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getFormatter.mjs +43 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getFormatterOptionsText.mjs +12 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getImportantPosition.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getLexer.mjs +39 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getModulePath.mjs +35 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getNextNonSharedLineCommentNode.mjs +34 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getPreviousNonSharedLineCommentNode.mjs +36 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getRelativePath.mjs +12 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getRuleSelector.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getSchemeFromUrl.mjs +36 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getSelectorSourceIndex.mjs +12 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getStrippedSelectorSource.mjs +47 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/getStylelintRule.mjs +22 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasBlock.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasEmptyLine.mjs +13 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasInterpolation.mjs +24 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasLessInterpolation.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasPsvInterpolation.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasScssInterpolation.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hasTplInterpolation.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/hash.mjs +10 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isAfterBlock.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isAfterComment.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isAfterSingleLineComment.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isAfterStandardPropertyDeclaration.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isAutoprefixable.mjs +364 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterBlocklessAtRule.mjs +21 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule.mjs +21 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isContextFunctionalPseudoClass.mjs +24 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCounterIncrementCustomIdentValue.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCounterResetCustomIdentValue.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCustomElement.mjs +34 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCustomFunction.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCustomMediaQuery.mjs +8 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCustomProperty.mjs +8 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isCustomSelector.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isDescriptorDeclaration.mjs +22 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isFirstNested.mjs +83 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isFirstNodeOfRoot.mjs +17 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isHexColor.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isInDocument.mjs +32 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isKeyframeRule.mjs +17 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isKeyframeSelector.mjs +29 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isMathFunction.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isNonNegativeInteger.mjs +6 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isNumbery.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isOnlyWhitespace.mjs +17 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isPathNotFoundError.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isScssVariable.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isSharedLineComment.mjs +53 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isSingleLineString.mjs +10 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxAtRule.mjs +32 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxColorFunction.mjs +24 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxCombinator.mjs +32 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxComment.mjs +13 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.mjs +57 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxFunction.mjs +28 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxHexColor.mjs +14 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxKeyframesName.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxProperty.mjs +32 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxRule.mjs +24 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxSelector.mjs +56 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxTypeSelector.mjs +56 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxUrl.mjs +49 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isStandardSyntaxValue.mjs +51 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isUnicodeRangeDescriptor.mjs +24 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isUnicodeSupported.mjs +26 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isUrlFunction.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isValidFontSize.mjs +38 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isValidHex.mjs +11 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isValidIdentifier.mjs +39 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isVarFunction.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isVariable.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/isWhitespace.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/matchesStringOrRegExp.mjs +97 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/mergeSyntaxDefinitions.mjs +137 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/narrowFixRange.mjs +68 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/nodeContextLookup.mjs +41 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/nodeFieldIndices.mjs +119 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/normalizeFilePath.mjs +26 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/normalizeFixMode.mjs +22 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/normalizeSelector.mjs +166 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/optionsMatches.mjs +20 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/parseCustomMediaQuery.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/parseMediaQuery.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/parseSelector.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/pathExists.mjs +16 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/pluralize.mjs +10 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/putIfAbsent.mjs +20 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/rangesOverlap.mjs +19 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/rawNodeString.mjs +29 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/regexes.mjs +135 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/removeEmptyLinesBefore.mjs +13 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/report.mjs +321 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/reportCommentProblem.mjs +39 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/resolveFilePath.mjs +38 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/resolveNestedSelectorsForRule.mjs +108 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/resolveOptionValue.mjs +30 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/resolveSilent.mjs +144 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/ruleMessages.mjs +18 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/setAtRuleParams.mjs +18 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/setDeclarationValue.mjs +18 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/suppressionsService.mjs +317 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/toPath.mjs +23 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/typeGuards.mjs +90 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/uniteSets.mjs +9 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/validateObjectWithArrayProps.mjs +29 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/validateObjectWithProps.mjs +28 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/validateOptions.mjs +176 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/validateTypes.mjs +148 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/utils/vendor.mjs +43 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/validateDisableSettings.mjs +67 -0
- package/packages/config-stylelint/node_modules/stylelint/lib/writeOutputFile.mjs +15 -0
- package/packages/config-stylelint/node_modules/stylelint/package.json +212 -0
- package/packages/config-stylelint/node_modules/stylelint/types/stylelint/index.d.ts +1590 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/default.d.ts +13 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/default.js +14 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/license +9 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/node.d.ts +125 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/node.js +49 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/package.json +68 -0
- package/packages/config-stylelint/node_modules/unicorn-magic/readme.md +31 -0
- package/packages/config-stylelint/package.json +2 -2
|
@@ -0,0 +1,1112 @@
|
|
|
1
|
+
/** @type {ReadonlySet<string>} */
|
|
2
|
+
export const acceptCustomIdentsProperties = new Set([
|
|
3
|
+
'animation',
|
|
4
|
+
'animation-name',
|
|
5
|
+
'font',
|
|
6
|
+
'font-family',
|
|
7
|
+
'counter-increment',
|
|
8
|
+
'grid-row',
|
|
9
|
+
'grid-column',
|
|
10
|
+
'grid-area',
|
|
11
|
+
'list-style',
|
|
12
|
+
'list-style-type',
|
|
13
|
+
]);
|
|
14
|
+
|
|
15
|
+
/** @type {ReadonlyMap<string, ReadonlySet<string>>} */
|
|
16
|
+
export const shorthandToResetToInitialProperty = new Map([
|
|
17
|
+
[
|
|
18
|
+
'border',
|
|
19
|
+
new Set([
|
|
20
|
+
'border-image',
|
|
21
|
+
'border-image-outset',
|
|
22
|
+
'border-image-repeat',
|
|
23
|
+
'border-image-slice',
|
|
24
|
+
'border-image-source',
|
|
25
|
+
'border-image-width',
|
|
26
|
+
]),
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
/** @see https://www.w3.org/TR/css-fonts-4/#font-prop */
|
|
30
|
+
'font',
|
|
31
|
+
new Set([
|
|
32
|
+
// prettier-ignore
|
|
33
|
+
'font-feature-settings',
|
|
34
|
+
'font-kerning',
|
|
35
|
+
'font-language-override',
|
|
36
|
+
'font-optical-sizing',
|
|
37
|
+
'font-size-adjust',
|
|
38
|
+
'font-variant-alternates',
|
|
39
|
+
'font-variant-caps',
|
|
40
|
+
'font-variant-east-asian',
|
|
41
|
+
'font-variant-emoji',
|
|
42
|
+
'font-variant-ligatures',
|
|
43
|
+
'font-variant-numeric',
|
|
44
|
+
'font-variant-position',
|
|
45
|
+
'font-variation-settings',
|
|
46
|
+
]),
|
|
47
|
+
],
|
|
48
|
+
]);
|
|
49
|
+
|
|
50
|
+
/** @type {import('stylelint').LonghandSubPropertiesOfShorthandProperties} */
|
|
51
|
+
export const longhandSubPropertiesOfShorthandProperties = new Map([
|
|
52
|
+
// Sort alphabetically
|
|
53
|
+
[
|
|
54
|
+
'animation',
|
|
55
|
+
new Set([
|
|
56
|
+
// prettier-ignore
|
|
57
|
+
'animation-name',
|
|
58
|
+
'animation-duration',
|
|
59
|
+
'animation-timing-function',
|
|
60
|
+
'animation-delay',
|
|
61
|
+
'animation-iteration-count',
|
|
62
|
+
'animation-direction',
|
|
63
|
+
'animation-fill-mode',
|
|
64
|
+
'animation-play-state',
|
|
65
|
+
]),
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
'background',
|
|
69
|
+
new Set([
|
|
70
|
+
// prettier-ignore
|
|
71
|
+
'background-image',
|
|
72
|
+
'background-size',
|
|
73
|
+
'background-position',
|
|
74
|
+
'background-repeat',
|
|
75
|
+
'background-origin',
|
|
76
|
+
'background-clip',
|
|
77
|
+
'background-attachment',
|
|
78
|
+
'background-color',
|
|
79
|
+
]),
|
|
80
|
+
],
|
|
81
|
+
[
|
|
82
|
+
'border',
|
|
83
|
+
new Set([
|
|
84
|
+
// prettier-ignore
|
|
85
|
+
'border-top-width',
|
|
86
|
+
'border-right-width',
|
|
87
|
+
'border-bottom-width',
|
|
88
|
+
'border-left-width',
|
|
89
|
+
'border-top-style',
|
|
90
|
+
'border-right-style',
|
|
91
|
+
'border-bottom-style',
|
|
92
|
+
'border-left-style',
|
|
93
|
+
'border-top-color',
|
|
94
|
+
'border-right-color',
|
|
95
|
+
'border-bottom-color',
|
|
96
|
+
'border-left-color',
|
|
97
|
+
'border-width',
|
|
98
|
+
'border-style',
|
|
99
|
+
'border-color',
|
|
100
|
+
]),
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
'border-block',
|
|
104
|
+
new Set([
|
|
105
|
+
// prettier-ignore
|
|
106
|
+
'border-block-width',
|
|
107
|
+
'border-block-style',
|
|
108
|
+
'border-block-color',
|
|
109
|
+
]),
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
'border-block-end',
|
|
113
|
+
new Set([
|
|
114
|
+
// prettier-ignore
|
|
115
|
+
'border-block-end-width',
|
|
116
|
+
'border-block-end-style',
|
|
117
|
+
'border-block-end-color',
|
|
118
|
+
]),
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
'border-block-start',
|
|
122
|
+
new Set([
|
|
123
|
+
// prettier-ignore
|
|
124
|
+
'border-block-start-width',
|
|
125
|
+
'border-block-start-style',
|
|
126
|
+
'border-block-start-color',
|
|
127
|
+
]),
|
|
128
|
+
],
|
|
129
|
+
[
|
|
130
|
+
'border-bottom',
|
|
131
|
+
new Set([
|
|
132
|
+
// prettier-ignore
|
|
133
|
+
'border-bottom-width',
|
|
134
|
+
'border-bottom-style',
|
|
135
|
+
'border-bottom-color',
|
|
136
|
+
]),
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
'border-color',
|
|
140
|
+
new Set([
|
|
141
|
+
// prettier-ignore
|
|
142
|
+
'border-top-color',
|
|
143
|
+
'border-right-color',
|
|
144
|
+
'border-bottom-color',
|
|
145
|
+
'border-left-color',
|
|
146
|
+
]),
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
'border-image',
|
|
150
|
+
new Set([
|
|
151
|
+
// prettier-ignore
|
|
152
|
+
'border-image-source',
|
|
153
|
+
'border-image-slice',
|
|
154
|
+
'border-image-width',
|
|
155
|
+
'border-image-outset',
|
|
156
|
+
'border-image-repeat',
|
|
157
|
+
]),
|
|
158
|
+
],
|
|
159
|
+
[
|
|
160
|
+
'border-inline',
|
|
161
|
+
new Set([
|
|
162
|
+
// prettier-ignore
|
|
163
|
+
'border-inline-width',
|
|
164
|
+
'border-inline-style',
|
|
165
|
+
'border-inline-color',
|
|
166
|
+
]),
|
|
167
|
+
],
|
|
168
|
+
[
|
|
169
|
+
'border-inline-end',
|
|
170
|
+
new Set([
|
|
171
|
+
// prettier-ignore
|
|
172
|
+
'border-inline-end-width',
|
|
173
|
+
'border-inline-end-style',
|
|
174
|
+
'border-inline-end-color',
|
|
175
|
+
]),
|
|
176
|
+
],
|
|
177
|
+
[
|
|
178
|
+
'border-inline-start',
|
|
179
|
+
new Set([
|
|
180
|
+
// prettier-ignore
|
|
181
|
+
'border-inline-start-width',
|
|
182
|
+
'border-inline-start-style',
|
|
183
|
+
'border-inline-start-color',
|
|
184
|
+
]),
|
|
185
|
+
],
|
|
186
|
+
[
|
|
187
|
+
'border-left',
|
|
188
|
+
new Set([
|
|
189
|
+
// prettier-ignore
|
|
190
|
+
'border-left-width',
|
|
191
|
+
'border-left-style',
|
|
192
|
+
'border-left-color',
|
|
193
|
+
]),
|
|
194
|
+
],
|
|
195
|
+
[
|
|
196
|
+
'border-radius',
|
|
197
|
+
new Set([
|
|
198
|
+
// prettier-ignore
|
|
199
|
+
'border-top-left-radius',
|
|
200
|
+
'border-top-right-radius',
|
|
201
|
+
'border-bottom-right-radius',
|
|
202
|
+
'border-bottom-left-radius',
|
|
203
|
+
]),
|
|
204
|
+
],
|
|
205
|
+
[
|
|
206
|
+
'border-right',
|
|
207
|
+
new Set([
|
|
208
|
+
// prettier-ignore
|
|
209
|
+
'border-right-width',
|
|
210
|
+
'border-right-style',
|
|
211
|
+
'border-right-color',
|
|
212
|
+
]),
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
'border-style',
|
|
216
|
+
new Set([
|
|
217
|
+
// prettier-ignore
|
|
218
|
+
'border-top-style',
|
|
219
|
+
'border-right-style',
|
|
220
|
+
'border-bottom-style',
|
|
221
|
+
'border-left-style',
|
|
222
|
+
]),
|
|
223
|
+
],
|
|
224
|
+
[
|
|
225
|
+
'border-top',
|
|
226
|
+
new Set([
|
|
227
|
+
// prettier-ignore
|
|
228
|
+
'border-top-width',
|
|
229
|
+
'border-top-style',
|
|
230
|
+
'border-top-color',
|
|
231
|
+
]),
|
|
232
|
+
],
|
|
233
|
+
[
|
|
234
|
+
'border-width',
|
|
235
|
+
new Set([
|
|
236
|
+
// prettier-ignore
|
|
237
|
+
'border-top-width',
|
|
238
|
+
'border-right-width',
|
|
239
|
+
'border-bottom-width',
|
|
240
|
+
'border-left-width',
|
|
241
|
+
]),
|
|
242
|
+
],
|
|
243
|
+
[
|
|
244
|
+
'column-rule',
|
|
245
|
+
new Set([
|
|
246
|
+
// prettier-ignore
|
|
247
|
+
'column-rule-width',
|
|
248
|
+
'column-rule-style',
|
|
249
|
+
'column-rule-color',
|
|
250
|
+
]),
|
|
251
|
+
],
|
|
252
|
+
[
|
|
253
|
+
'columns',
|
|
254
|
+
new Set([
|
|
255
|
+
// prettier-ignore
|
|
256
|
+
'column-width',
|
|
257
|
+
'column-count',
|
|
258
|
+
]),
|
|
259
|
+
],
|
|
260
|
+
[
|
|
261
|
+
'flex',
|
|
262
|
+
new Set([
|
|
263
|
+
// prettier-ignore
|
|
264
|
+
'flex-grow',
|
|
265
|
+
'flex-shrink',
|
|
266
|
+
'flex-basis',
|
|
267
|
+
]),
|
|
268
|
+
],
|
|
269
|
+
[
|
|
270
|
+
'flex-flow',
|
|
271
|
+
new Set([
|
|
272
|
+
// prettier-ignore
|
|
273
|
+
'flex-direction',
|
|
274
|
+
'flex-wrap',
|
|
275
|
+
]),
|
|
276
|
+
],
|
|
277
|
+
[
|
|
278
|
+
'font',
|
|
279
|
+
new Set([
|
|
280
|
+
// prettier-ignore
|
|
281
|
+
'font-style',
|
|
282
|
+
/**
|
|
283
|
+
* reset explicitly: normal | small-caps
|
|
284
|
+
* reset implicitly: all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps
|
|
285
|
+
* i.e. either way it will be reset
|
|
286
|
+
* {@link https://www.w3.org/TR/css-fonts-4/#font-variant-prop World Wide Web Consortium}
|
|
287
|
+
*/
|
|
288
|
+
'font-variant',
|
|
289
|
+
'font-weight',
|
|
290
|
+
'font-stretch',
|
|
291
|
+
'font-size',
|
|
292
|
+
'line-height',
|
|
293
|
+
'font-family',
|
|
294
|
+
]),
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
'font-synthesis',
|
|
298
|
+
new Set([
|
|
299
|
+
// prettier-ignore
|
|
300
|
+
'font-synthesis-weight',
|
|
301
|
+
'font-synthesis-style',
|
|
302
|
+
'font-synthesis-small-caps',
|
|
303
|
+
]),
|
|
304
|
+
],
|
|
305
|
+
[
|
|
306
|
+
'font-variant',
|
|
307
|
+
new Set([
|
|
308
|
+
// prettier-ignore
|
|
309
|
+
'font-variant-ligatures',
|
|
310
|
+
'font-variant-position',
|
|
311
|
+
'font-variant-caps',
|
|
312
|
+
'font-variant-numeric',
|
|
313
|
+
'font-variant-alternates',
|
|
314
|
+
'font-variant-east-asian',
|
|
315
|
+
'font-variant-emoji',
|
|
316
|
+
]),
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
'gap',
|
|
320
|
+
new Set([
|
|
321
|
+
// prettier-ignore
|
|
322
|
+
'row-gap',
|
|
323
|
+
'column-gap',
|
|
324
|
+
]),
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
'grid',
|
|
328
|
+
new Set([
|
|
329
|
+
// prettier-ignore
|
|
330
|
+
'grid-template-rows',
|
|
331
|
+
'grid-template-columns',
|
|
332
|
+
'grid-template-areas',
|
|
333
|
+
'grid-auto-rows',
|
|
334
|
+
'grid-auto-columns',
|
|
335
|
+
'grid-auto-flow',
|
|
336
|
+
'grid-column-gap',
|
|
337
|
+
'grid-row-gap',
|
|
338
|
+
]),
|
|
339
|
+
],
|
|
340
|
+
[
|
|
341
|
+
'grid-area',
|
|
342
|
+
new Set([
|
|
343
|
+
// prettier-ignore
|
|
344
|
+
'grid-row-start',
|
|
345
|
+
'grid-column-start',
|
|
346
|
+
'grid-row-end',
|
|
347
|
+
'grid-column-end',
|
|
348
|
+
]),
|
|
349
|
+
],
|
|
350
|
+
[
|
|
351
|
+
'grid-column',
|
|
352
|
+
new Set([
|
|
353
|
+
// prettier-ignore
|
|
354
|
+
'grid-column-start',
|
|
355
|
+
'grid-column-end',
|
|
356
|
+
]),
|
|
357
|
+
],
|
|
358
|
+
[
|
|
359
|
+
'grid-gap',
|
|
360
|
+
new Set([
|
|
361
|
+
// prettier-ignore
|
|
362
|
+
'grid-row-gap',
|
|
363
|
+
'grid-column-gap',
|
|
364
|
+
]),
|
|
365
|
+
],
|
|
366
|
+
[
|
|
367
|
+
'grid-row',
|
|
368
|
+
new Set([
|
|
369
|
+
// prettier-ignore
|
|
370
|
+
'grid-row-start',
|
|
371
|
+
'grid-row-end',
|
|
372
|
+
]),
|
|
373
|
+
],
|
|
374
|
+
[
|
|
375
|
+
'grid-template',
|
|
376
|
+
new Set([
|
|
377
|
+
// prettier-ignore
|
|
378
|
+
'grid-template-columns',
|
|
379
|
+
'grid-template-rows',
|
|
380
|
+
'grid-template-areas',
|
|
381
|
+
]),
|
|
382
|
+
],
|
|
383
|
+
[
|
|
384
|
+
'inset',
|
|
385
|
+
new Set([
|
|
386
|
+
// prettier-ignore
|
|
387
|
+
'top',
|
|
388
|
+
'right',
|
|
389
|
+
'bottom',
|
|
390
|
+
'left',
|
|
391
|
+
]),
|
|
392
|
+
],
|
|
393
|
+
[
|
|
394
|
+
'inset-block',
|
|
395
|
+
new Set([
|
|
396
|
+
// prettier-ignore
|
|
397
|
+
'inset-block-start',
|
|
398
|
+
'inset-block-end',
|
|
399
|
+
]),
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
'inset-inline',
|
|
403
|
+
new Set([
|
|
404
|
+
// prettier-ignore
|
|
405
|
+
'inset-inline-start',
|
|
406
|
+
'inset-inline-end',
|
|
407
|
+
]),
|
|
408
|
+
],
|
|
409
|
+
[
|
|
410
|
+
'list-style',
|
|
411
|
+
new Set([
|
|
412
|
+
// prettier-ignore
|
|
413
|
+
'list-style-type',
|
|
414
|
+
'list-style-position',
|
|
415
|
+
'list-style-image',
|
|
416
|
+
]),
|
|
417
|
+
],
|
|
418
|
+
[
|
|
419
|
+
'margin',
|
|
420
|
+
new Set([
|
|
421
|
+
// prettier-ignore
|
|
422
|
+
'margin-top',
|
|
423
|
+
'margin-right',
|
|
424
|
+
'margin-bottom',
|
|
425
|
+
'margin-left',
|
|
426
|
+
]),
|
|
427
|
+
],
|
|
428
|
+
[
|
|
429
|
+
'margin-block',
|
|
430
|
+
new Set([
|
|
431
|
+
// prettier-ignore
|
|
432
|
+
'margin-block-start',
|
|
433
|
+
'margin-block-end',
|
|
434
|
+
]),
|
|
435
|
+
],
|
|
436
|
+
[
|
|
437
|
+
'margin-inline',
|
|
438
|
+
new Set([
|
|
439
|
+
// prettier-ignore
|
|
440
|
+
'margin-inline-start',
|
|
441
|
+
'margin-inline-end',
|
|
442
|
+
]),
|
|
443
|
+
],
|
|
444
|
+
[
|
|
445
|
+
'mask',
|
|
446
|
+
new Set([
|
|
447
|
+
// prettier-ignore
|
|
448
|
+
'mask-image',
|
|
449
|
+
'mask-mode',
|
|
450
|
+
'mask-position',
|
|
451
|
+
'mask-size',
|
|
452
|
+
'mask-repeat',
|
|
453
|
+
'mask-origin',
|
|
454
|
+
'mask-clip',
|
|
455
|
+
'mask-composite',
|
|
456
|
+
]),
|
|
457
|
+
],
|
|
458
|
+
[
|
|
459
|
+
'outline',
|
|
460
|
+
new Set([
|
|
461
|
+
// prettier-ignore
|
|
462
|
+
'outline-color',
|
|
463
|
+
'outline-style',
|
|
464
|
+
'outline-width',
|
|
465
|
+
]),
|
|
466
|
+
],
|
|
467
|
+
[
|
|
468
|
+
'overflow',
|
|
469
|
+
new Set([
|
|
470
|
+
// prettier-ignore
|
|
471
|
+
'overflow-x',
|
|
472
|
+
'overflow-y',
|
|
473
|
+
]),
|
|
474
|
+
],
|
|
475
|
+
[
|
|
476
|
+
'overscroll-behavior',
|
|
477
|
+
new Set([
|
|
478
|
+
// prettier-ignore
|
|
479
|
+
'overscroll-behavior-x',
|
|
480
|
+
'overscroll-behavior-y',
|
|
481
|
+
]),
|
|
482
|
+
],
|
|
483
|
+
[
|
|
484
|
+
'padding',
|
|
485
|
+
new Set([
|
|
486
|
+
// prettier-ignore
|
|
487
|
+
'padding-top',
|
|
488
|
+
'padding-right',
|
|
489
|
+
'padding-bottom',
|
|
490
|
+
'padding-left',
|
|
491
|
+
]),
|
|
492
|
+
],
|
|
493
|
+
[
|
|
494
|
+
'padding-block',
|
|
495
|
+
new Set([
|
|
496
|
+
// prettier-ignore
|
|
497
|
+
'padding-block-start',
|
|
498
|
+
'padding-block-end',
|
|
499
|
+
]),
|
|
500
|
+
],
|
|
501
|
+
[
|
|
502
|
+
'padding-inline',
|
|
503
|
+
new Set([
|
|
504
|
+
// prettier-ignore
|
|
505
|
+
'padding-inline-start',
|
|
506
|
+
'padding-inline-end',
|
|
507
|
+
]),
|
|
508
|
+
],
|
|
509
|
+
[
|
|
510
|
+
'place-content',
|
|
511
|
+
new Set([
|
|
512
|
+
// prettier-ignore
|
|
513
|
+
'align-content',
|
|
514
|
+
'justify-content',
|
|
515
|
+
]),
|
|
516
|
+
],
|
|
517
|
+
[
|
|
518
|
+
'place-items',
|
|
519
|
+
new Set([
|
|
520
|
+
// prettier-ignore
|
|
521
|
+
'align-items',
|
|
522
|
+
'justify-items',
|
|
523
|
+
]),
|
|
524
|
+
],
|
|
525
|
+
[
|
|
526
|
+
'place-self',
|
|
527
|
+
new Set([
|
|
528
|
+
// prettier-ignore
|
|
529
|
+
'align-self',
|
|
530
|
+
'justify-self',
|
|
531
|
+
]),
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
'scroll-margin',
|
|
535
|
+
new Set([
|
|
536
|
+
// prettier-ignore
|
|
537
|
+
'scroll-margin-top',
|
|
538
|
+
'scroll-margin-right',
|
|
539
|
+
'scroll-margin-bottom',
|
|
540
|
+
'scroll-margin-left',
|
|
541
|
+
]),
|
|
542
|
+
],
|
|
543
|
+
[
|
|
544
|
+
'scroll-margin-block',
|
|
545
|
+
new Set([
|
|
546
|
+
// prettier-ignore
|
|
547
|
+
'scroll-margin-block-start',
|
|
548
|
+
'scroll-margin-block-end',
|
|
549
|
+
]),
|
|
550
|
+
],
|
|
551
|
+
[
|
|
552
|
+
'scroll-margin-inline',
|
|
553
|
+
new Set([
|
|
554
|
+
// prettier-ignore
|
|
555
|
+
'scroll-margin-inline-start',
|
|
556
|
+
'scroll-margin-inline-end',
|
|
557
|
+
]),
|
|
558
|
+
],
|
|
559
|
+
[
|
|
560
|
+
'scroll-padding',
|
|
561
|
+
new Set([
|
|
562
|
+
// prettier-ignore
|
|
563
|
+
'scroll-padding-top',
|
|
564
|
+
'scroll-padding-right',
|
|
565
|
+
'scroll-padding-bottom',
|
|
566
|
+
'scroll-padding-left',
|
|
567
|
+
]),
|
|
568
|
+
],
|
|
569
|
+
[
|
|
570
|
+
'scroll-padding-block',
|
|
571
|
+
new Set([
|
|
572
|
+
// prettier-ignore
|
|
573
|
+
'scroll-padding-block-start',
|
|
574
|
+
'scroll-padding-block-end',
|
|
575
|
+
]),
|
|
576
|
+
],
|
|
577
|
+
[
|
|
578
|
+
'scroll-padding-inline',
|
|
579
|
+
new Set([
|
|
580
|
+
// prettier-ignore
|
|
581
|
+
'scroll-padding-inline-start',
|
|
582
|
+
'scroll-padding-inline-end',
|
|
583
|
+
]),
|
|
584
|
+
],
|
|
585
|
+
[
|
|
586
|
+
'text-decoration',
|
|
587
|
+
new Set([
|
|
588
|
+
// prettier-ignore
|
|
589
|
+
'text-decoration-line',
|
|
590
|
+
'text-decoration-style',
|
|
591
|
+
'text-decoration-color',
|
|
592
|
+
'text-decoration-thickness',
|
|
593
|
+
]),
|
|
594
|
+
],
|
|
595
|
+
[
|
|
596
|
+
'text-emphasis',
|
|
597
|
+
new Set([
|
|
598
|
+
// prettier-ignore
|
|
599
|
+
'text-emphasis-style',
|
|
600
|
+
'text-emphasis-color',
|
|
601
|
+
]),
|
|
602
|
+
],
|
|
603
|
+
[
|
|
604
|
+
'transition',
|
|
605
|
+
new Set([
|
|
606
|
+
// prettier-ignore
|
|
607
|
+
'transition-property',
|
|
608
|
+
'transition-duration',
|
|
609
|
+
'transition-timing-function',
|
|
610
|
+
'transition-delay',
|
|
611
|
+
]),
|
|
612
|
+
],
|
|
613
|
+
]);
|
|
614
|
+
|
|
615
|
+
/** @type {ReadonlySet<string>} */
|
|
616
|
+
export const singleValueColorProperties = new Set([
|
|
617
|
+
'accent-color',
|
|
618
|
+
'background-color',
|
|
619
|
+
'border-block-color',
|
|
620
|
+
'border-block-end-color',
|
|
621
|
+
'border-block-start-color',
|
|
622
|
+
'border-bottom-color',
|
|
623
|
+
'border-inline-color',
|
|
624
|
+
'border-inline-end-color',
|
|
625
|
+
'border-inline-start-color',
|
|
626
|
+
'border-left-color',
|
|
627
|
+
'border-right-color',
|
|
628
|
+
'border-top-color',
|
|
629
|
+
'caret-color',
|
|
630
|
+
'color',
|
|
631
|
+
'column-rule-color',
|
|
632
|
+
'outline-color',
|
|
633
|
+
'text-decoration-color',
|
|
634
|
+
'text-emphasis-color',
|
|
635
|
+
// SVG
|
|
636
|
+
'flood-color',
|
|
637
|
+
'lighting-color',
|
|
638
|
+
'stop-color',
|
|
639
|
+
]);
|
|
640
|
+
|
|
641
|
+
/** @type {ReadonlySet<string>} */
|
|
642
|
+
export const multiValueColorProperties = new Set(['border-color', 'scrollbar-color']);
|
|
643
|
+
|
|
644
|
+
/** @type {ReadonlySet<string>} */
|
|
645
|
+
export const colorProperties = new Set([
|
|
646
|
+
...singleValueColorProperties,
|
|
647
|
+
...multiValueColorProperties,
|
|
648
|
+
]);
|
|
649
|
+
|
|
650
|
+
/** @type {ReadonlySet<string>} */
|
|
651
|
+
export const longhandTimeProperties = new Set([
|
|
652
|
+
'transition-duration',
|
|
653
|
+
'transition-delay',
|
|
654
|
+
'animation-duration',
|
|
655
|
+
'animation-delay',
|
|
656
|
+
]);
|
|
657
|
+
|
|
658
|
+
/** @type {ReadonlySet<string>} */
|
|
659
|
+
export const shorthandTimeProperties = new Set(['transition', 'animation']);
|
|
660
|
+
|
|
661
|
+
/** @type {ReadonlySet<string>} */
|
|
662
|
+
export const pageContextProperties = new Set([
|
|
663
|
+
'direction',
|
|
664
|
+
'background-color',
|
|
665
|
+
'background-image',
|
|
666
|
+
'background-repeat',
|
|
667
|
+
'background-attachment',
|
|
668
|
+
'background-position',
|
|
669
|
+
'background',
|
|
670
|
+
'border-top-width',
|
|
671
|
+
'border-right-width',
|
|
672
|
+
'border-bottom-width',
|
|
673
|
+
'border-left-width',
|
|
674
|
+
'border-width',
|
|
675
|
+
'border-top-color',
|
|
676
|
+
'border-right-color',
|
|
677
|
+
'border-bottom-color',
|
|
678
|
+
'border-left-color',
|
|
679
|
+
'border-color',
|
|
680
|
+
'border-top-style',
|
|
681
|
+
'border-right-style',
|
|
682
|
+
'border-bottom-style',
|
|
683
|
+
'border-left-style',
|
|
684
|
+
'border-style',
|
|
685
|
+
'border-top',
|
|
686
|
+
'border-right',
|
|
687
|
+
'border-bottom',
|
|
688
|
+
'border-left',
|
|
689
|
+
'border',
|
|
690
|
+
'counter-reset',
|
|
691
|
+
'counter-increment',
|
|
692
|
+
'color',
|
|
693
|
+
'font-family',
|
|
694
|
+
'font-size',
|
|
695
|
+
'font-style',
|
|
696
|
+
'font-variant',
|
|
697
|
+
'font-weight',
|
|
698
|
+
'font',
|
|
699
|
+
'height',
|
|
700
|
+
'min-height',
|
|
701
|
+
'max-height',
|
|
702
|
+
'line-height',
|
|
703
|
+
'margin-top',
|
|
704
|
+
'margin-right',
|
|
705
|
+
'margin-bottom',
|
|
706
|
+
'margin-left',
|
|
707
|
+
'margin',
|
|
708
|
+
'outline-width',
|
|
709
|
+
'outline-style',
|
|
710
|
+
'outline-color',
|
|
711
|
+
'outline',
|
|
712
|
+
'padding-top',
|
|
713
|
+
'padding-right',
|
|
714
|
+
'padding-bottom',
|
|
715
|
+
'padding-left',
|
|
716
|
+
'padding',
|
|
717
|
+
'quotes',
|
|
718
|
+
'letter-spacing',
|
|
719
|
+
'text-align',
|
|
720
|
+
'text-decoration',
|
|
721
|
+
'text-indent',
|
|
722
|
+
'text-transform',
|
|
723
|
+
'white-space',
|
|
724
|
+
'word-spacing',
|
|
725
|
+
'visibility',
|
|
726
|
+
'width',
|
|
727
|
+
'min-width',
|
|
728
|
+
'max-width',
|
|
729
|
+
]);
|
|
730
|
+
|
|
731
|
+
/** @type {ReadonlySet<string>} */
|
|
732
|
+
export const marginContextProperties = new Set([
|
|
733
|
+
'direction',
|
|
734
|
+
'unicode-bidi',
|
|
735
|
+
'background-color',
|
|
736
|
+
'background-image',
|
|
737
|
+
'background-repeat',
|
|
738
|
+
'background-attachment',
|
|
739
|
+
'background-position',
|
|
740
|
+
'background',
|
|
741
|
+
'border-top-width',
|
|
742
|
+
'border-right-width',
|
|
743
|
+
'border-bottom-width',
|
|
744
|
+
'border-left-width',
|
|
745
|
+
'border-width',
|
|
746
|
+
'border-top-color',
|
|
747
|
+
'border-right-color',
|
|
748
|
+
'border-bottom-color',
|
|
749
|
+
'border-left-color',
|
|
750
|
+
'border-color',
|
|
751
|
+
'border-top-style',
|
|
752
|
+
'border-right-style',
|
|
753
|
+
'border-bottom-style',
|
|
754
|
+
'border-left-style',
|
|
755
|
+
'border-style',
|
|
756
|
+
'border-top',
|
|
757
|
+
'border-right',
|
|
758
|
+
'border-bottom',
|
|
759
|
+
'border-left',
|
|
760
|
+
'border',
|
|
761
|
+
'counter-reset',
|
|
762
|
+
'counter-increment',
|
|
763
|
+
'content',
|
|
764
|
+
'color',
|
|
765
|
+
'font-family',
|
|
766
|
+
'font-size',
|
|
767
|
+
'font-style',
|
|
768
|
+
'font-variant',
|
|
769
|
+
'font-weight',
|
|
770
|
+
'font',
|
|
771
|
+
'height',
|
|
772
|
+
'min-height',
|
|
773
|
+
'max-height',
|
|
774
|
+
'line-height',
|
|
775
|
+
'margin-top',
|
|
776
|
+
'margin-right',
|
|
777
|
+
'margin-bottom',
|
|
778
|
+
'margin-left',
|
|
779
|
+
'margin',
|
|
780
|
+
'outline-width',
|
|
781
|
+
'outline-style',
|
|
782
|
+
'outline-color',
|
|
783
|
+
'outline',
|
|
784
|
+
'overflow',
|
|
785
|
+
'padding-top',
|
|
786
|
+
'padding-right',
|
|
787
|
+
'padding-bottom',
|
|
788
|
+
'padding-left',
|
|
789
|
+
'padding',
|
|
790
|
+
'quotes',
|
|
791
|
+
'letter-spacing',
|
|
792
|
+
'text-align',
|
|
793
|
+
'text-decoration',
|
|
794
|
+
'text-indent',
|
|
795
|
+
'text-transform',
|
|
796
|
+
'white-space',
|
|
797
|
+
'word-spacing',
|
|
798
|
+
'vertical-align',
|
|
799
|
+
'visibility',
|
|
800
|
+
'width',
|
|
801
|
+
'min-width',
|
|
802
|
+
'max-width',
|
|
803
|
+
'z-index',
|
|
804
|
+
]);
|
|
805
|
+
|
|
806
|
+
// Known from before migrating to CSSTree
|
|
807
|
+
// @see https://github.com/stylelint/stylelint/issues/9065
|
|
808
|
+
/** @type {ReadonlySet<string>} */
|
|
809
|
+
export const previouslyKnownProperties = new Set([
|
|
810
|
+
'accelerator',
|
|
811
|
+
'alt',
|
|
812
|
+
'animation-trigger-behavior',
|
|
813
|
+
'animation-trigger-exit-range',
|
|
814
|
+
'animation-trigger-exit-range-end',
|
|
815
|
+
'animation-trigger-exit-range-start',
|
|
816
|
+
'animation-trigger-range',
|
|
817
|
+
'animation-trigger-range-end',
|
|
818
|
+
'animation-trigger-range-start',
|
|
819
|
+
'animation-trigger-timeline',
|
|
820
|
+
'app-region',
|
|
821
|
+
'audio-level',
|
|
822
|
+
'buffered-rendering',
|
|
823
|
+
'chains',
|
|
824
|
+
'color-profile',
|
|
825
|
+
'color-rendering',
|
|
826
|
+
'column-progression',
|
|
827
|
+
'column-rule-outset',
|
|
828
|
+
'display-align',
|
|
829
|
+
'elevation',
|
|
830
|
+
'enable-background',
|
|
831
|
+
'epub-caption-side',
|
|
832
|
+
'epub-hyphens',
|
|
833
|
+
'epub-text-combine',
|
|
834
|
+
'epub-text-emphasis',
|
|
835
|
+
'epub-text-emphasis-color',
|
|
836
|
+
'epub-text-emphasis-style',
|
|
837
|
+
'epub-text-orientation',
|
|
838
|
+
'epub-text-transform',
|
|
839
|
+
'epub-word-break',
|
|
840
|
+
'epub-writing-mode',
|
|
841
|
+
'flow',
|
|
842
|
+
'input-format',
|
|
843
|
+
'inset-area',
|
|
844
|
+
'item-slack',
|
|
845
|
+
'layout-flow',
|
|
846
|
+
'layout-grid',
|
|
847
|
+
'layout-grid-char',
|
|
848
|
+
'layout-grid-line',
|
|
849
|
+
'layout-grid-mode',
|
|
850
|
+
'layout-grid-type',
|
|
851
|
+
'line-increment',
|
|
852
|
+
'marker-knockout-left',
|
|
853
|
+
'marker-knockout-right',
|
|
854
|
+
'marker-offset',
|
|
855
|
+
'marker-pattern',
|
|
856
|
+
'marker-segment',
|
|
857
|
+
'mask-position-x',
|
|
858
|
+
'mask-position-y',
|
|
859
|
+
'mask-source-type',
|
|
860
|
+
'motion',
|
|
861
|
+
'motion-offset',
|
|
862
|
+
'motion-path',
|
|
863
|
+
'motion-rotation',
|
|
864
|
+
'nav-down',
|
|
865
|
+
'nav-index',
|
|
866
|
+
'nav-left',
|
|
867
|
+
'nav-right',
|
|
868
|
+
'nav-up',
|
|
869
|
+
'navigation',
|
|
870
|
+
'offset-block-end',
|
|
871
|
+
'offset-block-start',
|
|
872
|
+
'offset-inline-end',
|
|
873
|
+
'offset-inline-start',
|
|
874
|
+
'offset-rotation',
|
|
875
|
+
'pen-action',
|
|
876
|
+
'perspective-origin-x',
|
|
877
|
+
'perspective-origin-y',
|
|
878
|
+
'pitch',
|
|
879
|
+
'pitch-range',
|
|
880
|
+
'play-during',
|
|
881
|
+
'position-try-options',
|
|
882
|
+
'property-name',
|
|
883
|
+
'richness',
|
|
884
|
+
'row-rule-outset',
|
|
885
|
+
'rule-outset',
|
|
886
|
+
'rule-paint-order',
|
|
887
|
+
'running',
|
|
888
|
+
'scroll-snap-margin',
|
|
889
|
+
'scroll-snap-margin-bottom',
|
|
890
|
+
'scroll-snap-margin-left',
|
|
891
|
+
'scroll-snap-margin-right',
|
|
892
|
+
'scroll-snap-margin-top',
|
|
893
|
+
'scroll-start-target',
|
|
894
|
+
'scrollbar-arrow-color',
|
|
895
|
+
'scrollbar-base-color',
|
|
896
|
+
'scrollbar-dark-shadow-color',
|
|
897
|
+
'scrollbar-darkshadow-color',
|
|
898
|
+
'scrollbar-face-color',
|
|
899
|
+
'scrollbar-highlight-color',
|
|
900
|
+
'scrollbar-shadow-color',
|
|
901
|
+
'scrollbar-track-color',
|
|
902
|
+
'scrollbar3d-light-color',
|
|
903
|
+
'scrollbar3dlight-color',
|
|
904
|
+
'snap-height',
|
|
905
|
+
'solid-color',
|
|
906
|
+
'solid-opacity',
|
|
907
|
+
'speak-header',
|
|
908
|
+
'speak-numeral',
|
|
909
|
+
'speak-punctuation',
|
|
910
|
+
'speech-rate',
|
|
911
|
+
'stress',
|
|
912
|
+
'supported-color-schemes',
|
|
913
|
+
'text-decoration-blink',
|
|
914
|
+
'text-decoration-line-through',
|
|
915
|
+
'text-decoration-none',
|
|
916
|
+
'text-decoration-overline',
|
|
917
|
+
'text-decoration-skip-inset',
|
|
918
|
+
'text-decoration-trim',
|
|
919
|
+
'text-decoration-underline',
|
|
920
|
+
'text-justify-trim',
|
|
921
|
+
'text-kashida',
|
|
922
|
+
'text-kashida-space',
|
|
923
|
+
'text-line-through',
|
|
924
|
+
'text-line-through-color',
|
|
925
|
+
'text-line-through-mode',
|
|
926
|
+
'text-line-through-style',
|
|
927
|
+
'text-line-through-width',
|
|
928
|
+
'text-overline',
|
|
929
|
+
'text-overline-color',
|
|
930
|
+
'text-overline-mode',
|
|
931
|
+
'text-overline-style',
|
|
932
|
+
'text-overline-width',
|
|
933
|
+
'text-underline',
|
|
934
|
+
'text-underline-color',
|
|
935
|
+
'text-underline-mode',
|
|
936
|
+
'text-underline-style',
|
|
937
|
+
'text-underline-width',
|
|
938
|
+
'touch-action-delay',
|
|
939
|
+
'transform-origin-x',
|
|
940
|
+
'transform-origin-y',
|
|
941
|
+
'transform-origin-z',
|
|
942
|
+
'types',
|
|
943
|
+
'uc-alt-skin',
|
|
944
|
+
'uc-skin',
|
|
945
|
+
'viewport-fill',
|
|
946
|
+
'viewport-fill-opacity',
|
|
947
|
+
'volume',
|
|
948
|
+
]);
|
|
949
|
+
|
|
950
|
+
// Known from before migrating to CSSTree
|
|
951
|
+
// @see https://github.com/stylelint/stylelint/issues/9065
|
|
952
|
+
/** @type {ReadonlySet<string>} */
|
|
953
|
+
export const previouslyKnownPrefixedProperties = new Set([
|
|
954
|
+
'-epub-text-combine',
|
|
955
|
+
'-internal-text-autosizing-status',
|
|
956
|
+
'-wap-accesskey',
|
|
957
|
+
'-webkit-alt',
|
|
958
|
+
'-webkit-app-region',
|
|
959
|
+
'-webkit-background-composite',
|
|
960
|
+
'-moz-background-inline-policy',
|
|
961
|
+
'-khtml-binding',
|
|
962
|
+
'-webkit-border-after-color',
|
|
963
|
+
'-webkit-border-after-style',
|
|
964
|
+
'-webkit-border-after',
|
|
965
|
+
'-webkit-border-after-width',
|
|
966
|
+
'-moz-border-end-color',
|
|
967
|
+
'-webkit-border-end-color',
|
|
968
|
+
'-moz-border-end',
|
|
969
|
+
'-moz-border-end-style',
|
|
970
|
+
'-webkit-border-end-style',
|
|
971
|
+
'-webkit-border-end',
|
|
972
|
+
'-moz-border-end-width',
|
|
973
|
+
'-webkit-border-end-width',
|
|
974
|
+
'-webkit-border-fit',
|
|
975
|
+
'-khtml-border-horizontal-spacing',
|
|
976
|
+
'-webkit-border-horizontal-spacing',
|
|
977
|
+
'-moz-border-start-color',
|
|
978
|
+
'-webkit-border-start-color',
|
|
979
|
+
'-moz-border-start',
|
|
980
|
+
'-moz-border-start-style',
|
|
981
|
+
'-webkit-border-start-style',
|
|
982
|
+
'-webkit-border-start',
|
|
983
|
+
'-moz-border-start-width',
|
|
984
|
+
'-webkit-border-start-width',
|
|
985
|
+
'-khtml-border-vertical-spacing',
|
|
986
|
+
'-webkit-border-vertical-spacing',
|
|
987
|
+
'-khtml-box-flex-group-transition',
|
|
988
|
+
'-webkit-color-correction',
|
|
989
|
+
'-apple-color-filter',
|
|
990
|
+
'-webkit-column-axis',
|
|
991
|
+
'-webkit-column-progression',
|
|
992
|
+
'-webkit-composition-fill-color',
|
|
993
|
+
'-webkit-composition-frame-color',
|
|
994
|
+
'-webkit-cursor-visibility',
|
|
995
|
+
'-apple-dashboard-region',
|
|
996
|
+
'-khtml-dashboard-region',
|
|
997
|
+
'-webkit-dashboard-region',
|
|
998
|
+
'-webkit-flex-align',
|
|
999
|
+
'-webkit-flex-item-align',
|
|
1000
|
+
'-webkit-flex-line-pack',
|
|
1001
|
+
'-webkit-flex-order',
|
|
1002
|
+
'-webkit-flex-pack',
|
|
1003
|
+
'-khtml-flow-mode',
|
|
1004
|
+
'-konq-flow-mode',
|
|
1005
|
+
'-khtml-font-size-delta',
|
|
1006
|
+
'-webkit-font-size-delta',
|
|
1007
|
+
'-webkit-grid-after',
|
|
1008
|
+
'-webkit-grid-before',
|
|
1009
|
+
'-ms-grid-column-span',
|
|
1010
|
+
'-webkit-grid-columns',
|
|
1011
|
+
'-webkit-grid-end',
|
|
1012
|
+
'-ms-grid-row-span',
|
|
1013
|
+
'-webkit-grid-rows',
|
|
1014
|
+
'-webkit-grid-start',
|
|
1015
|
+
'-webkit-highlight',
|
|
1016
|
+
'-khtml-horizontal-border-spacing',
|
|
1017
|
+
'-webkit-hyphenate-limit-after',
|
|
1018
|
+
'-webkit-hyphenate-limit-before',
|
|
1019
|
+
'-wap-input-format',
|
|
1020
|
+
'-wap-input-required',
|
|
1021
|
+
'-konq-js-clip',
|
|
1022
|
+
'-webkit-line-align',
|
|
1023
|
+
'-webkit-line-box-contain',
|
|
1024
|
+
'-webkit-line-grid-snap',
|
|
1025
|
+
'-o-link',
|
|
1026
|
+
'-o-link-source',
|
|
1027
|
+
'-webkit-locale',
|
|
1028
|
+
'-webkit-logical-height',
|
|
1029
|
+
'-webkit-logical-width',
|
|
1030
|
+
'-webkit-margin-after-collapse',
|
|
1031
|
+
'-webkit-margin-after',
|
|
1032
|
+
'-webkit-margin-before-collapse',
|
|
1033
|
+
'-webkit-margin-before',
|
|
1034
|
+
'-khtml-margin-bottom-collapse',
|
|
1035
|
+
'-webkit-margin-bottom-collapse',
|
|
1036
|
+
'-khtml-margin-collapse',
|
|
1037
|
+
'-webkit-margin-collapse',
|
|
1038
|
+
'-moz-margin-end',
|
|
1039
|
+
'-webkit-margin-end',
|
|
1040
|
+
'-khtml-margin-start',
|
|
1041
|
+
'-moz-margin-start',
|
|
1042
|
+
'-webkit-margin-start',
|
|
1043
|
+
'-khtml-margin-top-collapse',
|
|
1044
|
+
'-webkit-margin-top-collapse',
|
|
1045
|
+
'-wap-marquee-dir',
|
|
1046
|
+
'-khtml-marquee-direction',
|
|
1047
|
+
'-webkit-marquee-direction',
|
|
1048
|
+
'-khtml-marquee-increment',
|
|
1049
|
+
'-webkit-marquee-increment',
|
|
1050
|
+
'-khtml-marquee',
|
|
1051
|
+
'-wap-marquee-loop',
|
|
1052
|
+
'-khtml-marquee-repetition',
|
|
1053
|
+
'-webkit-marquee-repetition',
|
|
1054
|
+
'-khtml-marquee-speed',
|
|
1055
|
+
'-wap-marquee-speed',
|
|
1056
|
+
'-webkit-marquee-speed',
|
|
1057
|
+
'-khtml-marquee-style',
|
|
1058
|
+
'-wap-marquee-style',
|
|
1059
|
+
'-webkit-marquee-style',
|
|
1060
|
+
'-webkit-marquee',
|
|
1061
|
+
'-webkit-mask-box-image-outset',
|
|
1062
|
+
'-webkit-mask-box-image-repeat',
|
|
1063
|
+
'-webkit-mask-box-image-slice',
|
|
1064
|
+
'-webkit-mask-box-image-source',
|
|
1065
|
+
'-webkit-mask-box-image-width',
|
|
1066
|
+
'-webkit-mask-source-type',
|
|
1067
|
+
'-khtml-match-nearest-mail-blockquote-color',
|
|
1068
|
+
'-webkit-match-nearest-mail-blockquote-color',
|
|
1069
|
+
'-webkit-max-logical-height',
|
|
1070
|
+
'-webkit-max-logical-width',
|
|
1071
|
+
'-webkit-min-logical-height',
|
|
1072
|
+
'-webkit-min-logical-width',
|
|
1073
|
+
'-khtml-nbsp-mode',
|
|
1074
|
+
'-webkit-nbsp-mode',
|
|
1075
|
+
'-webkit-padding-after',
|
|
1076
|
+
'-webkit-padding-before',
|
|
1077
|
+
'-moz-padding-end',
|
|
1078
|
+
'-webkit-padding-end',
|
|
1079
|
+
'-khtml-padding-start',
|
|
1080
|
+
'-moz-padding-start',
|
|
1081
|
+
'-webkit-padding-start',
|
|
1082
|
+
'-apple-pay-button-style',
|
|
1083
|
+
'-apple-pay-button-type',
|
|
1084
|
+
'-webkit-perspective-origin-x',
|
|
1085
|
+
'-webkit-perspective-origin-y',
|
|
1086
|
+
'-webkit-region-break-after',
|
|
1087
|
+
'-webkit-region-break-before',
|
|
1088
|
+
'-webkit-region-break-inside',
|
|
1089
|
+
'-webkit-region-overflow',
|
|
1090
|
+
'-khtml-rtl-ordering',
|
|
1091
|
+
'-webkit-rtl-ordering',
|
|
1092
|
+
'-webkit-svg-shadow',
|
|
1093
|
+
'-o-table-baseline',
|
|
1094
|
+
'-ms-text-combine-horizontal',
|
|
1095
|
+
'-webkit-text-combine',
|
|
1096
|
+
'-khtml-text-decorations-in-effect',
|
|
1097
|
+
'-webkit-text-decorations-in-effect',
|
|
1098
|
+
'-webkit-text-zoom',
|
|
1099
|
+
'-apple-trailing-word',
|
|
1100
|
+
'-webkit-transform-origin-x',
|
|
1101
|
+
'-webkit-transform-origin-y',
|
|
1102
|
+
'-webkit-transform-origin-z',
|
|
1103
|
+
'-khtml-user-drag',
|
|
1104
|
+
'-khtml-user-modify',
|
|
1105
|
+
'-khtml-vertical-border-spacing',
|
|
1106
|
+
'-webkit-widget-region',
|
|
1107
|
+
'-webkit-wrap-margin',
|
|
1108
|
+
'-webkit-wrap-padding',
|
|
1109
|
+
'-webkit-wrap-shape-inside',
|
|
1110
|
+
'-webkit-wrap-shape-outside',
|
|
1111
|
+
'-webkit-wrap',
|
|
1112
|
+
]);
|