From d07e84c3ed23627678a014c633fc61163351288f Mon Sep 17 00:00:00 2001 From: Eugene Fedorenko Date: Fri, 24 Jun 2016 13:11:12 -0400 Subject: [PATCH] Upgraded rules for Stylelint 6.7.1 and resolved a few deprecated properties --- index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 1e23d69..156869c 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ module.exports = { 'color-no-invalid-hex': true, // Font family - 'font-family-name-quotes': 'single-where-recommended', + 'font-family-name-quotes': 'always-where-recommended', // Function 'function-calc-no-unspaced-operator': true, @@ -31,18 +31,20 @@ module.exports = { 'function-linear-gradient-no-nonstandard-direction': true, 'function-name-case': 'lower', 'function-parentheses-space-inside': 'never-single-line', - 'function-url-quotes': 'single', + 'function-url-quotes': 'always', 'function-whitespace-after': 'always', // Number 'number-leading-zero': null, 'number-no-trailing-zeros': true, - 'number-zero-length-no-unit': true, // String 'string-no-newline': true, 'string-quotes': 'single', + // Length + 'length-zero-no-unit': true, + // Unit 'unit-case': 'lower', 'unit-no-unknown': true,