Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.json2
-rw-r--r--package-lock.json6
-rw-r--r--package.json2
-rw-r--r--site/.eslintrc.json4
4 files changed, 9 insertions, 5 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 52645ee3d0..3d86cbdef3 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,7 +4,7 @@
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended",
- "xo/esnext",
+ "xo",
"xo/browser"
],
"rules": {
diff --git a/package-lock.json b/package-lock.json
index bd4e65726b..14529b817f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3800,9 +3800,9 @@
}
},
"eslint-config-xo": {
- "version": "0.35.0",
- "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.35.0.tgz",
- "integrity": "sha512-+WyZTLWUJlvExFrBU/Ldw8AB/S0d3x+26JQdBWbcqig2ZaWh0zinYcHok+ET4IoPaEcRRf3FE9kjItNVjBwnAg==",
+ "version": "0.36.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.36.0.tgz",
+ "integrity": "sha512-RCaqCyI38awe3qgiO0Z8CqHs9yw7dMKdV6ZRTFSR7lm0//370tbDEZaQBXnztgpwe5m6D+VvFWc3vLMP/W6EAg==",
"dev": true,
"requires": {
"confusing-browser-globals": "1.0.10"
diff --git a/package.json b/package.json
index 8925da590a..317c56318d 100644
--- a/package.json
+++ b/package.json
@@ -113,7 +113,7 @@
"clean-css-cli": "^5.3.0",
"cross-env": "^7.0.3",
"eslint": "^7.25.0",
- "eslint-config-xo": "^0.35.0",
+ "eslint-config-xo": "^0.36.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-unicorn": "^31.0.0",
"find-unused-sass-variables": "^3.1.0",
diff --git a/site/.eslintrc.json b/site/.eslintrc.json
index 6c78209d2d..b34d331515 100644
--- a/site/.eslintrc.json
+++ b/site/.eslintrc.json
@@ -24,10 +24,14 @@
"always-multiline"
],
"no-new": "off",
+ "no-var": "off",
"object-curly-spacing": [
"error",
"always"
],
+ "object-shorthand": "off",
+ "prefer-arrow-callback": "off",
+ "prefer-destructuring": "off",
"semi": [
"error",
"never"