stylelint-config-clean-order
Version:
Order your styles with stylelint-order.
86 lines (84 loc) • 1.78 kB
JavaScript
const typography = [
'writing-mode',
'font',
'font-family',
'font-size',
'font-feature-settings',
'font-variation-settings',
'font-optical-sizing',
'font-weight',
'font-style',
'font-display',
'font-kerning',
'font-variant',
'font-variant-ligatures',
'font-variant-caps',
'font-variant-alternates',
'font-variant-numeric',
'font-variant-east-asian',
'font-variant-position',
'font-size-adjust',
'font-stretch',
'font-effect',
'font-emphasize',
'font-emphasize-position',
'font-emphasize-style',
'font-smoothing',
'-webkit-font-smoothing',
'-moz-osx-font-smoothing',
'font-smooth',
'ruby-position',
'line-height',
'hyphens',
'color',
'text-align',
'text-align-last',
'text-emphasis',
'text-emphasis-color',
'text-emphasis-style',
'text-emphasis-position',
'text-decoration',
'text-decoration-color',
'text-decoration-line',
'text-decoration-style',
'text-decoration-thickness',
'text-decoration-skip-ink',
'text-underline-position',
'text-underline-offset',
'text-indent',
'text-justify',
'text-outline',
'text-overflow',
'text-overflow-ellipsis',
'text-overflow-mode',
'text-shadow',
'text-transform',
'text-wrap',
'text-size-adjust',
'text-combine-upright',
'text-orientation',
'text-rendering',
'-webkit-text-fill-color',
'-webkit-text-stroke-color',
'letter-spacing',
'word-break',
'word-spacing',
'word-wrap',
'line-break',
'overflow-wrap',
'tab-size',
'white-space',
'vertical-align',
'paint-order',
'hanging-punctuation',
'list-style',
'list-style-position',
'list-style-type',
'list-style-image',
'src',
'unicode-range',
'ascent-override',
'descent-override',
'line-gap-override'
]
module.exports = { typography }