From 828a12ffac60b2fb7e6b0931f610b7ca9f53ffc2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 22 Jun 2024 08:14:44 +0200 Subject: Props: Support recursive var() if referring to subtree --- .stylelintrc.json | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to '.stylelintrc.json') diff --git a/.stylelintrc.json b/.stylelintrc.json index 8a9a924..c2fd34a 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,22 +1,20 @@ { "extends": "stylelint-config-sass-guidelines", "rules": { - "indentation": 4, - "number-leading-zero": "never", - "max-nesting-depth": 10, + "max-nesting-depth": 9, "selector-class-pattern": [ "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$", - { "resolveNestedSelectors": true } + { + "resolveNestedSelectors": true + } ], - "declaration-colon-space-after": null, - "function-parentheses-newline-inside": "always-multi-line", - "function-parentheses-space-inside": "never-single-line", - "scss/dollar-variable-colon-space-after": null, - "scss/dollar-variable-pattern": "[a-z0-9-]+" + "scss/dollar-variable-colon-space-after": null }, "overrides": [ { - "files": ["src/**/*.scss"], + "files": [ + "**/*.scss" + ], "customSyntax": "postcss-scss" } ] -- cgit v1.2.3-54-g00ecf