]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update eslint config for the new xo rules.
authorXhmikosR <xhmikosr@gmail.com>
Sat, 30 Mar 2019 15:36:54 +0000 (17:36 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 10 Apr 2019 12:18:57 +0000 (15:18 +0300)
.eslintrc.json
js/tests/unit/.eslintrc.json
site/.eslintrc.json

index e0fa201bc1906edc355955969ce5658e5088db4b..e61dc1741e9646ef0c52e2b37ac64a0c30c7597b 100644 (file)
     "unicorn/filename-case": "off",
     "unicorn/import-index": "off",
     "unicorn/no-unused-properties": "error",
+    "unicorn/prefer-includes": "off",
     "unicorn/prefer-node-append": "off",
-    "unicorn/prefer-query-selector": "off"
+    "unicorn/prefer-node-remove": "off",
+    "unicorn/prefer-query-selector": "off",
+    "unicorn/prefer-text-content": "off",
+    "unicorn/prevent-abbreviations": "off"
   }
 }
index c8b3c9170c0b26dfb5a4036e18202bd5606b4fff..27b29e2eca6f6494f4e641233a94691fd8f0253d 100644 (file)
     "strict": "error",
     "unicorn/filename-case": "off",
     "unicorn/no-unused-properties": "error",
+    "unicorn/prefer-includes": "off",
     "unicorn/prefer-node-append": "off",
-    "unicorn/prefer-query-selector": "off"
+    "unicorn/prefer-node-remove": "off",
+    "unicorn/prefer-query-selector": "off",
+    "unicorn/prevent-abbreviations": "off"
   }
 }
index 0cf25855051cff4dcb0d752aa410671e8542a303..8cda59ae2814d76686075e669c3b467315ee86f6 100644 (file)
@@ -32,6 +32,9 @@
       "never"
     ],
     "strict": "error",
-    "unicorn/prefer-query-selector": "off"
+    "unicorn/prefer-includes": "off",
+    "unicorn/prefer-node-append": "off",
+    "unicorn/prefer-query-selector": "off",
+    "unicorn/prevent-abbreviations": "off"
   }
 }