Skip to content

Commit

Permalink
feat: add more declaration block rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rodoabad committed Apr 4, 2016
1 parent 5fb43d4 commit 2c0ae2b
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion lib/declaration-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,40 @@ 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',
properties: [
'top',
'right',
'bottom',
'left'
'left',
'clear',
'display',
'float',
'position',
'visibility',
'z-index'
]
},
{
Expand Down Expand Up @@ -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'
]
}
],
{
Expand Down

0 comments on commit 2c0ae2b

Please sign in to comment.