Added declaration-use-variable
This commit is contained in:
parent
0361c4c79b
commit
6d484463ca
13
.stylelintrc
13
.stylelintrc
@ -4,7 +4,8 @@
|
|||||||
"stylelint-config-css-modules"
|
"stylelint-config-css-modules"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"stylelint-declaration-block-order"
|
"stylelint-declaration-block-order",
|
||||||
|
"stylelint-declaration-use-variable"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"at-rule-no-vendor-prefix": true,
|
"at-rule-no-vendor-prefix": true,
|
||||||
@ -252,6 +253,16 @@
|
|||||||
"declarations",
|
"declarations",
|
||||||
"rules",
|
"rules",
|
||||||
"at-rules"
|
"at-rules"
|
||||||
|
],
|
||||||
|
|
||||||
|
"sh-waqar/declaration-use-variable": [
|
||||||
|
[
|
||||||
|
"/color/",
|
||||||
|
"z-index",
|
||||||
|
"font-size",
|
||||||
|
"border-radius",
|
||||||
|
"/background/"
|
||||||
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,6 +88,7 @@
|
|||||||
"stylelint-config-css-modules": "^0.1.0",
|
"stylelint-config-css-modules": "^0.1.0",
|
||||||
"stylelint-config-standard": "^13.0.2",
|
"stylelint-config-standard": "^13.0.2",
|
||||||
"stylelint-declaration-block-order": "^0.1.0",
|
"stylelint-declaration-block-order": "^0.1.0",
|
||||||
|
"stylelint-declaration-use-variable": "^1.6.0",
|
||||||
"url-loader": "^0.5.7",
|
"url-loader": "^0.5.7",
|
||||||
"webpack": "^1.13.2",
|
"webpack": "^1.13.2",
|
||||||
"webpack-dev-server": "^1.15.1",
|
"webpack-dev-server": "^1.15.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user