stylelint-config-concentric-order
Advanced tools
Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "stylelint-config-concentric-order", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "This Stylelint configuration validates the ordering of CSS properties according to Concentric CSS", | ||
@@ -5,0 +5,0 @@ "author": "Alvin Chan <no@email.com>", |
102
src/index.js
@@ -5,3 +5,17 @@ // Groups of CSS properties in Concentric order | ||
['box-sizing'], | ||
['display', 'position', 'top', 'right', 'bottom', 'left'], | ||
[ | ||
'display', | ||
'position', | ||
'top', | ||
'right', | ||
'bottom', | ||
'left', | ||
'inset', | ||
'inset-block', | ||
'inset-block-start', | ||
'inset-block-end', | ||
'inset-inline', | ||
'inset-inline-start', | ||
'inset-inline-end', | ||
], | ||
['float', 'clear'], | ||
@@ -33,7 +47,12 @@ [ | ||
'grid-auto-flow', | ||
], | ||
[ | ||
'gap', | ||
'grid-gap', | ||
'row-gap', | ||
'grid-row-gap', | ||
'column-gap', | ||
'grid-column-gap' | ||
], | ||
['place-content', 'place-items', 'place-self'], | ||
['align-content', 'align-items', 'align-self'], | ||
@@ -44,3 +63,2 @@ ['justify-content', 'justify-items', 'justify-self'], | ||
'columns', | ||
'column-gap', | ||
'column-fill', | ||
@@ -71,4 +89,16 @@ 'column-rule', | ||
['visibility', 'opacity', 'z-index'], | ||
['margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left'], | ||
[ | ||
'margin', | ||
'margin-top', | ||
'margin-right', | ||
'margin-bottom', | ||
'margin-left', | ||
'margin-block', | ||
'margin-block-start', | ||
'margin-block-end', | ||
'margin-inline', | ||
'margin-inline-start', | ||
'margin-inline-end', | ||
], | ||
[ | ||
'outline', | ||
@@ -93,2 +123,30 @@ 'outline-offset', | ||
[ | ||
'border-block', | ||
'border-block-width', | ||
'border-block-style', | ||
'border-block-color', | ||
'border-block-start', | ||
'border-block-start-width', | ||
'border-block-start-style', | ||
'border-block-start-color', | ||
'border-block-end', | ||
'border-block-end-width', | ||
'border-block-end-style', | ||
'border-block-end-color', | ||
], | ||
[ | ||
'border-inline', | ||
'border-inline-width', | ||
'border-inline-style', | ||
'border-inline-color', | ||
'border-inline-start', | ||
'border-inline-start-width', | ||
'border-inline-start-style', | ||
'border-inline-start-color', | ||
'border-inline-end', | ||
'border-inline-end-width', | ||
'border-inline-end-style', | ||
'border-inline-end-color', | ||
], | ||
[ | ||
'border-style', | ||
@@ -105,3 +163,7 @@ 'border-top-style', | ||
'border-bottom-left-radius', | ||
'border-bottom-right-radius' | ||
'border-bottom-right-radius', | ||
'border-start-start-radius', | ||
'border-start-end-radius', | ||
'border-end-start-radius', | ||
'border-end-end-radius', | ||
], | ||
@@ -138,5 +200,31 @@ [ | ||
['cursor'], | ||
['padding', 'padding-top', 'padding-right', 'padding-bottom', 'padding-left'], | ||
['width', 'min-width', 'max-width'], | ||
['height', 'min-height', 'max-height'], | ||
[ | ||
'padding', | ||
'padding-top', | ||
'padding-right', | ||
'padding-bottom', | ||
'padding-left', | ||
'padding-block', | ||
'padding-block-start', | ||
'padding-block-end', | ||
'padding-inline', | ||
'padding-inline-start', | ||
'padding-inline-end', | ||
], | ||
[ | ||
'width', | ||
'block-size', | ||
'min-width', | ||
'min-block-size', | ||
'max-width', | ||
'max-block-size', | ||
], | ||
[ | ||
'height', | ||
'inline-size', | ||
'min-height', | ||
'min-inline-size', | ||
'max-height', | ||
'max-inline-size', | ||
], | ||
['overflow', 'overflow-x', 'overflow-y', 'resize'], | ||
@@ -143,0 +231,0 @@ [ |
9326
348