From 6633845901672cb642c0975e6fea3d1a1fa20058 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 May 2021 15:57:55 +0300 Subject: [PATCH] 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 --- .eslintrc.json | 2 +- package-lock.json | 6 +++--- package.json | 2 +- site/.eslintrc.json | 4 ++++ 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"