From 9a155b44238033561ba9bf7f040dc16ed7dd2129 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 7 Jun 2021 10:50:09 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @netlify/eslint-config-node to ^3.1.2 --- package-lock.json | 73 +++++++++++------------------------------------ package.json | 2 +- 2 files changed, 18 insertions(+), 57 deletions(-) diff --git a/package-lock.json b/package-lock.json index d6bb0be0..420de1ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@babel/core": "^7.11.6", "@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/preset-env": "^7.11.5", - "@netlify/eslint-config-node": "^3.1.1", + "@netlify/eslint-config-node": "^3.1.2", "@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/parser": "^4.0.1", "ava": "^3.15.0", @@ -1934,9 +1934,9 @@ } }, "node_modules/@netlify/eslint-config-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-3.1.1.tgz", - "integrity": "sha512-gfDEoyYrTE/I2mjKAHLp6u0TTRmgzHNBVqzm0aMbPMcjRDxliLs0G82AvyVjcIk6DVuMzllchsDkG/vj1UG1jw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-3.1.2.tgz", + "integrity": "sha512-LLTVHMaVvh1nGa+WJ++1J8ERWBURq35TH/QPM348zA/UCUamf8MYu0NG3Xir+7cdJZMg36d4LhjC+H0Npu5IRQ==", "dev": true, "dependencies": { "@babel/core": "^7.13.8", @@ -1957,7 +1957,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.0.0", "eslint-plugin-react": "^7.21.5", - "eslint-plugin-unicorn": "^32.0.0", + "eslint-plugin-unicorn": "^33.0.0", "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0", "execa": "^5.0.0", "husky": "^4.3.0", @@ -5944,15 +5944,15 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "32.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-32.0.1.tgz", - "integrity": "sha512-LaZ9utnXtOJjnoDkpm+nQsONUUmyRR0WD6PGROSdQRRW3LRmgK/ZP8wxjW+Ai+2uolKTtuJzLx2mvbIeIoLqpg==", + "version": "33.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-33.0.1.tgz", + "integrity": "sha512-VxX/L/9DUEyB3D0v00185LrgsB5/fBwkgA4IC7ehHRu5hFSgA6VecmdpFybhsr4GQ/Y1iyXMHf6q+JKvcR2MwA==", "dev": true, "dependencies": { "ci-info": "^3.1.1", "clean-regexp": "^1.0.0", "eslint-template-visitor": "^2.3.2", - "eslint-utils": "^2.1.0", + "eslint-utils": "^3.0.0", "import-modules": "^2.1.0", "is-builtin-module": "^3.1.0", "lodash": "^4.17.21", @@ -5979,30 +5979,6 @@ "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", "dev": true }, - "node_modules/eslint-plugin-unicorn/node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/eslint-plugin-unicorn/node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/eslint-plugin-unicorn/node_modules/read-pkg-up": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", @@ -15511,9 +15487,9 @@ "dev": true }, "@netlify/eslint-config-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-3.1.1.tgz", - "integrity": "sha512-gfDEoyYrTE/I2mjKAHLp6u0TTRmgzHNBVqzm0aMbPMcjRDxliLs0G82AvyVjcIk6DVuMzllchsDkG/vj1UG1jw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-3.1.2.tgz", + "integrity": "sha512-LLTVHMaVvh1nGa+WJ++1J8ERWBURq35TH/QPM348zA/UCUamf8MYu0NG3Xir+7cdJZMg36d4LhjC+H0Npu5IRQ==", "dev": true, "requires": { "@babel/core": "^7.13.8", @@ -15534,7 +15510,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.0.0", "eslint-plugin-react": "^7.21.5", - "eslint-plugin-unicorn": "^32.0.0", + "eslint-plugin-unicorn": "^33.0.0", "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0", "execa": "^5.0.0", "husky": "^4.3.0", @@ -18747,15 +18723,15 @@ } }, "eslint-plugin-unicorn": { - "version": "32.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-32.0.1.tgz", - "integrity": "sha512-LaZ9utnXtOJjnoDkpm+nQsONUUmyRR0WD6PGROSdQRRW3LRmgK/ZP8wxjW+Ai+2uolKTtuJzLx2mvbIeIoLqpg==", + "version": "33.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-33.0.1.tgz", + "integrity": "sha512-VxX/L/9DUEyB3D0v00185LrgsB5/fBwkgA4IC7ehHRu5hFSgA6VecmdpFybhsr4GQ/Y1iyXMHf6q+JKvcR2MwA==", "dev": true, "requires": { "ci-info": "^3.1.1", "clean-regexp": "^1.0.0", "eslint-template-visitor": "^2.3.2", - "eslint-utils": "^2.1.0", + "eslint-utils": "^3.0.0", "import-modules": "^2.1.0", "is-builtin-module": "^3.1.0", "lodash": "^4.17.21", @@ -18773,21 +18749,6 @@ "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", "dev": true }, - "eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - } - }, - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true - }, "read-pkg-up": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", diff --git a/package.json b/package.json index a9bf41bd..1a512563 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@babel/core": "^7.11.6", "@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/preset-env": "^7.11.5", - "@netlify/eslint-config-node": "^3.1.1", + "@netlify/eslint-config-node": "^3.1.2", "@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/parser": "^4.0.1", "ava": "^3.15.0", From 305023ed909e2e3d9d184574b7e9c030d73bc7a7 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Mon, 7 Jun 2021 13:06:42 +0200 Subject: [PATCH 2/2] chore: disable prefer-prototype-methods --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 143ec768..7c56ff57 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -39,6 +39,7 @@ module.exports = { 'promise/no-nesting': 0, 'node/no-unsupported-features/es-syntax': 0, camelcase: 0, + 'unicorn/prefer-prototype-methods': 0, }, overrides: [ ...overrides,