Skip to content

Commit 84eac0a

Browse files
committed
fix: update eslint-plugin-unicorn to v56
1 parent a72897c commit 84eac0a

File tree

4 files changed

+36
-31
lines changed

4 files changed

+36
-31
lines changed

packages/eslint-config-qiwi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint-plugin-react": "^7.37.1",
3838
"eslint-plugin-react-hooks": "^4.6.2",
3939
"eslint-plugin-sonarjs": "^2.0.3",
40-
"eslint-plugin-unicorn": "^47.0.0"
40+
"eslint-plugin-unicorn": "^56.0.0"
4141
},
4242
"peerDependencies": {
4343
"eslint": "^8.0.0",

packages/eslint-config-qiwi/src/test/js/__snapshots__/index.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ exports[`eslint-config-qiwi (JavaScript) config works as expected 1`] = `
1212
4:17 error Do not use useless \`undefined\` unicorn/no-useless-undefined
1313
5:22 error Unnecessary escape character: \\o no-useless-escape
1414
6:18 error Unexpected control character(s) in regular expression: \\x1f no-control-regex
15-
6:18 error Use Unicode escapes instead of hexadecimal escapes unicorn/no-hex-escape
1615
6:18 error Use uppercase characters for the value of the escape sequence unicorn/escape-case
16+
6:18 error Use Unicode escapes instead of hexadecimal escapes unicorn/no-hex-escape
1717
7:29 error Unexpected control character(s) in regular expression: \\x1f no-control-regex
1818
7:29 error Use uppercase characters for the value of the escape sequence unicorn/escape-case
1919
7:29 error Use Unicode escapes instead of hexadecimal escapes unicorn/no-hex-escape

packages/eslint-config-qiwi/src/test/ts/__snapshots__/index.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ exports[`eslint-config-qiwi (TypeScript) config works as expected 1`] = `
2020
8:3 error Unexpected var, use let or const instead no-var
2121
8:7 warning 'pattern1' is assigned a value but never used @typescript-eslint/no-unused-vars
2222
8:18 error Unexpected control character(s) in regular expression: \\x1f no-control-regex
23-
8:18 error Use Unicode escapes instead of hexadecimal escapes unicorn/no-hex-escape
2423
8:18 error Use uppercase characters for the value of the escape sequence unicorn/escape-case
24+
8:18 error Use Unicode escapes instead of hexadecimal escapes unicorn/no-hex-escape
2525
9:3 error Unexpected var, use let or const instead no-var
2626
9:7 warning 'pattern2' is assigned a value but never used @typescript-eslint/no-unused-vars
2727
9:29 error Unexpected control character(s) in regular expression: \\x1f no-control-regex

yarn.lock

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ __metadata:
332332
languageName: node
333333
linkType: hard
334334

335-
"@babel/helper-validator-identifier@npm:^7.16.7, @babel/helper-validator-identifier@npm:^7.19.1, @babel/helper-validator-identifier@npm:^7.25.7":
335+
"@babel/helper-validator-identifier@npm:^7.16.7, @babel/helper-validator-identifier@npm:^7.24.7, @babel/helper-validator-identifier@npm:^7.25.7":
336336
version: 7.25.7
337337
resolution: "@babel/helper-validator-identifier@npm:7.25.7"
338338
checksum: 10/ec6934cc47fc35baaeb968414a372b064f14f7b130cf6489a014c9486b0fd2549b3c6c682cc1fc35080075e8e38d96aeb40342d63d09fc1a62510c8ce25cde1e
@@ -3321,13 +3321,20 @@ __metadata:
33213321
languageName: node
33223322
linkType: hard
33233323

3324-
"ci-info@npm:^3.2.0, ci-info@npm:^3.8.0":
3324+
"ci-info@npm:^3.2.0":
33253325
version: 3.9.0
33263326
resolution: "ci-info@npm:3.9.0"
33273327
checksum: 10/75bc67902b4d1c7b435497adeb91598f6d52a3389398e44294f6601b20cfef32cf2176f7be0eb961d9e085bb333a8a5cae121cb22f81cf238ae7f58eb80e9397
33283328
languageName: node
33293329
linkType: hard
33303330

3331+
"ci-info@npm:^4.0.0":
3332+
version: 4.0.0
3333+
resolution: "ci-info@npm:4.0.0"
3334+
checksum: 10/c983bb7ff1b06648f4a47432201abbd58291147d8ab5043dbb5c03e1a0e3fb2347f40d29b66a3044f28ffeb5dade01ac35aa6bd4e7464a44d9a49a3d7532415a
3335+
languageName: node
3336+
linkType: hard
3337+
33313338
"cjs-module-lexer@npm:^1.0.0":
33323339
version: 1.4.1
33333340
resolution: "cjs-module-lexer@npm:1.4.1"
@@ -3438,7 +3445,7 @@ __metadata:
34383445
languageName: node
34393446
linkType: hard
34403447

3441-
"core-js-compat@npm:^3.37.1, core-js-compat@npm:^3.38.0":
3448+
"core-js-compat@npm:^3.37.1, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1":
34423449
version: 3.38.1
34433450
resolution: "core-js-compat@npm:3.38.1"
34443451
dependencies:
@@ -4018,7 +4025,7 @@ __metadata:
40184025
eslint-plugin-react: "npm:^7.37.1"
40194026
eslint-plugin-react-hooks: "npm:^4.6.2"
40204027
eslint-plugin-sonarjs: "npm:^2.0.3"
4021-
eslint-plugin-unicorn: "npm:^47.0.0"
4028+
eslint-plugin-unicorn: "npm:^56.0.0"
40224029
jest: "npm:^29.7.0"
40234030
ts-jest: "npm:^29.2.5"
40244031
typescript: "npm:^5.0.0"
@@ -4187,29 +4194,29 @@ __metadata:
41874194
languageName: node
41884195
linkType: hard
41894196

4190-
"eslint-plugin-unicorn@npm:^47.0.0":
4191-
version: 47.0.0
4192-
resolution: "eslint-plugin-unicorn@npm:47.0.0"
4197+
"eslint-plugin-unicorn@npm:^56.0.0":
4198+
version: 56.0.0
4199+
resolution: "eslint-plugin-unicorn@npm:56.0.0"
41934200
dependencies:
4194-
"@babel/helper-validator-identifier": "npm:^7.19.1"
4201+
"@babel/helper-validator-identifier": "npm:^7.24.7"
41954202
"@eslint-community/eslint-utils": "npm:^4.4.0"
4196-
ci-info: "npm:^3.8.0"
4203+
ci-info: "npm:^4.0.0"
41974204
clean-regexp: "npm:^1.0.0"
4198-
esquery: "npm:^1.5.0"
4205+
core-js-compat: "npm:^3.38.1"
4206+
esquery: "npm:^1.6.0"
4207+
globals: "npm:^15.9.0"
41994208
indent-string: "npm:^4.0.0"
42004209
is-builtin-module: "npm:^3.2.1"
42014210
jsesc: "npm:^3.0.2"
4202-
lodash: "npm:^4.17.21"
42034211
pluralize: "npm:^8.0.0"
42044212
read-pkg-up: "npm:^7.0.1"
4205-
regexp-tree: "npm:^0.1.24"
4213+
regexp-tree: "npm:^0.1.27"
42064214
regjsparser: "npm:^0.10.0"
4207-
safe-regex: "npm:^2.1.1"
4208-
semver: "npm:^7.3.8"
4215+
semver: "npm:^7.6.3"
42094216
strip-indent: "npm:^3.0.0"
42104217
peerDependencies:
4211-
eslint: ">=8.38.0"
4212-
checksum: 10/382fa54f819164746c6b29c5ef306a262c5ce53548ef8212c10a12d87d94d8efed3ecb27dd51747aea7d5f5d58052897e4f751a600774c0462ef615a9aa38f1b
4218+
eslint: ">=8.56.0"
4219+
checksum: 10/142c66c65b2fd53136727a434b0fc77e9a9f9614aebe09330aeab83b021c842c3a5f9dafe3130c0f39fbd3562e91aadcc55a9de4312639e70fe7efb475cd358e
42134220
languageName: node
42144221
linkType: hard
42154222

@@ -4326,7 +4333,7 @@ __metadata:
43264333
languageName: node
43274334
linkType: hard
43284335

4329-
"esquery@npm:^1.4.0, esquery@npm:^1.4.2, esquery@npm:^1.5.0":
4336+
"esquery@npm:^1.4.0, esquery@npm:^1.4.2, esquery@npm:^1.6.0":
43304337
version: 1.6.0
43314338
resolution: "esquery@npm:1.6.0"
43324339
dependencies:
@@ -4749,6 +4756,13 @@ __metadata:
47494756
languageName: node
47504757
linkType: hard
47514758

4759+
"globals@npm:^15.9.0":
4760+
version: 15.11.0
4761+
resolution: "globals@npm:15.11.0"
4762+
checksum: 10/14009ef1906ac929d930ed1c896a47159e7d11b4d201901ca5f3827766519191a3f5fb45124de43c4511fee04018704e7ed5a097fb37d23abf39523d1d41c85f
4763+
languageName: node
4764+
linkType: hard
4765+
47524766
"globalthis@npm:^1.0.3, globalthis@npm:^1.0.4":
47534767
version: 1.0.4
47544768
resolution: "globalthis@npm:1.0.4"
@@ -7212,7 +7226,7 @@ __metadata:
72127226
languageName: node
72137227
linkType: hard
72147228

7215-
"regexp-tree@npm:^0.1.24, regexp-tree@npm:~0.1.1":
7229+
"regexp-tree@npm:^0.1.27":
72167230
version: 0.1.27
72177231
resolution: "regexp-tree@npm:0.1.27"
72187232
bin:
@@ -7429,15 +7443,6 @@ __metadata:
74297443
languageName: node
74307444
linkType: hard
74317445

7432-
"safe-regex@npm:^2.1.1":
7433-
version: 2.1.1
7434-
resolution: "safe-regex@npm:2.1.1"
7435-
dependencies:
7436-
regexp-tree: "npm:~0.1.1"
7437-
checksum: 10/180d264110cdac9935877e5c37d17b89bd7e3a9bac982439e61517e4e0dfb0821e89ed49cb84c2d9690d18b33a0edf46d4decc6989e295ba2c866c08ed8b441a
7438-
languageName: node
7439-
linkType: hard
7440-
74417446
"safer-buffer@npm:>= 2.1.2 < 3.0.0":
74427447
version: 2.1.2
74437448
resolution: "safer-buffer@npm:2.1.2"
@@ -7474,7 +7479,7 @@ __metadata:
74747479
languageName: node
74757480
linkType: hard
74767481

7477-
"semver@npm:7.6.3, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3":
7482+
"semver@npm:7.6.3, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3":
74787483
version: 7.6.3
74797484
resolution: "semver@npm:7.6.3"
74807485
bin:

0 commit comments

Comments
 (0)