aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-03-30 17:36:54 +0200
committerXhmikosR <[email protected]>2019-04-10 15:18:57 +0300
commit105687ac4a7c13b854a8039db1665489edf37c5e (patch)
tree1da9bd4b6d37b3d6d2031ae0ef7c59d16d9e2995
parent0b12f61e3c49b59ef9f6bbf6863849be6d504d18 (diff)
downloadbootstrap-105687ac4a7c13b854a8039db1665489edf37c5e.tar.xz
bootstrap-105687ac4a7c13b854a8039db1665489edf37c5e.zip
Update eslint config for the new xo rules.
-rw-r--r--.eslintrc.json6
-rw-r--r--js/tests/unit/.eslintrc.json5
-rw-r--r--site/.eslintrc.json5
3 files changed, 13 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index e0fa201bc..e61dc1741 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -47,7 +47,11 @@
"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"
}
}
diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json
index c8b3c9170..27b29e2ec 100644
--- a/js/tests/unit/.eslintrc.json
+++ b/js/tests/unit/.eslintrc.json
@@ -54,7 +54,10 @@
"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"
}
}
diff --git a/site/.eslintrc.json b/site/.eslintrc.json
index 0cf258550..8cda59ae2 100644
--- a/site/.eslintrc.json
+++ b/site/.eslintrc.json
@@ -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"
}
}