From a4a1e8aa5139b1a525095cc03e820e0f453b1223 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 7 Sep 2025 21:55:09 +0800 Subject: [PATCH] chore(deps): update dependency eslint-plugin-unicorn to v61 (#17852) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: fisker --- eslint.config.js | 3 ++- package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 64ffaa05b..b54f892e5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -232,6 +232,7 @@ export default [ "unicorn/no-array-method-this-argument": "off", "unicorn/no-array-reduce": "off", "unicorn/no-array-reverse": "off", + "unicorn/no-array-sort": "off", "unicorn/no-await-expression-member": "off", "unicorn/no-for-loop": "off", "unicorn/no-hex-escape": "off", @@ -356,7 +357,7 @@ export default [ }, }, { - files: ["tests/**/*.js"], + files: ["tests/**/*.{js,cjs}"], rules: { // TODO: Enable this when we drop support for Node.js v14 "logical-assignment-operators": "off", diff --git a/package.json b/package.json index f8c952b88..fe27e6ca9 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "eslint-plugin-n": "17.21.3", "eslint-plugin-regexp": "2.10.0", "eslint-plugin-simple-import-sort": "12.1.1", - "eslint-plugin-unicorn": "60.0.0", + "eslint-plugin-unicorn": "61.0.1", "esm-utils": "4.4.2", "globals": "16.3.0", "jest": "30.1.2", diff --git a/yarn.lock b/yarn.lock index 362e6fd5e..ed47a30f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4345,9 +4345,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:60.0.0": - version: 60.0.0 - resolution: "eslint-plugin-unicorn@npm:60.0.0" +"eslint-plugin-unicorn@npm:61.0.1": + version: 61.0.1 + resolution: "eslint-plugin-unicorn@npm:61.0.1" dependencies: "@babel/helper-validator-identifier": "npm:^7.27.1" "@eslint-community/eslint-utils": "npm:^4.7.0" @@ -4369,7 +4369,7 @@ __metadata: strip-indent: "npm:^4.0.0" peerDependencies: eslint: ">=9.29.0" - checksum: 10/f46f9212c83fb6257ffea9359c160925fb8da817d4b12b707868886c177bc01de040ec870c2b2ee59da6c727e11d4fc4199ab1ed38ef7afe63bc5c79870a0963 + checksum: 10/e741255878d11f4037c2126b8d40a56cca1710b2f8a4ffd5695fe7e306aa1f9eb623358977e97da31e055c8b092c913d1aea6f4b2a8e32b26387f9d715daeef8 languageName: node linkType: hard @@ -7475,7 +7475,7 @@ __metadata: eslint-plugin-n: "npm:17.21.3" eslint-plugin-regexp: "npm:2.10.0" eslint-plugin-simple-import-sort: "npm:12.1.1" - eslint-plugin-unicorn: "npm:60.0.0" + eslint-plugin-unicorn: "npm:61.0.1" esm-utils: "npm:4.4.2" espree: "npm:10.4.0" fast-glob: "npm:3.3.3"