diff --git a/lib/declaration-block.js b/lib/declaration-block.js index 811dc30..d41db10 100644 --- a/lib/declaration-block.js +++ b/lib/declaration-block.js @@ -36,6 +36,26 @@ module.exports = { 'font-weight' ] }, + { + order: 'strict', + emptyLineBefore: 'always', + properties: [ + 'text-align', + 'text-align-last', + 'text-combine-upright', + 'text-decoration', + 'text-decoration-color', + 'text-decoration-line', + 'text-decoration-style', + 'text-indent', + 'text-justify', + 'text-orientation', + 'text-overflow', + 'text-shadow', + 'text-transform', + 'text-underline-position' + ] + }, { order: 'strict', emptyLineBefore: 'always', @@ -43,7 +63,13 @@ module.exports = { 'top', 'right', 'bottom', - 'left' + 'left', + 'clear', + 'display', + 'float', + 'position', + 'visibility', + 'z-index' ] }, { @@ -79,6 +105,24 @@ module.exports = { 'max-height', 'min-height' ] + }, + { + order: 'strict', + emptyLineBefore: 'always', + properties: [ + 'align-content', + 'align-items', + 'align-self', + 'flex', + 'flex-basis', + 'flex-direction', + 'flex-flow', + 'flex-grow', + 'flex-shrink', + 'flex-wrap', + 'justify-content', + 'order' + ] } ], {