Added declaration-use-variable

This commit is contained in:
Andrey Okonetchnikov 2016-10-05 16:39:08 +02:00
parent 0361c4c79b
commit 6d484463ca
2 changed files with 13 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"stylelint-config-css-modules"
],
"plugins": [
"stylelint-declaration-block-order"
"stylelint-declaration-block-order",
"stylelint-declaration-use-variable"
],
"rules": {
"at-rule-no-vendor-prefix": true,
@ -252,6 +253,16 @@
"declarations",
"rules",
"at-rules"
],
"sh-waqar/declaration-use-variable": [
[
"/color/",
"z-index",
"font-size",
"border-radius",
"/background/"
]
]
}
}

View File

@ -88,6 +88,7 @@
"stylelint-config-css-modules": "^0.1.0",
"stylelint-config-standard": "^13.0.2",
"stylelint-declaration-block-order": "^0.1.0",
"stylelint-declaration-use-variable": "^1.6.0",
"url-loader": "^0.5.7",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.15.1",