Skip to content

Commit

Permalink
Fix SCSS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuk committed Jul 25, 2024
1 parent 4578df7 commit 2e8754e
Show file tree
Hide file tree
Showing 7 changed files with 224 additions and 40 deletions.
61 changes: 60 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": ["stylelint-scss"],
"plugins": ["stylelint-scss", "stylelint-order"],
"extends": ["stylelint-config-standard-scss", "stylelint-config-concentric-order"],
"rules": {
"max-nesting-depth": 3,
Expand All @@ -10,6 +10,65 @@
{
"ignore": ["class"]
}
],
"order/order": [
{
"type": "at-rule",
"name": "import"
},
"dollar-variables",
"custom-properties",
{
"type": "at-rule",
"name": "extend"
},
{
"type": "at-rule",
"name": "mixin"
},
{
"type": "at-rule",
"name": "add-mixin"
},
{
"type": "at-rule",
"name": "apply"
},
"declarations",
{
"type": "rule",
"selector": "/^&:[\\w-]+/",
"hasBlock": true
},
{
"type": "rule",
"selector": "/^&:[\\w-]+/",
"hasBlock": true
},
"rules",
{
"type": "at-rule",
"name": "include",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "mixin",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "add-mixin",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "media",
"hasBlock": true
}
]
}
}
Loading

0 comments on commit 2e8754e

Please sign in to comment.