aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-22 08:14:44 +0200
committerVolpeon <git@volpeon.ink>2024-06-22 08:14:44 +0200
commit828a12ffac60b2fb7e6b0931f610b7ca9f53ffc2 (patch)
tree3572fbd90d4e6c98f986b90f18681b13f49b598b /.stylelintrc.json
parentUpdate (diff)
downloadiro-sass-828a12ffac60b2fb7e6b0931f610b7ca9f53ffc2.tar.gz
iro-sass-828a12ffac60b2fb7e6b0931f610b7ca9f53ffc2.tar.bz2
iro-sass-828a12ffac60b2fb7e6b0931f610b7ca9f53ffc2.zip
Props: Support recursive var() if referring to subtree
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json18
1 files changed, 8 insertions, 10 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index 8a9a924..c2fd34a 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -1,22 +1,20 @@
1{ 1{
2 "extends": "stylelint-config-sass-guidelines", 2 "extends": "stylelint-config-sass-guidelines",
3 "rules": { 3 "rules": {
4 "indentation": 4, 4 "max-nesting-depth": 9,
5 "number-leading-zero": "never",
6 "max-nesting-depth": 10,
7 "selector-class-pattern": [ 5 "selector-class-pattern": [
8 "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$", 6 "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$",
9 { "resolveNestedSelectors": true } 7 {
8 "resolveNestedSelectors": true
9 }
10 ], 10 ],
11 "declaration-colon-space-after": null, 11 "scss/dollar-variable-colon-space-after": null
12 "function-parentheses-newline-inside": "always-multi-line",
13 "function-parentheses-space-inside": "never-single-line",
14 "scss/dollar-variable-colon-space-after": null,
15 "scss/dollar-variable-pattern": "[a-z0-9-]+"
16 }, 12 },
17 "overrides": [ 13 "overrides": [
18 { 14 {
19 "files": ["src/**/*.scss"], 15 "files": [
16 "**/*.scss"
17 ],
20 "customSyntax": "postcss-scss" 18 "customSyntax": "postcss-scss"
21 } 19 }
22 ] 20 ]