Skip to content

Commit

Permalink
Upgraded config for v7.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
efedorenko committed Aug 22, 2016
1 parent 2328589 commit cbbb304
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
17 changes: 11 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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 @@ -16,18 +16,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 All @@ -43,6 +45,7 @@ module.exports = {
// Property
'property-case': 'lower',
'property-no-vendor-prefix': [true, {'severity': 'warning'}],
'property-no-unknown': [true, {'severity': 'warning'}],

// Declaration
'declaration-bang-space-after': 'never',
Expand Down Expand Up @@ -224,6 +227,7 @@ module.exports = {
'selector-pseudo-element-colon-notation': 'double',
'selector-type-case': 'lower',
'selector-type-no-unknown': [true, {'severity': 'warning'}],
'selector-attribute-quotes': 'always',

// Selector list
'selector-list-comma-newline-after': 'always',
Expand All @@ -238,7 +242,7 @@ module.exports = {
'media-feature-no-missing-punctuation': true,
'media-feature-range-operator-space-after': 'always',
'media-feature-range-operator-space-before': 'always',
'media-query-parentheses-space-inside': 'never',
'media-feature-parentheses-space-inside': 'never',

// Comment
'comment-whitespace-inside': 'always',
Expand All @@ -249,7 +253,8 @@ module.exports = {
'no-descending-specificity': null,
'no-eol-whitespace': true,
'no-invalid-double-slash-comments': true,
'no-missing-eof-newline': true,
'no-unknown-animations': true
'no-missing-end-of-source-newline': true,
'no-unknown-animations': true,
'no-extra-semicolons': true
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-wildbit",
"version": "1.0.0",
"version": "1.1.0",
"description": "Shareable stylelint config",
"main": "index.js",
"repository": {
Expand All @@ -11,13 +11,13 @@
"stylelint",
"config"
],
"author": "Andrey Okonetchnikov",
"author": "Eugene Fedorenko, Andrey Okonetchnikov",
"license": "MIT",
"bugs": {
"url": "https://github.com/wildbit/stylelint-config-wildbit/issues"
},
"homepage": "https://github.com/wildbit/stylelint-config-wildbit#readme",
"devDependencies": {
"stylelint": "^6.0.3",
"stylelint": "^7.1.0"
}
}

0 comments on commit cbbb304

Please sign in to comment.