Browse Source

Update .stylelintrc

Daniel 1 year ago
parent
commit
a1ed353c31
1 changed files with 39 additions and 34 deletions
  1. 39 34
      .stylelintrc

+ 39 - 34
.stylelintrc

@@ -2,39 +2,44 @@
   "extends": [
     "stylelint-config-twbs-bootstrap"
   ],
-  "rules": {
-    "declaration-no-important": null,
-    "declaration-property-value-disallowed-list": {
-      "border": "none",
-      "outline": "none"
-    },
-    "function-disallowed-list": [
-      "calc",
-      "lighten",
-      "darken"
-    ],
-    "keyframes-name-pattern": null,
-    "property-disallowed-list": [
-      "border-radius",
-      "border-top-left-radius",
-      "border-top-right-radius",
-      "border-bottom-right-radius",
-      "border-bottom-left-radius",
-      "transition"
-    ],
-    "scss/dollar-variable-default": [
-      true,
-      {
-        "ignore": "local"
+  "overrides": [
+    {
+      "files": ["**/*.scss"],
+      "rules": {
+        "declaration-no-important": null,
+        "declaration-property-value-disallowed-list": {
+          "border": "none",
+          "outline": "none"
+        },
+        "function-disallowed-list": [
+          "calc",
+          "lighten",
+          "darken"
+        ],
+        "keyframes-name-pattern": null,
+        "property-disallowed-list": [
+          "border-radius",
+          "border-top-left-radius",
+          "border-top-right-radius",
+          "border-bottom-right-radius",
+          "border-bottom-left-radius",
+          "transition"
+        ],
+        "scss/dollar-variable-default": [
+          true,
+          {
+            "ignore": "local"
+          }
+        ],
+        "scss/selector-no-union-class-name": true,
+        "selector-max-class": null,
+        "selector-max-combinators": null,
+        "selector-max-compound-selectors": null,
+        "selector-max-id": null,
+        "selector-max-specificity": null,
+        "selector-max-type": null,
+        "selector-no-qualifying-type": null
       }
-    ],
-    "scss/selector-no-union-class-name": true,
-    "selector-max-class": null,
-    "selector-max-combinators": null,
-    "selector-max-compound-selectors": null,
-    "selector-max-id": null,
-    "selector-max-specificity": null,
-    "selector-max-type": null,
-    "selector-no-qualifying-type": null
-  }
+    }
+  ]
 }