Skip to content

Commit

Permalink
Added grids, transitions, and animations
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Fedorenko committed Feb 9, 2021
1 parent 4654d36 commit 5fe88c3
Showing 1 changed file with 58 additions and 3 deletions.
61 changes: 58 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,22 +112,58 @@ module.exports = {
// Generated content
'content',

// Grid child
'grid-row',
'grid-row-start',
'grid-row-end',
'grid-column',
'grid-column-start',
'grid-column-end',
'grid-area',

// Flexbox child
'order',
'flex',
'flex-grow',
'flex-shrink',
'flex-basis',

// Grid & Flexbox child alignment
'place-self',
'align-self',
'justify-self',

// Flexbox parent
// Display
'display',

// Grid parent
'grid',
'grid-template',
'grid-template-rows',
'grid-template-columns',
'grid-template-areas',
'grid-auto-rows',
'grid-auto-columns',
'grid-auto-flow',
'gap',
'row-gap',
'column-gap',
'grid-gap', // Old version of 'gap'
'grid-row-gap',
'grid-column-gap',

// Flexbox parent
'flex-flow',
'flex-direction',
'flex-wrap',
'justify-content',

// Grid & Flexbox alignment
'place-items',
'align-items',
'justify-items',
'place-content',
'align-content',
'justify-content',

// Visual formatting
'position',
Expand Down Expand Up @@ -240,8 +276,27 @@ module.exports = {
'outline',
'pointer-events',

// Animation
// Transforms
'transform',
'transform-origin',

// Transitions
'transition',
'transition-property',
'transition-duration',
'transition-timing-function',
'transition-delay',

// Animations
'animation',
'animation-name',
'animation-duration',
'animation-timing-function',
'animation-delay',
'animation-iteration-count',
'animation-direction',
'animation-fill-mode',
'animation-play-state',
],
{'severity': 'warning'}
],
Expand Down

0 comments on commit 5fe88c3

Please sign in to comment.