diff options
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 | } | ||
