From 3300c6267a3a43f5f3fce311d7b6b0daa44f23e7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2020 16:28:46 +0300 Subject: [PATCH] Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 (#30663) * Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 18.0.1 to 19.0.1. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.1...v19.0.1) Signed-off-by: dependabot-preview[bot] * ESlint: disable a few new rules for now. * unicorn/no-fn-reference-in-iterator * unicorn/no-null Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .eslintrc.json | 2 ++ package-lock.json | 22 ++++++++++++++++------ package.json | 2 +- site/.eslintrc.json | 1 + 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 8c52318b47..8c6a5a3e37 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -39,7 +39,9 @@ "unicorn/consistent-function-scoping": "off", "unicorn/explicit-length-check": "off", "unicorn/import-index": "off", + "unicorn/no-fn-reference-in-iterator": "off", "unicorn/no-for-loop": "off", + "unicorn/no-null": "off", "unicorn/no-unused-properties": "error", "unicorn/prefer-dataset": "off", "unicorn/prefer-includes": "off", diff --git a/package-lock.json b/package-lock.json index 75ca2a834e..6461ef3e61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4001,15 +4001,16 @@ } }, "eslint-plugin-unicorn": { - "version": "18.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-18.0.1.tgz", - "integrity": "sha512-Y4bgygek4x4ogeMcSHr6MZi3frBPZ80eIpMOsxew7jAblb53OYflpRh0an62Z6jv/fw7D3TkXauqLOBWbT9adg==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-19.0.1.tgz", + "integrity": "sha512-fu0/h5mHXfBC6EkA3i2vCjsfC8j53+T9txGhNL4fpxJ+1JKsUKfv+tmXDgy0XnLHhFjnOZp4tRWJWbcykeIP2Q==", "dev": true, "requires": { "ci-info": "^2.0.0", "clean-regexp": "^1.0.0", "eslint-ast-utils": "^1.1.0", "eslint-template-visitor": "^1.1.0", + "eslint-utils": "^2.0.0", "import-modules": "^2.0.0", "lodash": "^4.17.15", "read-pkg-up": "^7.0.1", @@ -4019,6 +4020,15 @@ "semver": "^7.1.3" }, "dependencies": { + "eslint-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", + "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -4089,9 +4099,9 @@ } }, "semver": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.2.2.tgz", - "integrity": "sha512-Zo84u6o2PebMSK3zjJ6Zp5wi8VnQZnEaCP13Ul/lt1ANsLACxnJxq4EEm1PY94/por1Hm9+7xpIswdS5AkieMA==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true }, "type-fest": { diff --git a/package.json b/package.json index 3e5e5c100b..4f252b31d9 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "eslint": "^6.8.0", "eslint-config-xo": "^0.29.1", "eslint-plugin-import": "^2.20.2", - "eslint-plugin-unicorn": "^18.0.1", + "eslint-plugin-unicorn": "^19.0.1", "find-unused-sass-variables": "^1.0.5", "glob": "^7.1.6", "hammer-simulator": "0.0.1", diff --git a/site/.eslintrc.json b/site/.eslintrc.json index 1d10223fc3..690606863e 100644 --- a/site/.eslintrc.json +++ b/site/.eslintrc.json @@ -35,6 +35,7 @@ "strict": "error", "unicorn/consistent-function-scoping": "off", "unicorn/no-for-loop": "off", + "unicorn/no-null": "off", "unicorn/prefer-dataset": "off", "unicorn/prefer-includes": "off", "unicorn/prefer-node-append": "off",