From bab633f8a6faf4be7cd4ebd16b1b5c270d95320a Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 08:57:44 +0100 Subject: Lint --- .stylelintrc.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .stylelintrc.json (limited to '.stylelintrc.json') diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..8a9a924 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,23 @@ +{ + "extends": "stylelint-config-sass-guidelines", + "rules": { + "indentation": 4, + "number-leading-zero": "never", + "max-nesting-depth": 10, + "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 } + ], + "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-]+" + }, + "overrides": [ + { + "files": ["src/**/*.scss"], + "customSyntax": "postcss-scss" + } + ] +} -- cgit v1.3.1