Add stylelint-scss plugin

This adds extra SCSS-specific rules. In particular, there's a modified at rule
processing rule which understands `mixin` and friends.
This commit is contained in:
J. Ryan Stinnett 2019-07-09 18:35:57 +01:00
parent dd2079bffc
commit 6c9bf25199
3 changed files with 36 additions and 0 deletions

View file

@ -1,5 +1,8 @@
module.exports = {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss",
],
"rules": {
"indentation": 4,
"comment-empty-line-before": null,
@ -11,5 +14,7 @@ module.exports = {
"number-no-trailing-zeros": null,
"number-leading-zero": null,
"selector-list-comma-newline-after": null,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
}
}