From 251573eae651b7271aa797fad846be7622743ff1 Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:07:04 +0800 Subject: [PATCH] [release-4.1] chore: bump ESLint dependencies (#4327) chore: bump ESLint dependencies Signed-off-by: donniean Co-authored-by: donniean --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- package.json | 6 ++--- yarn.lock | 40 +++++++++++--------------------- 3 files changed, 17 insertions(+), 31 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 01b34e82ee9..070e148e714 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -32,7 +32,7 @@ Usage: `Fixes #`, or `Fixes (paste link of issue)`. _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* --> -Link # +Links # ### Special notes for reviewers diff --git a/package.json b/package.json index 87c618dd6ec..02214087b47 100644 --- a/package.json +++ b/package.json @@ -138,16 +138,16 @@ "css-minimizer-webpack-plugin": "^3.1.1", "eslint": "^7.32.0", "eslint-config-airbnb-typescript": "^14.0.1", - "eslint-config-kubesphere": "^1.2.1", - "eslint-config-prettier": "^8.5.0", + "eslint-config-kubesphere": "^1.2.2", + "eslint-config-prettier": "^9.1.0", "eslint-friendly-formatter": "^4.0.1", "eslint-import-resolver-webpack": "^0.13.1", "eslint-plugin-babel": "^5.3.0", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-react": "^7.26.1", + "eslint-plugin-react-hooks": "^5.0.0", "esno": "^0.16.3", "execa": "^6.1.0", "fast-glob": "^3.2.11", diff --git a/yarn.lock b/yarn.lock index df0e3922587..4dbbe56fa5e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6262,15 +6262,15 @@ eslint-config-airbnb-typescript@^14.0.1: dependencies: eslint-config-airbnb-base "14.2.1" -eslint-config-kubesphere@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/eslint-config-kubesphere/-/eslint-config-kubesphere-1.2.1.tgz#64c17bfb43e603f893522de5412ff007a42392e2" - integrity sha512-wn2P6XUYQrDVjig2f4lgxKsZeQLtSVsLfw26mWk2f7wtpI/4C6TVIdEgZ75a7T8ev0uB7HYml59XVnlKG9Jdow== +eslint-config-kubesphere@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/eslint-config-kubesphere/-/eslint-config-kubesphere-1.2.2.tgz#7e925e23eb38b4bc44e6ce68245d0a3476ac8b80" + integrity sha512-kmgNnCAF5zRTOxy/+4KgBj0BfL8saX+Yo8PVm363A4WUaZTJUQ6biPECeCj3WkniKf4nWdbCv17tkeeTiicKRA== -eslint-config-prettier@^8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" - integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== +eslint-config-prettier@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" + integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== eslint-friendly-formatter@^4.0.1: version "4.0.1" @@ -6361,18 +6361,16 @@ eslint-plugin-jsx-a11y@^6.4.1: jsx-ast-utils "^3.1.0" language-tags "^1.0.5" -eslint-plugin-prettier@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" - integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== - dependencies: - prettier-linter-helpers "^1.0.0" - eslint-plugin-promise@^5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.1.1.tgz#9674d11c056d1bafac38e4a3a9060be740988d90" integrity sha512-XgdcdyNzHfmlQyweOPTxmc7pIsS6dE4MvwhXWMQ2Dxs1XAL2GJDilUsjWen6TWik0aSI+zD/PqocZBblcm9rdA== +eslint-plugin-react-hooks@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz#72e2eefbac4b694f5324154619fee44f5f60f101" + integrity sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw== + eslint-plugin-react@^7.26.1: version "7.26.1" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.26.1.tgz#41bcfe3e39e6a5ac040971c1af94437c80daa40e" @@ -6746,11 +6744,6 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - fast-equals@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/fast-equals/-/fast-equals-4.0.3.tgz#72884cc805ec3c6679b99875f6b7654f39f0e8c7" @@ -12280,13 +12273,6 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - prettier@^2.7.1: version "2.8.8" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"