Skip to content

Commit

Permalink
Updates stylelint-scss to latest. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotny committed Jul 31, 2017
1 parent de62741 commit 097eb37
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 34 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"stylelint": "8.0.0",
"stylelint-csstree-validator": "1.1.1",
"stylelint-order": "0.6.0",
"stylelint-scss": "1.3.4"
"stylelint-scss": "2.0.0"
},
"devDependencies": {
"eslint-config-get-off-my-lawn": "2.1.0"
Expand Down
12 changes: 12 additions & 0 deletions src/scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,21 @@ module.exports = {
'scss/at-import-no-partial-leading-underscore': true,
'scss/at-import-partial-extension-whitelist': [],
'scss/at-mixin-argumentless-call-parentheses': 'never',
'scss/at-rule-no-unknown': true,
'scss/declaration-nested-properties': 'never',
'scss/declaration-nested-properties-no-divided-groups': true,
'scss/dollar-variable-colon-space-after': 'always',
'scss/dollar-variable-colon-space-before': 'never',
'scss/dollar-variable-empty-line-before': [
'always',
{
except: [
'after-comment',
'after-dollar-variable',
'first-nested'
]
}
],
'scss/dollar-variable-no-missing-interpolation': true,
'scss/double-slash-comment-empty-line-before': [
'always',
Expand Down
23 changes: 0 additions & 23 deletions src/stylelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,6 @@ module.exports = {
],
'at-rule-name-case': 'lower',
'at-rule-name-space-after': 'always',
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'at-root',
'content',
'debug',
'each',
'else',
'error',
'extend',
'for',
'function',
'if',
'include',
'mixin',
'placeholder',
'return',
'warn',
'while'
]
}
],
'at-rule-no-vendor-prefix': true,
'at-rule-semicolon-newline-after': 'always',
'at-rule-semicolon-space-before': 'never',
Expand Down
15 changes: 5 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1604,10 +1604,6 @@ postcss-less@^1.1.0:
dependencies:
postcss "^5.2.16"

postcss-media-query-parser@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/postcss-media-query-parser/-/postcss-media-query-parser-0.1.0.tgz#af258e28ef89f2d84b10102ac8be4a99fc779445"

postcss-media-query-parser@^0.2.0, postcss-media-query-parser@^0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz#27b39c6f4d94f81b1a73b8f76351c609e5cef244"
Expand Down Expand Up @@ -2040,16 +2036,15 @@ stylelint-order@0.6.0:
postcss-sorting "^3.0.1"
stylelint "^8.0.0"

stylelint-scss@1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/stylelint-scss/-/stylelint-scss-1.3.4.tgz#a7a2597e897fff8430dfb22b940dfecbbfdc75a6"
stylelint-scss@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/stylelint-scss/-/stylelint-scss-2.0.0.tgz#033fd781b311e9a7604231ba0201559972b3eaf4"
dependencies:
lodash "^4.11.1"
postcss-media-query-parser "^0.1.0"
postcss-media-query-parser "^0.2.3"
postcss-resolve-nested-selector "^0.1.1"
postcss-selector-parser "^2.0.0"
postcss-value-parser "^3.3.0"
stylelint "^7.0.3"

stylelint@8.0.0, stylelint@^8.0.0:
version "8.0.0"
Expand Down Expand Up @@ -2092,7 +2087,7 @@ stylelint@8.0.0, stylelint@^8.0.0:
svg-tags "^1.0.0"
table "^4.0.1"

stylelint@^7.0.0, stylelint@^7.0.3:
stylelint@^7.0.0:
version "7.13.0"
resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-7.13.0.tgz#111f97b6da72e775c80800d6bb6f5f869997785d"
dependencies:
Expand Down

0 comments on commit 097eb37

Please sign in to comment.