Skip to content

Commit a032c8a

Browse files
authored
Update @typescript-eslint/ dependencies to v6 (#1984)
1 parent 94ec1e3 commit a032c8a

File tree

3 files changed

+89
-40
lines changed

3 files changed

+89
-40
lines changed

lib/rules/no-empty-glimmer-component-classes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
}
3636

3737
const subClassHasTypeDefinition = node.typeParameters?.params?.length > 0;
38-
if (!node.decorators && node.body.body.length === 0 && !subClassHasTypeDefinition) {
38+
if (!node.decorators?.length && node.body.body.length === 0 && !subClassHasTypeDefinition) {
3939
context.report({ node, message: ERROR_MESSAGE });
4040
} else if (
4141
node.body.body.length === 1 &&

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
"@babel/eslint-parser": "^7.22.15",
7272
"@ember-data/rfc395-data": "^0.0.4",
7373
"@glimmer/syntax": "^0.85.12",
74-
"@typescript-eslint/parser": "^5.62.0",
75-
"@typescript-eslint/scope-manager": "^5.62.0",
74+
"@typescript-eslint/parser": "^6.9.1",
75+
"@typescript-eslint/scope-manager": "^6.9.1",
7676
"content-tag": "^1.1.2",
7777
"css-tree": "^2.3.1",
7878
"ember-rfc176-data": "^0.3.18",
@@ -89,7 +89,7 @@
8989
"@babel/plugin-proposal-decorators": "^7.23.2",
9090
"@release-it-plugins/lerna-changelog": "^6.0.0",
9191
"@types/eslint": "^8.44.6",
92-
"@typescript-eslint/eslint-plugin": "^5.62.0",
92+
"@typescript-eslint/eslint-plugin": "^6.9.1",
9393
"eslint": "^8.52.0",
9494
"eslint-config-prettier": "^9.0.0",
9595
"eslint-doc-generator": "^1.5.3",

yarn.lock

Lines changed: 85 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
dependencies:
402402
eslint-visitor-keys "^3.3.0"
403403

404-
"@eslint-community/regexpp@^4.4.0", "@eslint-community/regexpp@^4.6.0", "@eslint-community/regexpp@^4.6.1":
404+
"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.0", "@eslint-community/regexpp@^4.6.1":
405405
version "4.10.0"
406406
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63"
407407
integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==
@@ -1111,7 +1111,7 @@
11111111
dependencies:
11121112
"@types/istanbul-lib-report" "*"
11131113

1114-
"@types/json-schema@*", "@types/json-schema@^7.0.9":
1114+
"@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.9":
11151115
version "7.0.14"
11161116
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.14.tgz#74a97a5573980802f32c8e47b663530ab3b6b7d1"
11171117
integrity sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==
@@ -1150,7 +1150,7 @@
11501150
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.3.tgz#291c243e4b94dbfbc0c0ee26b7666f1d5c030e2c"
11511151
integrity sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==
11521152

1153-
"@types/semver@^7.3.12":
1153+
"@types/semver@^7.3.12", "@types/semver@^7.5.0":
11541154
version "7.5.4"
11551155
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.4.tgz#0a41252ad431c473158b22f9bfb9a63df7541cff"
11561156
integrity sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==
@@ -1182,55 +1182,70 @@
11821182
resolved "https://registry.yarnpkg.com/@types/yoga-layout/-/yoga-layout-1.9.2.tgz#efaf9e991a7390dc081a0b679185979a83a9639a"
11831183
integrity sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==
11841184

1185-
"@typescript-eslint/eslint-plugin@^5.62.0":
1186-
version "5.62.0"
1187-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db"
1188-
integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==
1185+
"@typescript-eslint/eslint-plugin@^6.9.1":
1186+
version "6.9.1"
1187+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.1.tgz#d8ce497dc0ed42066e195c8ecc40d45c7b1254f4"
1188+
integrity sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==
11891189
dependencies:
1190-
"@eslint-community/regexpp" "^4.4.0"
1191-
"@typescript-eslint/scope-manager" "5.62.0"
1192-
"@typescript-eslint/type-utils" "5.62.0"
1193-
"@typescript-eslint/utils" "5.62.0"
1190+
"@eslint-community/regexpp" "^4.5.1"
1191+
"@typescript-eslint/scope-manager" "6.9.1"
1192+
"@typescript-eslint/type-utils" "6.9.1"
1193+
"@typescript-eslint/utils" "6.9.1"
1194+
"@typescript-eslint/visitor-keys" "6.9.1"
11941195
debug "^4.3.4"
11951196
graphemer "^1.4.0"
1196-
ignore "^5.2.0"
1197-
natural-compare-lite "^1.4.0"
1198-
semver "^7.3.7"
1199-
tsutils "^3.21.0"
1197+
ignore "^5.2.4"
1198+
natural-compare "^1.4.0"
1199+
semver "^7.5.4"
1200+
ts-api-utils "^1.0.1"
12001201

1201-
"@typescript-eslint/parser@^5.62.0":
1202-
version "5.62.0"
1203-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7"
1204-
integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==
1202+
"@typescript-eslint/parser@^6.9.1":
1203+
version "6.9.1"
1204+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.9.1.tgz#4f685f672f8b9580beb38d5fb99d52fc3e34f7a3"
1205+
integrity sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==
12051206
dependencies:
1206-
"@typescript-eslint/scope-manager" "5.62.0"
1207-
"@typescript-eslint/types" "5.62.0"
1208-
"@typescript-eslint/typescript-estree" "5.62.0"
1207+
"@typescript-eslint/scope-manager" "6.9.1"
1208+
"@typescript-eslint/types" "6.9.1"
1209+
"@typescript-eslint/typescript-estree" "6.9.1"
1210+
"@typescript-eslint/visitor-keys" "6.9.1"
12091211
debug "^4.3.4"
12101212

1211-
"@typescript-eslint/[email protected]", "@typescript-eslint/scope-manager@^5.62.0":
1213+
"@typescript-eslint/[email protected]":
12121214
version "5.62.0"
12131215
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c"
12141216
integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==
12151217
dependencies:
12161218
"@typescript-eslint/types" "5.62.0"
12171219
"@typescript-eslint/visitor-keys" "5.62.0"
12181220

1219-
"@typescript-eslint/[email protected]":
1220-
version "5.62.0"
1221-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a"
1222-
integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==
1221+
"@typescript-eslint/[email protected]", "@typescript-eslint/scope-manager@^6.9.1":
1222+
version "6.9.1"
1223+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.9.1.tgz#e96afeb9a68ad1cd816dba233351f61e13956b75"
1224+
integrity sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==
12231225
dependencies:
1224-
"@typescript-eslint/typescript-estree" "5.62.0"
1225-
"@typescript-eslint/utils" "5.62.0"
1226+
"@typescript-eslint/types" "6.9.1"
1227+
"@typescript-eslint/visitor-keys" "6.9.1"
1228+
1229+
"@typescript-eslint/[email protected]":
1230+
version "6.9.1"
1231+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.9.1.tgz#efd5db20ed35a74d3c7d8fba51b830ecba09ce32"
1232+
integrity sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==
1233+
dependencies:
1234+
"@typescript-eslint/typescript-estree" "6.9.1"
1235+
"@typescript-eslint/utils" "6.9.1"
12261236
debug "^4.3.4"
1227-
tsutils "^3.21.0"
1237+
ts-api-utils "^1.0.1"
12281238

12291239
"@typescript-eslint/[email protected]":
12301240
version "5.62.0"
12311241
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f"
12321242
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==
12331243

1244+
"@typescript-eslint/[email protected]":
1245+
version "6.9.1"
1246+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.9.1.tgz#a6cfc20db0fcedcb2f397ea728ef583e0ee72459"
1247+
integrity sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==
1248+
12341249
"@typescript-eslint/[email protected]":
12351250
version "5.62.0"
12361251
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b"
@@ -1244,7 +1259,33 @@
12441259
semver "^7.3.7"
12451260
tsutils "^3.21.0"
12461261

1247-
"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^5.10.0", "@typescript-eslint/utils@^5.38.1":
1262+
"@typescript-eslint/[email protected]":
1263+
version "6.9.1"
1264+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.1.tgz#8c77910a49a04f0607ba94d78772da07dab275ad"
1265+
integrity sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==
1266+
dependencies:
1267+
"@typescript-eslint/types" "6.9.1"
1268+
"@typescript-eslint/visitor-keys" "6.9.1"
1269+
debug "^4.3.4"
1270+
globby "^11.1.0"
1271+
is-glob "^4.0.3"
1272+
semver "^7.5.4"
1273+
ts-api-utils "^1.0.1"
1274+
1275+
"@typescript-eslint/[email protected]":
1276+
version "6.9.1"
1277+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.9.1.tgz#763da41281ef0d16974517b5f0d02d85897a1c1e"
1278+
integrity sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==
1279+
dependencies:
1280+
"@eslint-community/eslint-utils" "^4.4.0"
1281+
"@types/json-schema" "^7.0.12"
1282+
"@types/semver" "^7.5.0"
1283+
"@typescript-eslint/scope-manager" "6.9.1"
1284+
"@typescript-eslint/types" "6.9.1"
1285+
"@typescript-eslint/typescript-estree" "6.9.1"
1286+
semver "^7.5.4"
1287+
1288+
"@typescript-eslint/utils@^5.10.0", "@typescript-eslint/utils@^5.38.1":
12481289
version "5.62.0"
12491290
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86"
12501291
integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==
@@ -1266,6 +1307,14 @@
12661307
"@typescript-eslint/types" "5.62.0"
12671308
eslint-visitor-keys "^3.3.0"
12681309

1310+
"@typescript-eslint/[email protected]":
1311+
version "6.9.1"
1312+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.1.tgz#6753a9225a0ba00459b15d6456b9c2780b66707d"
1313+
integrity sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==
1314+
dependencies:
1315+
"@typescript-eslint/types" "6.9.1"
1316+
eslint-visitor-keys "^3.4.1"
1317+
12691318
"@ungap/structured-clone@^1.2.0":
12701319
version "1.2.0"
12711320
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
@@ -5337,11 +5386,6 @@ mz@^2.4.0:
53375386
object-assign "^4.0.1"
53385387
thenify-all "^1.0.0"
53395388

5340-
natural-compare-lite@^1.4.0:
5341-
version "1.4.0"
5342-
resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"
5343-
integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==
5344-
53455389
natural-compare@^1.4.0:
53465390
version "1.4.0"
53475391
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -6958,6 +7002,11 @@ trim-newlines@^3.0.0:
69587002
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
69597003
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==
69607004

7005+
ts-api-utils@^1.0.1:
7006+
version "1.0.3"
7007+
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331"
7008+
integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==
7009+
69617010
tsconfig-paths@^3.14.2:
69627011
version "3.14.2"
69637012
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"

0 commit comments

Comments
 (0)