]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update .stylelint config from v4.
authorXhmikosR <xhmikosr@gmail.com>
Sat, 22 Sep 2018 12:35:06 +0000 (15:35 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 19 Oct 2018 09:02:11 +0000 (12:02 +0300)
grunt/.stylelintrc

index 8b1d44429696bbd81f8cac097ca1167868a4fb37..20f265f703e511bc45a70007a37f27b89353fd82 100644 (file)
@@ -1,12 +1,12 @@
 {
-  "extends": ["stylelint-config-standard"],
+  "extends": [
+    "stylelint-config-standard"
+  ],
   "plugins": [
     "stylelint-order"
   ],
   "rules": {
-    "at-rule-empty-line-before": [null,
-      "except": ["first-nested"]
-    ],
+    "at-rule-empty-line-before": null,
     "at-rule-name-space-after": "always",
     "at-rule-no-vendor-prefix": true,
     "at-rule-semicolon-space-before": "never",
     "declaration-empty-line-before": null,
     "declaration-no-important": true,
     "font-family-name-quotes": "always-where-recommended",
-    "font-weight-notation": "numeric",
+    "font-weight-notation": [
+      "numeric",
+      {
+        "ignore": [
+          "relative"
+        ]
+      }
+    ],
     "function-url-no-scheme-relative": true,
     "function-url-quotes": "always",
     "length-zero-no-unit": true,
     "max-empty-lines": 2,
     "max-line-length": null,
+    "media-feature-name-no-unknown": [
+      true,
+      {
+        "ignoreMediaFeatureNames": [
+          "prefers-reduced-motion"
+        ]
+      }
+    ],
     "media-feature-name-no-vendor-prefix": true,
     "media-feature-parentheses-space-inside": "never",
     "media-feature-range-operator-space-after": "always",
     "selector-max-universal": 1,
     "selector-no-qualifying-type": true,
     "selector-no-vendor-prefix": true,
+    "shorthand-property-no-redundant-values": true,
     "string-quotes": "double",
     "value-keyword-case": "lower",
     "value-list-comma-newline-after": "never-multi-line",