diff options
author | Volpeon <git@volpeon.ink> | 2022-02-05 08:57:44 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-05 08:57:44 +0100 |
commit | bab633f8a6faf4be7cd4ebd16b1b5c270d95320a (patch) | |
tree | b258ed5e51aaa51fe70b841495b2038124ed7415 /.stylelintrc.json | |
parent | Fix (diff) | |
download | iro-sass-bab633f8a6faf4be7cd4ebd16b1b5c270d95320a.tar.gz iro-sass-bab633f8a6faf4be7cd4ebd16b1b5c270d95320a.tar.bz2 iro-sass-bab633f8a6faf4be7cd4ebd16b1b5c270d95320a.zip |
Lint
Diffstat (limited to '.stylelintrc.json')
-rw-r--r-- | .stylelintrc.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..8a9a924 --- /dev/null +++ b/.stylelintrc.json | |||
@@ -0,0 +1,23 @@ | |||
1 | { | ||
2 | "extends": "stylelint-config-sass-guidelines", | ||
3 | "rules": { | ||
4 | "indentation": 4, | ||
5 | "number-leading-zero": "never", | ||
6 | "max-nesting-depth": 10, | ||
7 | "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]+)*)?$", | ||
9 | { "resolveNestedSelectors": true } | ||
10 | ], | ||
11 | "declaration-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 | }, | ||
17 | "overrides": [ | ||
18 | { | ||
19 | "files": ["src/**/*.scss"], | ||
20 | "customSyntax": "postcss-scss" | ||
21 | } | ||
22 | ] | ||
23 | } | ||