Skip to content

Commit

Permalink
Upgraded rules for Stylelint 6.7.1 and resolved a few deprecated prop…
Browse files Browse the repository at this point in the history
…erties
  • Loading branch information
efedorenko committed Jun 24, 2016
1 parent 9b8f77a commit d07e84c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit d07e84c

Please sign in to comment.