From 0519a3bb57bfde5cedf6467063681d3894960c26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 May 2021 15:27:03 +0300 Subject: [PATCH] Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 (#33769) * Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 30.0.0 to 31.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v30.0.0...v31.0.0) Signed-off-by: dependabot[bot] * Disable the `unicorn/prefer-module` rule Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- .eslintrc.json | 1 + package-lock.json | 16 +++++++++++++--- package.json | 2 +- site/.eslintrc.json | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 049c736673..52645ee3d0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -51,6 +51,7 @@ "unicorn/prefer-dom-node-append": "off", "unicorn/prefer-dom-node-dataset": "off", "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-module": "off", "unicorn/prefer-query-selector": "off", "unicorn/prefer-spread": "off", "unicorn/prevent-abbreviations": "off" diff --git a/package-lock.json b/package-lock.json index 9d30767a69..82ae2f90a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3922,9 +3922,9 @@ } }, "eslint-plugin-unicorn": { - "version": "30.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-30.0.0.tgz", - "integrity": "sha512-ZKbE48Ep99z/3geLpkBfv+jNrzr2k7bLqCC/RfZOekZzAvn2/ECDE/d8zGdW1YxHmIC9pevQvm8Pl89v9GEIVw==", + "version": "31.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-31.0.0.tgz", + "integrity": "sha512-HR3gI4ANtV8A+0FLAaxjBD/G5J3PWBo+7OswyGeK5nylGqtKLJVbnPksIkBgmVg+SFpxu5MnjaxQQI+9KjyVAg==", "dev": true, "requires": { "ci-info": "^3.1.1", @@ -3933,6 +3933,7 @@ "eslint-utils": "^2.1.0", "eslint-visitor-keys": "^2.0.0", "import-modules": "^2.1.0", + "is-builtin-module": "^3.1.0", "lodash": "^4.17.21", "pluralize": "^8.0.0", "read-pkg-up": "^7.0.1", @@ -5459,6 +5460,15 @@ "dev": true, "optional": true }, + "is-builtin-module": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.1.0.tgz", + "integrity": "sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==", + "dev": true, + "requires": { + "builtin-modules": "^3.0.0" + } + }, "is-callable": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", diff --git a/package.json b/package.json index 27d32c6098..22bd569e6d 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "eslint": "^7.25.0", "eslint-config-xo": "^0.35.0", "eslint-plugin-import": "^2.22.1", - "eslint-plugin-unicorn": "^30.0.0", + "eslint-plugin-unicorn": "^31.0.0", "find-unused-sass-variables": "^3.1.0", "glob": "^7.1.6", "globby": "^11.0.3", diff --git a/site/.eslintrc.json b/site/.eslintrc.json index a5c4dabb3f..6c78209d2d 100644 --- a/site/.eslintrc.json +++ b/site/.eslintrc.json @@ -38,6 +38,7 @@ "unicorn/no-null": "off", "unicorn/prefer-dom-node-append": "off", "unicorn/prefer-dom-node-dataset": "off", + "unicorn/prefer-module": "off", "unicorn/prefer-query-selector": "off", "unicorn/prevent-abbreviations": "off" }