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
This commit is contained in:
in-in 2018-02-12 02:16:22 +03:00 committed by Mark Otto
parent 8dd1fe3893
commit ba878eb542
1 changed files with 28 additions and 3 deletions

View File

@ -4,9 +4,9 @@
"stylelint-order" "stylelint-order"
], ],
"rules": { "rules": {
"at-rule-empty-line-before": [null, "at-rule-empty-line-before": [null, {
"except": ["first-nested"] "except": ["first-nested"]
], }],
"at-rule-name-space-after": "always", "at-rule-name-space-after": "always",
"at-rule-no-vendor-prefix": true, "at-rule-no-vendor-prefix": true,
"at-rule-semicolon-space-before": "never", "at-rule-semicolon-space-before": "never",
@ -48,9 +48,11 @@
"flex-direction", "flex-direction",
"flex-wrap", "flex-wrap",
"flex-flow", "flex-flow",
"flex-shrink",
"flex-grow", "flex-grow",
"flex-order", "flex-order",
"flex-pack", "flex-pack",
"align-content",
"align-items", "align-items",
"align-self", "align-self",
"justify-content", "justify-content",
@ -79,6 +81,18 @@
"-ms-overflow-x", "-ms-overflow-x",
"-ms-overflow-y", "-ms-overflow-y",
"-ms-overflow-style", "-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", "clip",
"clear", "clear",
"font", "font",
@ -94,6 +108,7 @@
"font-emphasize-position", "font-emphasize-position",
"font-emphasize-style", "font-emphasize-style",
"font-smooth", "font-smooth",
"src",
"hyphens", "hyphens",
"line-height", "line-height",
"color", "color",
@ -126,6 +141,8 @@
"tab-size", "tab-size",
"white-space", "white-space",
"vertical-align", "vertical-align",
"direction",
"unicode-bidi",
"list-style", "list-style",
"list-style-position", "list-style-position",
"list-style-type", "list-style-type",
@ -203,6 +220,9 @@
"box-shadow", "box-shadow",
"opacity", "opacity",
"-ms-interpolation-mode", "-ms-interpolation-mode",
"page-break-after",
"page-break-before",
"page-break-inside",
"transition", "transition",
"transition-delay", "transition-delay",
"transition-timing-function", "transition-timing-function",
@ -210,6 +230,8 @@
"transition-property", "transition-property",
"transform", "transform",
"transform-origin", "transform-origin",
"perspective",
"appearance",
"animation", "animation",
"animation-name", "animation-name",
"animation-duration", "animation-duration",
@ -217,7 +239,10 @@
"animation-timing-function", "animation-timing-function",
"animation-delay", "animation-delay",
"animation-iteration-count", "animation-iteration-count",
"animation-direction" "animation-direction",
"animation-fill-mode",
"fill",
"stroke"
], ],
"property-no-vendor-prefix": true, "property-no-vendor-prefix": true,
"rule-empty-line-before": null, "rule-empty-line-before": null,