Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
feat(scss): Add stylelint-scss 2.1.0 new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Aug 30, 2017
1 parent 04ff0a5 commit a71b5ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"stylelint": "^8.0.0",
"stylelint-order": "^0.6.0",
"stylelint-scss": "^2.0.1"
"stylelint-scss": "^2.1.0"
},
"devDependencies": {
"@commitlint/cli": "^3.1.3",
Expand Down
3 changes: 3 additions & 0 deletions scss-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ module.exports = {
'scss/at-else-closing-brace-newline-after': 'always-last-in-chain',
'scss/at-else-closing-brace-space-after': 'always-intermediate',
'scss/at-else-empty-line-before': 'never',
'scss/at-else-if-parentheses-space-before': 'always',

// @-extend
'scss/at-extend-no-missing-placeholder': true,

// @-function
'scss/at-function-parentheses-space-before': 'never',
'scss/at-function-pattern': null,

// @-if
Expand All @@ -28,6 +30,7 @@ module.exports = {

// @-mixin
'scss/at-mixin-argumentless-call-parentheses': 'always',
'scss/at-mixin-parentheses-space-before': 'never',
'scss/at-mixin-pattern': null,

// $-variables
Expand Down

0 comments on commit a71b5ee

Please sign in to comment.