Skip to content

Commit 8b011b2

Browse files
authored
chore: use v7 for @typescript-eslint in development (#1755)
1 parent 86684e0 commit 8b011b2

File tree

4 files changed

+76
-90
lines changed

4 files changed

+76
-90
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@
8585
"@types/jest": "^29.0.0",
8686
"@types/node": "^16.0.0",
8787
"@types/semver": "^7.5.8",
88-
"@typescript-eslint/eslint-plugin": "^6.0.0",
89-
"@typescript-eslint/parser": "^6.0.0",
90-
"@typescript-eslint/utils": "^6.0.0",
88+
"@typescript-eslint/eslint-plugin": "^7.0.0",
89+
"@typescript-eslint/parser": "^7.0.0",
90+
"@typescript-eslint/utils": "^7.0.0",
9191
"babel-jest": "^29.0.0",
9292
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
9393
"dedent": "^1.5.0",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import globals from './globals.json';
99

1010
type RuleModule = TSESLint.RuleModule<string, unknown[]> & {
11-
meta: Required<Pick<TSESLint.RuleMetaData<string>, 'docs'>>;
11+
meta: Required<Pick<TSESLint.RuleMetaData<string, unknown[]>, 'docs'>>;
1212
};
1313

1414
// copied from https://github.com/babel/babel/blob/d8da63c929f2d28c401571e2a43166678c555bc4/packages/babel-helpers/src/helpers.js#L602-L606

src/rules/consistent-test-it.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212

1313
const buildFixer =
1414
(
15-
callee: TSESTree.LeftHandSideExpression,
15+
callee: TSESTree.Expression,
1616
nodeName: string,
1717
preferredTestKeyword: TestCaseName.test | TestCaseName.it,
1818
) =>

yarn.lock

Lines changed: 71 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ __metadata:
15671567
languageName: node
15681568
linkType: hard
15691569

1570-
"@eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1":
1570+
"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.11.0, @eslint-community/regexpp@npm:^4.6.1":
15711571
version: 4.12.1
15721572
resolution: "@eslint-community/regexpp@npm:4.12.1"
15731573
checksum: 0d628680e204bc316d545b4993d3658427ca404ae646ce541fcc65306b8c712c340e5e573e30fb9f85f4855c0c5f6dca9868931f2fcced06417fbe1a0c6cd2d6
@@ -2793,7 +2793,7 @@ __metadata:
27932793
languageName: node
27942794
linkType: hard
27952795

2796-
"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12":
2796+
"@types/json-schema@npm:*":
27972797
version: 7.0.15
27982798
resolution: "@types/json-schema@npm:7.0.15"
27992799
checksum: 97ed0cb44d4070aecea772b7b2e2ed971e10c81ec87dd4ecc160322ffa55ff330dace1793489540e3e318d90942064bb697cc0f8989391797792d919737b3b98
@@ -2851,7 +2851,7 @@ __metadata:
28512851
languageName: node
28522852
linkType: hard
28532853

2854-
"@types/semver@npm:^7.5.0, @types/semver@npm:^7.5.8":
2854+
"@types/semver@npm:^7.5.8":
28552855
version: 7.7.0
28562856
resolution: "@types/semver@npm:7.7.0"
28572857
checksum: d488eaeddb23879a0a8a759bed667e1a76cb0dd4d23e3255538e24c189db387357953ca9e7a3bda2bb7f95e84cac8fe0db4fbe6b3456e893043337732d1d23cc
@@ -2888,46 +2888,44 @@ __metadata:
28882888
languageName: node
28892889
linkType: hard
28902890

2891-
"@typescript-eslint/eslint-plugin@npm:^6.0.0":
2892-
version: 6.21.0
2893-
resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0"
2891+
"@typescript-eslint/eslint-plugin@npm:^7.0.0":
2892+
version: 7.18.0
2893+
resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0"
28942894
dependencies:
2895-
"@eslint-community/regexpp": ^4.5.1
2896-
"@typescript-eslint/scope-manager": 6.21.0
2897-
"@typescript-eslint/type-utils": 6.21.0
2898-
"@typescript-eslint/utils": 6.21.0
2899-
"@typescript-eslint/visitor-keys": 6.21.0
2900-
debug: ^4.3.4
2895+
"@eslint-community/regexpp": ^4.10.0
2896+
"@typescript-eslint/scope-manager": 7.18.0
2897+
"@typescript-eslint/type-utils": 7.18.0
2898+
"@typescript-eslint/utils": 7.18.0
2899+
"@typescript-eslint/visitor-keys": 7.18.0
29012900
graphemer: ^1.4.0
2902-
ignore: ^5.2.4
2901+
ignore: ^5.3.1
29032902
natural-compare: ^1.4.0
2904-
semver: ^7.5.4
2905-
ts-api-utils: ^1.0.1
2903+
ts-api-utils: ^1.3.0
29062904
peerDependencies:
2907-
"@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha
2908-
eslint: ^7.0.0 || ^8.0.0
2905+
"@typescript-eslint/parser": ^7.0.0
2906+
eslint: ^8.56.0
29092907
peerDependenciesMeta:
29102908
typescript:
29112909
optional: true
2912-
checksum: 5ef2c502255e643e98051e87eb682c2a257e87afd8ec3b9f6274277615e1c2caf3131b352244cfb1987b8b2c415645eeacb9113fa841fc4c9b2ac46e8aed6efd
2910+
checksum: dfcf150628ca2d4ccdfc20b46b0eae075c2f16ef5e70d9d2f0d746acf4c69a09f962b93befee01a529f14bbeb3e817b5aba287d7dd0edc23396bc5ed1f448c3d
29132911
languageName: node
29142912
linkType: hard
29152913

2916-
"@typescript-eslint/parser@npm:^6.0.0":
2917-
version: 6.21.0
2918-
resolution: "@typescript-eslint/parser@npm:6.21.0"
2914+
"@typescript-eslint/parser@npm:^7.0.0":
2915+
version: 7.18.0
2916+
resolution: "@typescript-eslint/parser@npm:7.18.0"
29192917
dependencies:
2920-
"@typescript-eslint/scope-manager": 6.21.0
2921-
"@typescript-eslint/types": 6.21.0
2922-
"@typescript-eslint/typescript-estree": 6.21.0
2923-
"@typescript-eslint/visitor-keys": 6.21.0
2918+
"@typescript-eslint/scope-manager": 7.18.0
2919+
"@typescript-eslint/types": 7.18.0
2920+
"@typescript-eslint/typescript-estree": 7.18.0
2921+
"@typescript-eslint/visitor-keys": 7.18.0
29242922
debug: ^4.3.4
29252923
peerDependencies:
2926-
eslint: ^7.0.0 || ^8.0.0
2924+
eslint: ^8.56.0
29272925
peerDependenciesMeta:
29282926
typescript:
29292927
optional: true
2930-
checksum: 162fe3a867eeeffda7328bce32dae45b52283c68c8cb23258fb9f44971f761991af61f71b8c9fe1aa389e93dfe6386f8509c1273d870736c507d76dd40647b68
2928+
checksum: 132b56ac3b2d90b588d61d005a70f6af322860974225b60201cbf45abf7304d67b7d8a6f0ade1c188ac4e339884e78d6dcd450417f1481998f9ddd155bab0801
29312929
languageName: node
29322930
linkType: hard
29332931

@@ -2944,13 +2942,13 @@ __metadata:
29442942
languageName: node
29452943
linkType: hard
29462944

2947-
"@typescript-eslint/scope-manager@npm:6.21.0":
2948-
version: 6.21.0
2949-
resolution: "@typescript-eslint/scope-manager@npm:6.21.0"
2945+
"@typescript-eslint/scope-manager@npm:7.18.0":
2946+
version: 7.18.0
2947+
resolution: "@typescript-eslint/scope-manager@npm:7.18.0"
29502948
dependencies:
2951-
"@typescript-eslint/types": 6.21.0
2952-
"@typescript-eslint/visitor-keys": 6.21.0
2953-
checksum: 71028b757da9694528c4c3294a96cc80bc7d396e383a405eab3bc224cda7341b88e0fc292120b35d3f31f47beac69f7083196c70616434072fbcd3d3e62d3376
2949+
"@typescript-eslint/types": 7.18.0
2950+
"@typescript-eslint/visitor-keys": 7.18.0
2951+
checksum: b982c6ac13d8c86bb3b949c6b4e465f3f60557c2ccf4cc229799827d462df56b9e4d3eaed7711d79b875422fc3d71ec1ebcb5195db72134d07c619e3c5506b57
29542952
languageName: node
29552953
linkType: hard
29562954

@@ -2973,27 +2971,27 @@ __metadata:
29732971
languageName: node
29742972
linkType: hard
29752973

2976-
"@typescript-eslint/type-utils@npm:6.21.0":
2977-
version: 6.21.0
2978-
resolution: "@typescript-eslint/type-utils@npm:6.21.0"
2974+
"@typescript-eslint/type-utils@npm:7.18.0":
2975+
version: 7.18.0
2976+
resolution: "@typescript-eslint/type-utils@npm:7.18.0"
29792977
dependencies:
2980-
"@typescript-eslint/typescript-estree": 6.21.0
2981-
"@typescript-eslint/utils": 6.21.0
2978+
"@typescript-eslint/typescript-estree": 7.18.0
2979+
"@typescript-eslint/utils": 7.18.0
29822980
debug: ^4.3.4
2983-
ts-api-utils: ^1.0.1
2981+
ts-api-utils: ^1.3.0
29842982
peerDependencies:
2985-
eslint: ^7.0.0 || ^8.0.0
2983+
eslint: ^8.56.0
29862984
peerDependenciesMeta:
29872985
typescript:
29882986
optional: true
2989-
checksum: 77025473f4d80acf1fafcce99c5c283e557686a61861febeba9c9913331f8a41e930bf5cd8b7a54db502a57b6eb8ea6d155cbd4f41349ed00e3d7aeb1f477ddc
2987+
checksum: 68fd5df5146c1a08cde20d59b4b919acab06a1b06194fe4f7ba1b928674880249890785fbbc97394142f2ef5cff5a7fba9b8a940449e7d5605306505348e38bc
29902988
languageName: node
29912989
linkType: hard
29922990

2993-
"@typescript-eslint/types@npm:6.21.0":
2994-
version: 6.21.0
2995-
resolution: "@typescript-eslint/types@npm:6.21.0"
2996-
checksum: 9501b47d7403417af95fc1fb72b2038c5ac46feac0e1598a46bcb43e56a606c387e9dcd8a2a0abe174c91b509f2d2a8078b093786219eb9a01ab2fbf9ee7b684
2991+
"@typescript-eslint/types@npm:7.18.0":
2992+
version: 7.18.0
2993+
resolution: "@typescript-eslint/types@npm:7.18.0"
2994+
checksum: 7df2750cd146a0acd2d843208d69f153b458e024bbe12aab9e441ad2c56f47de3ddfeb329c4d1ea0079e2577fea4b8c1c1ce15315a8d49044586b04fedfe7a4d
29972995
languageName: node
29982996
linkType: hard
29992997

@@ -3004,22 +3002,22 @@ __metadata:
30043002
languageName: node
30053003
linkType: hard
30063004

3007-
"@typescript-eslint/typescript-estree@npm:6.21.0":
3008-
version: 6.21.0
3009-
resolution: "@typescript-eslint/typescript-estree@npm:6.21.0"
3005+
"@typescript-eslint/typescript-estree@npm:7.18.0":
3006+
version: 7.18.0
3007+
resolution: "@typescript-eslint/typescript-estree@npm:7.18.0"
30103008
dependencies:
3011-
"@typescript-eslint/types": 6.21.0
3012-
"@typescript-eslint/visitor-keys": 6.21.0
3009+
"@typescript-eslint/types": 7.18.0
3010+
"@typescript-eslint/visitor-keys": 7.18.0
30133011
debug: ^4.3.4
30143012
globby: ^11.1.0
30153013
is-glob: ^4.0.3
3016-
minimatch: 9.0.3
3017-
semver: ^7.5.4
3018-
ts-api-utils: ^1.0.1
3014+
minimatch: ^9.0.4
3015+
semver: ^7.6.0
3016+
ts-api-utils: ^1.3.0
30193017
peerDependenciesMeta:
30203018
typescript:
30213019
optional: true
3022-
checksum: dec02dc107c4a541e14fb0c96148f3764b92117c3b635db3a577b5a56fc48df7a556fa853fb82b07c0663b4bf2c484c9f245c28ba3e17e5cb0918ea4cab2ea21
3020+
checksum: c82d22ec9654973944f779eb4eb94c52f4a6eafaccce2f0231ff7757313f3a0d0256c3252f6dfe6d43f57171d09656478acb49a629a9d0c193fb959bc3f36116
30233021
languageName: node
30243022
linkType: hard
30253023

@@ -3043,20 +3041,17 @@ __metadata:
30433041
languageName: node
30443042
linkType: hard
30453043

3046-
"@typescript-eslint/utils@npm:6.21.0, @typescript-eslint/utils@npm:^6.0.0":
3047-
version: 6.21.0
3048-
resolution: "@typescript-eslint/utils@npm:6.21.0"
3044+
"@typescript-eslint/utils@npm:7.18.0, @typescript-eslint/utils@npm:^7.0.0":
3045+
version: 7.18.0
3046+
resolution: "@typescript-eslint/utils@npm:7.18.0"
30493047
dependencies:
30503048
"@eslint-community/eslint-utils": ^4.4.0
3051-
"@types/json-schema": ^7.0.12
3052-
"@types/semver": ^7.5.0
3053-
"@typescript-eslint/scope-manager": 6.21.0
3054-
"@typescript-eslint/types": 6.21.0
3055-
"@typescript-eslint/typescript-estree": 6.21.0
3056-
semver: ^7.5.4
3049+
"@typescript-eslint/scope-manager": 7.18.0
3050+
"@typescript-eslint/types": 7.18.0
3051+
"@typescript-eslint/typescript-estree": 7.18.0
30573052
peerDependencies:
3058-
eslint: ^7.0.0 || ^8.0.0
3059-
checksum: b129b3a4aebec8468259f4589985cb59ea808afbfdb9c54f02fad11e17d185e2bf72bb332f7c36ec3c09b31f18fc41368678b076323e6e019d06f74ee93f7bf2
3053+
eslint: ^8.56.0
3054+
checksum: 751dbc816dab8454b7dc6b26a56671dbec08e3f4ef94c2661ce1c0fc48fa2d05a64e03efe24cba2c22d03ba943cd3c5c7a5e1b7b03bbb446728aec1c640bd767
30603055
languageName: node
30613056
linkType: hard
30623057

@@ -3075,13 +3070,13 @@ __metadata:
30753070
languageName: node
30763071
linkType: hard
30773072

3078-
"@typescript-eslint/visitor-keys@npm:6.21.0":
3079-
version: 6.21.0
3080-
resolution: "@typescript-eslint/visitor-keys@npm:6.21.0"
3073+
"@typescript-eslint/visitor-keys@npm:7.18.0":
3074+
version: 7.18.0
3075+
resolution: "@typescript-eslint/visitor-keys@npm:7.18.0"
30813076
dependencies:
3082-
"@typescript-eslint/types": 6.21.0
3083-
eslint-visitor-keys: ^3.4.1
3084-
checksum: 67c7e6003d5af042d8703d11538fca9d76899f0119130b373402819ae43f0bc90d18656aa7add25a24427ccf1a0efd0804157ba83b0d4e145f06107d7d1b7433
3077+
"@typescript-eslint/types": 7.18.0
3078+
eslint-visitor-keys: ^3.4.3
3079+
checksum: 6e806a7cdb424c5498ea187a5a11d0fef7e4602a631be413e7d521e5aec1ab46ba00c76cfb18020adaa0a8c9802354a163bfa0deb74baa7d555526c7517bb158
30853080
languageName: node
30863081
linkType: hard
30873082

@@ -5229,9 +5224,9 @@ __metadata:
52295224
"@types/jest": ^29.0.0
52305225
"@types/node": ^16.0.0
52315226
"@types/semver": ^7.5.8
5232-
"@typescript-eslint/eslint-plugin": ^6.0.0
5233-
"@typescript-eslint/parser": ^6.0.0
5234-
"@typescript-eslint/utils": ^6.0.0
5227+
"@typescript-eslint/eslint-plugin": ^7.0.0
5228+
"@typescript-eslint/parser": ^7.0.0
5229+
"@typescript-eslint/utils": ^7.0.0
52355230
babel-jest: ^29.0.0
52365231
babel-plugin-replace-ts-export-assignment: ^0.0.2
52375232
dedent: ^1.5.0
@@ -6421,7 +6416,7 @@ __metadata:
64216416
languageName: node
64226417
linkType: hard
64236418

6424-
"ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.2":
6419+
"ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1, ignore@npm:^5.3.2":
64256420
version: 5.3.2
64266421
resolution: "ignore@npm:5.3.2"
64276422
checksum: 2acfd32a573260ea522ea0bfeff880af426d68f6831f973129e2ba7363f422923cf53aab62f8369cbf4667c7b25b6f8a3761b34ecdb284ea18e87a5262a865be
@@ -8466,15 +8461,6 @@ __metadata:
84668461
languageName: node
84678462
linkType: hard
84688463

8469-
"minimatch@npm:9.0.3":
8470-
version: 9.0.3
8471-
resolution: "minimatch@npm:9.0.3"
8472-
dependencies:
8473-
brace-expansion: ^2.0.1
8474-
checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5
8475-
languageName: node
8476-
linkType: hard
8477-
84788464
"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
84798465
version: 3.1.2
84808466
resolution: "minimatch@npm:3.1.2"
@@ -11240,7 +11226,7 @@ __metadata:
1124011226
languageName: node
1124111227
linkType: hard
1124211228

11243-
"ts-api-utils@npm:^1.0.1":
11229+
"ts-api-utils@npm:^1.3.0":
1124411230
version: 1.4.3
1124511231
resolution: "ts-api-utils@npm:1.4.3"
1124611232
peerDependencies:

0 commit comments

Comments
 (0)