From ba878eb542ab6c04786741569ba089d02e9bea46 Mon Sep 17 00:00:00 2001 From: in-in Date: Mon, 12 Feb 2018 02:16:22 +0300 Subject: [PATCH] Update stylelint config to add missing properties (#25572) * add missing properties list of new properties: align-content animation-fill-mode appearance column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns direction fill flex-shrink orphans page-break-after page-break-before page-break-inside perspective src stroke unicode-bidi widows * fix invalid JSON config add curly brackets * Update .stylelintrc --- .stylelintrc | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index e53251258f..c9d67250e8 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -4,9 +4,9 @@ "stylelint-order" ], "rules": { - "at-rule-empty-line-before": [null, + "at-rule-empty-line-before": [null, { "except": ["first-nested"] - ], + }], "at-rule-name-space-after": "always", "at-rule-no-vendor-prefix": true, "at-rule-semicolon-space-before": "never", @@ -48,9 +48,11 @@ "flex-direction", "flex-wrap", "flex-flow", + "flex-shrink", "flex-grow", "flex-order", "flex-pack", + "align-content", "align-items", "align-self", "justify-content", @@ -79,6 +81,18 @@ "-ms-overflow-x", "-ms-overflow-y", "-ms-overflow-style", + "columns", + "column-count", + "column-fill", + "column-gap", + "column-rule", + "column-rule-width", + "column-rule-style", + "column-rule-color", + "column-span", + "column-width", + "orphans", + "widows", "clip", "clear", "font", @@ -94,6 +108,7 @@ "font-emphasize-position", "font-emphasize-style", "font-smooth", + "src", "hyphens", "line-height", "color", @@ -126,6 +141,8 @@ "tab-size", "white-space", "vertical-align", + "direction", + "unicode-bidi", "list-style", "list-style-position", "list-style-type", @@ -203,6 +220,9 @@ "box-shadow", "opacity", "-ms-interpolation-mode", + "page-break-after", + "page-break-before", + "page-break-inside", "transition", "transition-delay", "transition-timing-function", @@ -210,6 +230,8 @@ "transition-property", "transform", "transform-origin", + "perspective", + "appearance", "animation", "animation-name", "animation-duration", @@ -217,7 +239,10 @@ "animation-timing-function", "animation-delay", "animation-iteration-count", - "animation-direction" + "animation-direction", + "animation-fill-mode", + "fill", + "stroke" ], "property-no-vendor-prefix": true, "rule-empty-line-before": null,