Skip to content

Commit

Permalink
Update stylelint config to add missing properties (#25572)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
in-in authored and mdo committed Feb 11, 2018
1 parent 8dd1fe3 commit ba878eb
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -94,6 +108,7 @@
"font-emphasize-position",
"font-emphasize-style",
"font-smooth",
"src",
"hyphens",
"line-height",
"color",
Expand Down Expand Up @@ -126,6 +141,8 @@
"tab-size",
"white-space",
"vertical-align",
"direction",
"unicode-bidi",
"list-style",
"list-style-position",
"list-style-type",
Expand Down Expand Up @@ -203,21 +220,29 @@
"box-shadow",
"opacity",
"-ms-interpolation-mode",
"page-break-after",
"page-break-before",
"page-break-inside",
"transition",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"transform",
"transform-origin",
"perspective",
"appearance",
"animation",
"animation-name",
"animation-duration",
"animation-play-state",
"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,
Expand Down

0 comments on commit ba878eb

Please sign in to comment.