]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Disable a few rules for now.
authorXhmikosR <xhmikosr@gmail.com>
Tue, 26 Feb 2019 13:13:59 +0000 (15:13 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 11 Mar 2019 15:01:28 +0000 (17:01 +0200)
.eslintrc.json
js/tests/unit/.eslintrc.json
site/.eslintrc.json

index 384bfcbbceb464b5e5c9709b987a02d37c18a181..e0fa201bc1906edc355955969ce5658e5088db4b 100644 (file)
@@ -26,6 +26,8 @@
       "error",
       "always-multiline"
     ],
+    "new-cap": "off",
+    "no-mixed-operators": "off",
     "object-curly-spacing": [
       "error",
       "always"
       "error",
       "never"
     ],
+    "unicorn/explicit-length-check": "off",
     "unicorn/filename-case": "off",
-    "unicorn/no-unused-properties": "error"
+    "unicorn/import-index": "off",
+    "unicorn/no-unused-properties": "error",
+    "unicorn/prefer-node-append": "off",
+    "unicorn/prefer-query-selector": "off"
   }
 }
index cafe9c04e507e18e8a6aa47b41020289c44531b6..c8b3c9170c0b26dfb5a4036e18202bd5606b4fff 100644 (file)
@@ -42,6 +42,7 @@
       "error",
       "always-multiline"
     ],
+    "new-cap": "off",
     "object-curly-spacing": [
       "error",
       "always"
@@ -52,6 +53,8 @@
     ],
     "strict": "error",
     "unicorn/filename-case": "off",
-    "unicorn/no-unused-properties": "error"
+    "unicorn/no-unused-properties": "error",
+    "unicorn/prefer-node-append": "off",
+    "unicorn/prefer-query-selector": "off"
   }
 }
index 8c2cffef79965c3b6aff9515a3275973c0a6477a..0cf25855051cff4dcb0d752aa410671e8542a303 100644 (file)
@@ -22,6 +22,7 @@
       "error",
       "always-multiline"
     ],
+    "no-new": "off",
     "object-curly-spacing": [
       "error",
       "always"