Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/stylelint-config-twbs-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-12-10 13:14:49 +0300
committerGitHub <noreply@github.com>2021-12-10 13:14:49 +0300
commit8628f1637e1dddac824566e726d0281ddd100d2c (patch)
tree32b44bad46d1e8df8aa5b61d9765fad348607065
parent70ef812f9d8c3a3f8ee3587d6346960d67fa6aed (diff)
Switch to stylelint-config-recess-order (#134)
-rw-r--r--index.js220
-rw-r--r--package-lock.json21
-rw-r--r--package.json2
3 files changed, 25 insertions, 218 deletions
diff --git a/index.js b/index.js
index 58f182a..0e63335 100644
--- a/index.js
+++ b/index.js
@@ -2,10 +2,8 @@
module.exports = {
'extends': [
- 'stylelint-config-standard'
- ],
- 'plugins': [
- 'stylelint-order'
+ 'stylelint-config-standard',
+ 'stylelint-config-recess-order'
],
'rules': {
'alpha-value-notation': null,
@@ -36,217 +34,6 @@ module.exports = {
'no-descending-specificity': null,
'number-leading-zero': 'never',
'number-max-precision': null,
- 'order/properties-order': [
- 'position',
- 'top',
- 'right',
- 'bottom',
- 'left',
- 'z-index',
- 'box-sizing',
- 'display',
- 'flex',
- 'flex-align',
- 'flex-basis',
- 'flex-direction',
- 'flex-wrap',
- 'flex-flow',
- 'flex-shrink',
- 'flex-grow',
- 'flex-order',
- 'flex-pack',
- 'align-content',
- 'align-items',
- 'align-self',
- 'justify-content',
- 'order',
- 'float',
- 'width',
- 'min-width',
- 'max-width',
- 'height',
- 'min-height',
- 'max-height',
- 'padding',
- 'padding-top',
- 'padding-right',
- 'padding-bottom',
- 'padding-left',
- 'margin',
- 'margin-top',
- 'margin-right',
- 'margin-bottom',
- 'margin-left',
- 'overflow',
- 'overflow-x',
- 'overflow-y',
- '-webkit-overflow-scrolling',
- '-ms-overflow-x',
- '-ms-overflow-y',
- '-ms-overflow-style',
- 'columns',
- 'column-count',
- 'column-fill',
- 'column-gap',
- 'column-rule',
- 'column-rule-width',
- 'column-rule-style',
- 'column-rule-color',
- 'column-span',
- 'column-width',
- 'orphans',
- 'widows',
- 'clip',
- 'clear',
- 'font',
- 'font-family',
- 'font-size',
- 'font-style',
- 'font-weight',
- 'font-variant',
- 'font-size-adjust',
- 'font-stretch',
- 'font-effect',
- 'font-emphasize',
- 'font-emphasize-position',
- 'font-emphasize-style',
- 'font-smooth',
- 'src',
- 'hyphens',
- 'line-height',
- 'color',
- 'text-align',
- 'text-align-last',
- 'text-emphasis',
- 'text-emphasis-color',
- 'text-emphasis-style',
- 'text-emphasis-position',
- 'text-decoration',
- 'text-indent',
- 'text-justify',
- 'text-outline',
- '-ms-text-overflow',
- 'text-overflow',
- 'text-overflow-ellipsis',
- 'text-overflow-mode',
- 'text-shadow',
- 'text-transform',
- 'text-wrap',
- '-webkit-text-size-adjust',
- '-ms-text-size-adjust',
- 'letter-spacing',
- '-ms-word-break',
- 'word-break',
- 'word-spacing',
- '-ms-word-wrap',
- 'word-wrap',
- 'overflow-wrap',
- 'tab-size',
- 'white-space',
- 'vertical-align',
- 'direction',
- 'unicode-bidi',
- 'list-style',
- 'list-style-position',
- 'list-style-type',
- 'list-style-image',
- 'pointer-events',
- '-ms-touch-action',
- 'touch-action',
- 'cursor',
- 'visibility',
- 'zoom',
- 'table-layout',
- 'empty-cells',
- 'caption-side',
- 'border-spacing',
- 'border-collapse',
- 'content',
- 'quotes',
- 'counter-reset',
- 'counter-increment',
- 'resize',
- 'user-select',
- 'nav-index',
- 'nav-up',
- 'nav-right',
- 'nav-down',
- 'nav-left',
- 'background',
- 'background-color',
- 'background-image',
- 'filter',
- 'background-repeat',
- 'background-attachment',
- 'background-position',
- 'background-position-x',
- 'background-position-y',
- 'background-clip',
- 'background-origin',
- 'background-size',
- 'border',
- 'border-color',
- 'border-style',
- 'border-width',
- 'border-top',
- 'border-top-color',
- 'border-top-style',
- 'border-top-width',
- 'border-right',
- 'border-right-color',
- 'border-right-style',
- 'border-right-width',
- 'border-bottom',
- 'border-bottom-color',
- 'border-bottom-style',
- 'border-bottom-width',
- 'border-left',
- 'border-left-color',
- 'border-left-style',
- 'border-left-width',
- 'border-radius',
- 'border-top-left-radius',
- 'border-top-right-radius',
- 'border-bottom-right-radius',
- 'border-bottom-left-radius',
- 'border-image',
- 'border-image-source',
- 'border-image-slice',
- 'border-image-width',
- 'border-image-outset',
- 'border-image-repeat',
- 'outline',
- 'outline-width',
- 'outline-style',
- 'outline-color',
- 'outline-offset',
- 'box-shadow',
- 'opacity',
- '-ms-interpolation-mode',
- 'page-break-after',
- 'page-break-before',
- 'page-break-inside',
- 'transition',
- 'transition-delay',
- 'transition-timing-function',
- 'transition-duration',
- 'transition-property',
- 'transform',
- 'transform-origin',
- 'perspective',
- 'appearance',
- 'animation',
- 'animation-name',
- 'animation-duration',
- 'animation-play-state',
- 'animation-timing-function',
- 'animation-delay',
- 'animation-iteration-count',
- 'animation-direction',
- 'animation-fill-mode',
- 'fill',
- 'stroke'
- ],
'rule-empty-line-before': null,
'selector-list-comma-newline-before': 'never-multi-line',
'selector-list-comma-space-after': 'always-single-line',
@@ -269,7 +56,8 @@ module.exports = {
{
'files': '**/*.scss',
'extends': [
- 'stylelint-config-standard-scss'
+ 'stylelint-config-standard-scss',
+ 'stylelint-config-recess-order'
],
'rules': {
'no-invalid-position-at-import-rule': null,
diff --git a/package-lock.json b/package-lock.json
index 05c0b90..aeb0ed8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,9 +9,9 @@
"version": "3.0.0-alpha2",
"license": "MIT",
"dependencies": {
+ "stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^24.0.0",
"stylelint-config-standard-scss": "^3.0.0",
- "stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0"
},
"devDependencies": {
@@ -2095,6 +2095,17 @@
"url": "https://opencollective.com/stylelint"
}
},
+ "node_modules/stylelint-config-recess-order": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-3.0.0.tgz",
+ "integrity": "sha512-uNXrlDz570Q7HJlrq8mNjgfO/xlKIh2hKVKEFMTG1/ih/6tDLcTbuvO1Zoo2dnQay990OAkWLDpTDOorB+hmBw==",
+ "dependencies": {
+ "stylelint-order": "5.x"
+ },
+ "peerDependencies": {
+ "stylelint": ">=14"
+ }
+ },
"node_modules/stylelint-config-recommended": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-6.0.0.tgz",
@@ -3915,6 +3926,14 @@
}
}
},
+ "stylelint-config-recess-order": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-3.0.0.tgz",
+ "integrity": "sha512-uNXrlDz570Q7HJlrq8mNjgfO/xlKIh2hKVKEFMTG1/ih/6tDLcTbuvO1Zoo2dnQay990OAkWLDpTDOorB+hmBw==",
+ "requires": {
+ "stylelint-order": "5.x"
+ }
+ },
"stylelint-config-recommended": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-6.0.0.tgz",
diff --git a/package.json b/package.json
index 5edf113..49695ce 100644
--- a/package.json
+++ b/package.json
@@ -30,9 +30,9 @@
"stylelint": "^14.1.0"
},
"dependencies": {
+ "stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^24.0.0",
"stylelint-config-standard-scss": "^3.0.0",
- "stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.0"
},
"devDependencies": {