diff --git a/.stylelintrc.cjs b/.stylelintrc.cjs index 954bd9ff..6e580c45 100644 --- a/.stylelintrc.cjs +++ b/.stylelintrc.cjs @@ -1,6 +1,6 @@ module.exports = { extends: ['stylelint-config-standard', 'stylelint-config-html/vue', 'stylelint-config-standard-vue'], - plugins: ['stylelint-order'], + plugins: [], rules: { // 这里是允许了空的style标签 'no-empty-source': null, @@ -36,83 +36,5 @@ module.exports = { // property-no-vendor-prefix 'property-no-vendor-prefix': true, // 属性的排序 - 'order/properties-order': [ - 'position', - 'top', - 'right', - 'bottom', - 'left', - 'z-index', - 'display', - 'justify-content', - 'align-items', - 'float', - 'clear', - 'overflow', - 'overflow-x', - 'overflow-y', - 'margin', - 'margin-top', - 'margin-right', - 'margin-bottom', - 'margin-left', - 'border', - 'border-style', - 'border-width', - 'border-color', - 'border-top', - 'border-top-style', - 'border-top-width', - 'border-top-color', - 'border-right', - 'border-right-style', - 'border-right-width', - 'border-right-color', - 'border-bottom', - 'border-bottom-style', - 'border-bottom-width', - 'border-bottom-color', - 'border-left', - 'border-left-style', - 'border-left-width', - 'border-left-color', - 'border-radius', - 'padding', - 'padding-top', - 'padding-right', - 'padding-bottom', - 'padding-left', - 'width', - 'min-width', - 'max-width', - 'height', - 'min-height', - 'max-height', - 'font-size', - 'font-family', - 'font-weight', - 'text-align', - 'text-justify', - 'text-indent', - 'text-overflow', - 'text-decoration', - 'white-space', - 'color', - 'background', - 'background-position', - 'background-repeat', - 'background-size', - 'background-color', - 'background-clip', - 'opacity', - 'filter', - 'list-style', - 'outline', - 'visibility', - 'box-shadow', - 'text-shadow', - 'resize', - 'transition', - ], }, } diff --git a/src/renderer/components/VirtualScroller.vue b/src/renderer/components/VirtualScroller.vue index 248ce1ff..ea825870 100644 --- a/src/renderer/components/VirtualScroller.vue +++ b/src/renderer/components/VirtualScroller.vue @@ -1,5 +1,5 @@