1 Star 0 Fork 0

KwooShung / react-no-ssr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.stylelintrc.cjs 7.93 KB
一键复制 编辑 原始数据 按行查看 历史
KwooShung 提交于 2023-11-09 17:21 . 🍻 release(components): release
module.exports = {
customSyntax: 'postcss-less',
processors: [],
plugins: ['stylelint-order'],
extends: ['stylelint-config-standard'], // 这是官方推荐的方式
ignoreFiles: ['./coverage/**/*.css'],
rules: {
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['include', 'extends', 'ignores', 'import', 'mixin']
}
],
indentation: 2,
'rule-empty-line-before': null,
'media-feature-range-notation': null,
'block-opening-brace-space-before': 'always',
'block-opening-brace-space-after': 'always-single-line',
'block-closing-brace-space-before': 'always-single-line',
'selector-attribute-brackets-space-inside': 'always',
'color-hex-length': 'short',
'color-hex-case': 'lower',
'font-family-no-missing-generic-family-keyword': null,
'no-descending-specificity': null,
'at-rule-no-unknown': null,
'value-list-comma-newline-after': 'never-multi-line',
'value-list-comma-newline-before': 'never-multi-line',
'value-list-comma-space-after': 'always',
'value-list-comma-space-before': 'never',
'value-list-max-empty-lines': 0,
'declaration-colon-space-after': 'never',
'custom-property-empty-line-before': 'never',
'shorthand-property-no-redundant-values': true,
'value-no-vendor-prefix': true,
'string-no-newline': true,
'string-quotes': 'single',
'declaration-empty-line-before': 'never',
'number-no-trailing-zeros': true,
'length-zero-no-unit': true,
'property-no-vendor-prefix': true,
'declaration-block-no-duplicate-properties': true,
'declaration-block-no-redundant-longhand-properties': true,
'declaration-block-no-shorthand-property-overrides': true,
'function-name-case': 'lower',
'property-case': 'lower',
'function-calc-no-unspaced-operator': true,
'declaration-block-single-line-max-declarations': 10,
'number-leading-zero': 'never',
// 'unit-whitelist': ['px', 'em', 'rem', 'ms', '%', 'vh', 'deg'],
'value-keyword-case': null,
'order/properties-order': [
'position',
'top',
'right',
'bottom',
'left',
'float',
'clear',
'display',
'flex',
'flex-grow',
'flex-shrink',
'flex-basis',
'flex-flow',
'flex-direction',
'flex-wrap',
'justify-content',
'align-content',
'align-items',
'align-self',
'order',
'grid',
'grid-auto-rows',
'grid-auto-columns',
'grid-auto-flow',
'grid-column-gap',
'grid-row-gap',
'grid-template',
'grid-template-rows',
'grid-template-columns',
'grid-template-areas',
'grid-gap',
'grid-row-gap',
'grid-column-gap',
'grid-area',
'grid-row-start',
'grid-row-end',
'grid-column-start',
'grid-column-end',
'grid-column',
'grid-column-start',
'grid-column-end',
'grid-row',
'grid-row-start',
'grid-row-end',
'table-layout',
'empty-cells',
'caption-side',
'border-collapse',
'border-spacing',
'list-style',
'list-style-type',
'list-style-position',
'list-style-image',
'ruby-align',
'ruby-merge',
'ruby-position',
'box-sizing',
'min-width',
'width',
'max-width',
'min-height',
'height',
'max-height',
'padding',
'padding-top',
'padding-right',
'padding-bottom',
'padding-left',
'border',
'border-width',
'border-top-width',
'border-right-width',
'border-bottom-width',
'border-left-width',
'border-style',
'border-top-style',
'border-right-style',
'border-bottom-style',
'border-left-style',
'border-color',
'border-top-color',
'border-right-color',
'border-bottom-color',
'border-left-color',
'border-image',
'border-image-source',
'border-image-slice',
'border-image-width',
'border-image-outset',
'border-image-repeat',
'border-top',
'border-top-width',
'border-top-style',
'border-top-color',
'border-right',
'border-right-width',
'border-right-style',
'border-right-color',
'border-bottom',
'border-bottom-width',
'border-bottom-style',
'border-bottom-color',
'border-left',
'border-left-width',
'border-left-style',
'border-left-color',
'border-radius',
'border-top-right-radius',
'border-bottom-right-radius',
'border-bottom-left-radius',
'border-top-left-radius',
'outline',
'outline-width',
'outline-color',
'outline-style',
'outline-offset',
'margin',
'margin-top',
'margin-right',
'margin-bottom',
'margin-left',
'color',
'background',
'background-image',
'background-position',
'background-size',
'background-repeat',
'background-origin',
'background-clip',
'background-attachment',
'background-color',
'background-blend-mode',
'isolation',
'clip-path',
'mask',
'mask-image',
'mask-mode',
'mask-position',
'mask-size',
'mask-repeat',
'mask-origin',
'mask-clip',
'mask-composite',
'mask-type',
'box-shadow',
'opacity',
'overflow',
'overflow-x',
'overflow-y',
'vertical-align',
'columns',
'column-width',
'column-count',
'column-rule',
'column-rule-width',
'column-rule-style',
'column-rule-color',
'column-fill',
'column-span',
'column-gap',
'orphans',
'writing-mode',
'text-combine-upright',
'unicode-bidi',
'text-orientation',
'direction',
'text-rendering',
'font-feature-settings',
'font-language-override',
'font',
'font-style',
'font-variant',
'font-weight',
'font-stretch',
'font-size',
'font-family',
'line-height',
'text-overflow',
'white-space',
'overflow-wrap',
'word-wrap',
'word-break',
'line-break',
'hyphens',
'text-align',
'text-align-last',
'text-justify',
'font-synthesis',
'font-size-adjust',
'letter-spacing',
'font-kerning',
'word-spacing',
'text-transform',
'quotes',
'tab-size',
'text-indent',
'text-emphasis',
'text-emphasis-style',
'text-emphasis-color',
'text-emphasis-position',
'text-decoration',
'text-decoration-color',
'text-decoration-style',
'text-decoration-line',
'text-underline-position',
'text-shadow',
'image-rendering',
'image-orientation',
'image-resolution',
'shape-image-threshold',
'shape-outside',
'shape-margin',
'transform-style',
'transform',
'transform-box',
'transform-origin',
'perspective',
'perspective-origin',
'backface-visibility',
'transition',
'transition-property',
'transition-duration',
'transition-timing-function',
'transition-delay',
'animation',
'animation-name',
'animation-duration',
'animation-timing-function',
'animation-delay',
'animation-iteration-count',
'animation-direction',
'animation-fill-mode',
'animation-play-state',
'scroll-behavior',
'scroll-snap-type',
'scroll-snap-destination',
'scroll-snap-coordinate',
'resize',
'cursor',
'touch-action',
'caret-color',
'ime-mode',
'user-select',
'object-fit',
'object-position',
'will-change',
'pointer-events',
'filter',
'backdrop-filter',
'page-break-before',
'page-break-after',
'page-break-inside',
'widows',
'z-index',
'content',
'counter-reset',
'counter-increment',
'all',
'visibility',
'--*'
]
}
};
1
https://gitee.com/kwooshung/react-no-ssr.git
git@gitee.com:kwooshung/react-no-ssr.git
kwooshung
react-no-ssr
react-no-ssr
develop

搜索帮助