Skip to content

Commit

Permalink
Update eslint-plugin-unicorn to v54 (#16407)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jun 14, 2024
1 parent a7fbf91 commit 57253de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ export default [
"no-implicit-coercion": "error",
"no-inner-declarations": "error",
"no-lonely-if": "error",
"no-restricted-syntax": [
"error",
// `!foo === bar` and `!foo !== bar`
'BinaryExpression[operator=/^[!=]==$/] > UnaryExpression.left[operator="!"]',
],
"no-unneeded-ternary": "error",
"no-useless-return": "error",
"no-unused-expressions": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"eslint-plugin-react": "7.34.2",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-simple-import-sort": "12.1.0",
"eslint-plugin-unicorn": "53.0.0",
"eslint-plugin-unicorn": "54.0.0",
"esm-utils": "4.3.0",
"execa": "7.2.0",
"jest": "30.0.0-alpha.5",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3976,9 +3976,9 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-unicorn@npm:53.0.0":
version: 53.0.0
resolution: "eslint-plugin-unicorn@npm:53.0.0"
"eslint-plugin-unicorn@npm:54.0.0":
version: 54.0.0
resolution: "eslint-plugin-unicorn@npm:54.0.0"
dependencies:
"@babel/helper-validator-identifier": "npm:^7.24.5"
"@eslint-community/eslint-utils": "npm:^4.4.0"
Expand All @@ -3998,7 +3998,7 @@ __metadata:
strip-indent: "npm:^3.0.0"
peerDependencies:
eslint: ">=8.56.0"
checksum: 10/988673e28a556ea31475dde8470b0d176fbf5089eeb6693fd56432e06b5295b2093aefc16e0a7b319133b75ec4f044f94b2b40f3cf01ff04f4a29adf30c3ac22
checksum: 10/9150970d264a03e8cc09509296dbb9aefe8d1cd3c2ee5e69e43d6a0c0401e5e5648eae3f4930ba07833a0f06bd0713b12241337c4303dba862b205e41d64b410
languageName: node
linkType: hard

Expand Down Expand Up @@ -7376,7 +7376,7 @@ __metadata:
eslint-plugin-react: "npm:7.34.2"
eslint-plugin-regexp: "npm:2.6.0"
eslint-plugin-simple-import-sort: "npm:12.1.0"
eslint-plugin-unicorn: "npm:53.0.0"
eslint-plugin-unicorn: "npm:54.0.0"
esm-utils: "npm:4.3.0"
espree: "npm:10.0.1"
execa: "npm:7.2.0"
Expand Down

0 comments on commit 57253de

Please sign in to comment.