Skip to content

Commit 6c49a41

Browse files
authored
chore: update eslint-plugin-unicorn (#15005)
1 parent 1d682f2 commit 6c49a41

File tree

4 files changed

+35
-25
lines changed

4 files changed

+35
-25
lines changed

.eslintrc.cjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ module.exports = {
221221
'sort-keys': 'off',
222222
'unicorn/consistent-function-scoping': 'off',
223223
'unicorn/error-message': 'off',
224+
'unicorn/no-anonymous-default-export': 'off',
224225
'unicorn/no-await-expression-member': 'off',
225226
'unicorn/no-static-only-class': 'off',
226227
'unicorn/prefer-number-properties': 'off',
@@ -405,6 +406,7 @@ module.exports = {
405406
'e2e/**',
406407
'examples/**',
407408
'website/**',
409+
'**/__benchmarks__/**',
408410
'**/__mocks__/**',
409411
'**/__tests__/**',
410412
'**/__typetests__/**',
@@ -415,6 +417,13 @@ module.exports = {
415417
'import/no-unresolved': 'off',
416418
'no-console': 'off',
417419
'no-unused-vars': 'off',
420+
'unicorn/no-anonymous-default-export': 'off',
421+
},
422+
},
423+
{
424+
files: 'scripts/**/*',
425+
rules: {
426+
'unicorn/no-anonymous-default-export': 'off',
418427
},
419428
},
420429
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-plugin-markdown": "^3.0.0",
4343
"eslint-plugin-prettier": "^5.0.0",
4444
"eslint-plugin-promise": "^6.1.1",
45-
"eslint-plugin-unicorn": "^51.0.0",
45+
"eslint-plugin-unicorn": "^52.0.0",
4646
"execa": "^5.0.0",
4747
"find-process": "^1.4.1",
4848
"glob": "^10.3.10",

packages/babel-preset-jest/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ const jestPreset = {
1111
};
1212

1313
// @babel/core requires us to export a function
14-
module.exports = () => jestPreset;
14+
const jestPresetPlugin = () => jestPreset;
15+
module.exports = jestPresetPlugin;

yarn.lock

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2718,20 +2718,20 @@ __metadata:
27182718
linkType: hard
27192719

27202720
"@fast-check/jest@npm:^1.3.0":
2721-
version: 1.8.0
2722-
resolution: "@fast-check/jest@npm:1.8.0"
2721+
version: 1.8.1
2722+
resolution: "@fast-check/jest@npm:1.8.1"
27232723
dependencies:
27242724
fast-check: ^3.0.0
27252725
peerDependencies:
2726-
"@fast-check/worker": ~0.0.7 || ~0.1.0
2726+
"@fast-check/worker": ">=0.0.7 <0.4.0"
27272727
"@jest/expect": ">=28.0.0"
27282728
"@jest/globals": ">=25.5.2"
27292729
peerDependenciesMeta:
27302730
"@fast-check/worker":
27312731
optional: true
27322732
"@jest/expect":
27332733
optional: true
2734-
checksum: 61a66447bd9fca043f2b0a8988755ae8585eb97d9558ae6c1df77919371574924bde8ee7cf6472fc17ddcaa1e4be285d9399d4ec31ce7f947a332a9f8652bc65
2734+
checksum: a78279ed1d0756ce2cb4b80eb9e6d13492c77d664ad2cb24793295fe4d8cb49cb7a5fd03a659683fba96c1824a4211b79a236d28b359f32e22ee7029a0f20b2a
27352735
languageName: node
27362736
linkType: hard
27372737

@@ -3054,7 +3054,7 @@ __metadata:
30543054
eslint-plugin-markdown: ^3.0.0
30553055
eslint-plugin-prettier: ^5.0.0
30563056
eslint-plugin-promise: ^6.1.1
3057-
eslint-plugin-unicorn: ^51.0.0
3057+
eslint-plugin-unicorn: ^52.0.0
30583058
execa: ^5.0.0
30593059
find-process: ^1.4.1
30603060
glob: ^10.3.10
@@ -5092,12 +5092,12 @@ __metadata:
50925092
linkType: hard
50935093

50945094
"@types/eslint@npm:*":
5095-
version: 8.56.5
5096-
resolution: "@types/eslint@npm:8.56.5"
5095+
version: 8.56.7
5096+
resolution: "@types/eslint@npm:8.56.7"
50975097
dependencies:
50985098
"@types/estree": "*"
50995099
"@types/json-schema": "*"
5100-
checksum: 95a7a23ca38c78e5c27a2ed36ef60f094d5e6589e3473c320b6ff69eb3ca6333d5b7f0d5053416369f5ab2fb86874df19562d4d67a98237c17def6e30abff540
5100+
checksum: 26b036e27e369981843585248591b15068f1ba3ac44a01c09c34717f0b57cbb422a7ed2b497b51093b0ead97739e187dde65bbd5893ec901672dac39f41c8038
51015101
languageName: node
51025102
linkType: hard
51035103

@@ -9573,8 +9573,8 @@ __metadata:
95739573
linkType: hard
95749574

95759575
"eslint-plugin-jsdoc@npm:^48.0.0":
9576-
version: 48.2.1
9577-
resolution: "eslint-plugin-jsdoc@npm:48.2.1"
9576+
version: 48.2.2
9577+
resolution: "eslint-plugin-jsdoc@npm:48.2.2"
95789578
dependencies:
95799579
"@es-joy/jsdoccomment": ~0.42.0
95809580
are-docs-informative: ^0.0.2
@@ -9587,7 +9587,7 @@ __metadata:
95879587
spdx-expression-parse: ^4.0.0
95889588
peerDependencies:
95899589
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
9590-
checksum: e01414706a0cc5b958783d9212adfcf9599bbb4bab3f3277874d427efd6c9cbb798c0486aefbb5f73a48d0bf8cd74e1262d4e0542d51941e5bdd8ac8a6c025d6
9590+
checksum: 93e8021aa82734920c87de2c5a70b58b41c0beae40578d033bee54e6637058ce70c69f6575f99b67354202047a976aeba90300c37a7f0b7aa25439cb341d63d9
95919591
languageName: node
95929592
linkType: hard
95939593

@@ -9637,9 +9637,9 @@ __metadata:
96379637
languageName: node
96389638
linkType: hard
96399639

9640-
"eslint-plugin-unicorn@npm:^51.0.0":
9641-
version: 51.0.1
9642-
resolution: "eslint-plugin-unicorn@npm:51.0.1"
9640+
"eslint-plugin-unicorn@npm:^52.0.0":
9641+
version: 52.0.0
9642+
resolution: "eslint-plugin-unicorn@npm:52.0.0"
96439643
dependencies:
96449644
"@babel/helper-validator-identifier": ^7.22.20
96459645
"@eslint-community/eslint-utils": ^4.4.0
@@ -9659,7 +9659,7 @@ __metadata:
96599659
strip-indent: ^3.0.0
96609660
peerDependencies:
96619661
eslint: ">=8.56.0"
9662-
checksum: 1ab19ed95444f69220e385eb6292f4eadf1886a68fb775de7513e5e4a7aa667142200adda0212dea850d61ebf433c16b6a7163b8b032eeec25029ba0ab41c4ea
9662+
checksum: 27c827b67951d07145d451c426e714ce5b06f8022156185247dbebaf02642349cf0b5821a8b56ad7812646bcfb161f4db4382d10ba07544bf566b377bea3e70d
96639663
languageName: node
96649664
linkType: hard
96659665

@@ -10230,11 +10230,11 @@ __metadata:
1023010230
linkType: hard
1023110231

1023210232
"fast-check@npm:^3.0.0":
10233-
version: 3.16.0
10234-
resolution: "fast-check@npm:3.16.0"
10233+
version: 3.17.1
10234+
resolution: "fast-check@npm:3.17.1"
1023510235
dependencies:
10236-
pure-rand: ^6.0.0
10237-
checksum: 4917b09a74049cc123b68477971215a0f3427e20a436fa1877c696b2506e37ef956493b18ee03a40bfae2a78e75b0e8936d63dd94e8d21c32df48058a65d6056
10236+
pure-rand: ^6.1.0
10237+
checksum: 8654df49e6f38be692c4187aad53b3e02df7e7fa38d84f97623dbbf5307c55559ea24aee9873a74005bb83b344a1ecd5cafaf99f94e0e4eb5d33d8a37c8912da
1023810238
languageName: node
1023910239
linkType: hard
1024010240

@@ -17643,10 +17643,10 @@ __metadata:
1764317643
languageName: node
1764417644
linkType: hard
1764517645

17646-
"pure-rand@npm:^6.0.0":
17647-
version: 6.0.4
17648-
resolution: "pure-rand@npm:6.0.4"
17649-
checksum: e1c4e69f8bf7303e5252756d67c3c7551385cd34d94a1f511fe099727ccbab74c898c03a06d4c4a24a89b51858781057b83ebbfe740d984240cdc04fead36068
17646+
"pure-rand@npm:^6.0.0, pure-rand@npm:^6.1.0":
17647+
version: 6.1.0
17648+
resolution: "pure-rand@npm:6.1.0"
17649+
checksum: 8d53bc02bed99eca0b65b505090152ee7e9bd67dd74f8ff32ba1c883b87234067c5bf68d2614759fb217d82594d7a92919e6df80f97885e7b12b42af4bd3316a
1765017650
languageName: node
1765117651
linkType: hard
1765217652

0 commit comments

Comments
 (0)