aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json44
1 files changed, 22 insertions, 22 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index 83175ed0..fc13954d 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -1,25 +1,25 @@
{
- "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
- "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
- "rules": {
- "selector-class-pattern": null,
- "selector-no-qualifying-type": [
- true,
- {
- "ignore": ["attribute", "class"]
- }
- ],
- "string-no-newline": null,
- "indentation": 4,
- "string-quotes": "single",
- "max-nesting-depth": 2,
- "plugin/selector-bem-pattern": {
- "preset": "bem",
- "componentName": "(([a-z0-9]+(?!-$)-?)+)",
- "componentSelectors": {
- "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
- },
- "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
- }
+ "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
+ "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
+ "rules": {
+ "selector-class-pattern": null,
+ "selector-no-qualifying-type": [
+ true,
+ {
+ "ignore": ["attribute", "class"]
+ }
+ ],
+ "string-no-newline": null,
+ "indentation": 2,
+ "string-quotes": "single",
+ "max-nesting-depth": 2,
+ "plugin/selector-bem-pattern": {
+ "preset": "bem",
+ "componentName": "(([a-z0-9]+(?!-$)-?)+)",
+ "componentSelectors": {
+ "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
+ },
+ "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
}
+ }
}