aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/.eslintrc.json')
-rw-r--r--vendor/twbs/bootstrap/.eslintrc.json16
1 files changed, 11 insertions, 5 deletions
diff --git a/vendor/twbs/bootstrap/.eslintrc.json b/vendor/twbs/bootstrap/.eslintrc.json
index f8e70335f..c5b351816 100644
--- a/vendor/twbs/bootstrap/.eslintrc.json
+++ b/vendor/twbs/bootstrap/.eslintrc.json
@@ -21,7 +21,12 @@
"warn",
5
],
- "new-cap": "off",
+ "new-cap": [
+ "error",
+ {
+ "properties": false
+ }
+ ],
"no-console": "error",
"no-mixed-operators": "off",
"no-negated-condition": "off",
@@ -37,16 +42,17 @@
"unicorn/consistent-function-scoping": "off",
"unicorn/explicit-length-check": "off",
"unicorn/import-index": "off",
- "unicorn/no-fn-reference-in-iterator": "off",
+ "unicorn/no-array-callback-reference": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/no-unused-properties": "error",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-array-find": "off",
- "unicorn/prefer-dataset": "off",
+ "unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-includes": "off",
- "unicorn/prefer-node-append": "off",
- "unicorn/prefer-node-remove": "off",
+ "unicorn/prefer-math-trunc": "off",
+ "unicorn/prefer-dom-node-append": "off",
+ "unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-query-selector": "off",