From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 May 2021 12:57:55 +0000 (+0300) Subject: Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646) X-Git-Tag: v5.0.0~6 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6633845901672cb642c0975e6fea3d1a1fa20058;p=thirdparty%2Fbootstrap.git Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646) * Bump eslint-config-xo from 0.35.0 to 0.36.0 Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.35.0 to 0.36.0. - [Release notes](https://github.com/xojs/eslint-config-xo/releases) - [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.35.0...v0.36.0) Signed-off-by: dependabot[bot] * Adapt config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- 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"