Ignore consecutive duplicates in stylelint for prefixed values

This is already necessary globally and will become even more so as we are adding flexbox pieces to the UI.
See http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/.
This commit is contained in:
Jérémie Astori 2016-09-21 01:14:42 -04:00
parent 8bd5d800d0
commit 4439303f90

View File

@ -55,7 +55,9 @@
"number-leading-zero": "never", "number-leading-zero": "never",
"number-no-trailing-zeros": true, "number-no-trailing-zeros": true,
"length-zero-no-unit": true, "length-zero-no-unit": true,
"declaration-block-no-duplicate-properties": true, "declaration-block-no-duplicate-properties": [true, {
"ignore": ["consecutive-duplicates"]
}],
"declaration-block-no-shorthand-property-overrides": true, "declaration-block-no-shorthand-property-overrides": true,
"rule-non-nested-empty-line-before": ["always-multi-line", { "rule-non-nested-empty-line-before": ["always-multi-line", {
"ignore": ["after-comment"] "ignore": ["after-comment"]