Update eslint-plugin-unicorn to v67 (#19389)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-06-17 05:37:42 +08:00
1 parent dd9b7e3f23
commit f9a054f671
3 files changed
+13 -6

No files matched your search

+7
View File
@@ -241,6 +241,7 @@ const configs = [
"unicorn/catch-error-name": "off",
// Doesn't work for code and JSDoc in comments
"unicorn/comment-content": "off",
"unicorn/consistent-boolean-name": "off",
"unicorn/consistent-class-member-order": "off",
"unicorn/consistent-compound-words": "off",
"unicorn/consistent-destructuring": "off",
@@ -249,12 +250,14 @@ const configs = [
"unicorn/escape-case": "off",
"unicorn/filename-case": ["error", { checkDirectories: false }],
"unicorn/import-style": "off",
"unicorn/logical-assignment-operators": "off",
"unicorn/max-nested-calls": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-reverse": "off",
"unicorn/no-array-sort": "off",
"unicorn/no-array-splice": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/no-break-in-nested-loop": "off",
"unicorn/no-computed-property-existence-check": "off",
@@ -272,9 +275,11 @@ const configs = [
"unicorn/no-process-exit": "off",
"unicorn/no-thenable": "off",
"unicorn/no-this-outside-of-class": "off",
"unicorn/no-top-level-assignment-in-function": "off",
"unicorn/no-top-level-side-effects": "off",
"unicorn/no-undeclared-class-members": "off",
"unicorn/no-unreadable-array-destructuring": "off",
"unicorn/no-unreadable-for-of-expression": "off",
"unicorn/no-unreadable-new-expression": "off",
"unicorn/no-unreadable-object-destructuring": "off",
"unicorn/no-unsafe-string-replacement": "off",
@@ -290,6 +295,7 @@ const configs = [
],
"unicorn/number-literal-case": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/operator-assignment": "off",
"unicorn/prefer-array-flat": [
"error",
{
@@ -317,6 +323,7 @@ const configs = [
"unicorn/prefer-global-number-constants": "off",
"unicorn/prefer-global-this": "off",
"unicorn/prefer-https": "off",
"unicorn/prefer-else-if": "off",
"unicorn/prefer-includes-over-repeated-comparisons": "off",
"unicorn/prefer-minimal-ternary": "off",
"unicorn/prefer-query-selector": "off",
+1 -1
View File
@@ -160,7 +160,7 @@
"eslint-plugin-n": "18.1.0",
"eslint-plugin-regexp": "3.1.0",
"eslint-plugin-simple-import-sort": "13.0.0",
"eslint-plugin-unicorn": "66.0.0",
"eslint-plugin-unicorn": "67.0.0",
"esm-utils": "4.4.2",
"get-port": "7.2.0",
"gfm-test-suite": "0.0.2",
+5 -5
View File
@@ -4509,9 +4509,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-unicorn@npm:66.0.0":
version: 66.0.0
resolution: "eslint-plugin-unicorn@npm:66.0.0"
"eslint-plugin-unicorn@npm:67.0.0":
version: 67.0.0
resolution: "eslint-plugin-unicorn@npm:67.0.0"
dependencies:
"@babel/helper-validator-identifier": "npm:^7.29.7"
"@eslint-community/eslint-utils": "npm:^4.9.1"
@@ -4531,7 +4531,7 @@ __metadata:
strip-indent: "npm:^4.1.1"
peerDependencies:
eslint: ">=10.4"
checksum: 10/7cc02b67616d2f5415792b7c20178513d01ab857ae2a8794ff3b85ebb0ae3b3b85a344426910b8345fd52371c96d2986ab0469a6859bef7ce3f1e19dad0187f8
checksum: 10/71d786c328c24fd06e622930c80b3e4bd80da4b3367bb2ee087cd8ecfcb740a699ec0ba71cb259a65e515f83117bb9710836941d07f05ae9a1719ecad6bfe50b
languageName: node
linkType: hard
@@ -8151,7 +8151,7 @@ __metadata:
eslint-plugin-n: "npm:18.1.0"
eslint-plugin-regexp: "npm:3.1.0"
eslint-plugin-simple-import-sort: "npm:13.0.0"
eslint-plugin-unicorn: "npm:66.0.0"
eslint-plugin-unicorn: "npm:67.0.0"
esm-utils: "npm:4.4.2"
espree: "npm:11.2.0"
fast-glob: "npm:3.3.3"