Skip to content

Commit 87eb1c1

Browse files
Update eslint to v6
1 parent d45998a commit 87eb1c1

File tree

2 files changed

+104
-78
lines changed

2 files changed

+104
-78
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@types/node": "16.18.11",
2727
"@types/prettier": "2.7.3",
2828
"@types/rimraf": "3.0.2",
29-
"@typescript-eslint/eslint-plugin": "5.62.0",
30-
"@typescript-eslint/parser": "5.62.0",
29+
"@typescript-eslint/eslint-plugin": "6.0.0",
30+
"@typescript-eslint/parser": "6.0.0",
3131
"eslint": "8.45.0",
3232
"eslint-config-prettier": "8.8.0",
3333
"husky": "7.0.4",

yarn.lock

Lines changed: 102 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -596,11 +596,23 @@
596596
dependencies:
597597
eslint-visitor-keys "^3.3.0"
598598

599+
"@eslint-community/eslint-utils@^4.3.0":
600+
version "4.4.0"
601+
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
602+
integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
603+
dependencies:
604+
eslint-visitor-keys "^3.3.0"
605+
599606
"@eslint-community/regexpp@^4.4.0":
600607
version "4.4.0"
601608
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.4.0.tgz#3e61c564fcd6b921cb789838631c5ee44df09403"
602609
integrity sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==
603610

611+
"@eslint-community/regexpp@^4.5.0":
612+
version "4.5.1"
613+
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884"
614+
integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==
615+
604616
"@eslint/eslintrc@^2.1.0":
605617
version "2.1.0"
606618
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d"
@@ -1078,10 +1090,10 @@
10781090
expect "^28.0.0"
10791091
pretty-format "^28.0.0"
10801092

1081-
"@types/json-schema@^7.0.9":
1082-
version "7.0.9"
1083-
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
1084-
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
1093+
"@types/json-schema@^7.0.11":
1094+
version "7.0.12"
1095+
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb"
1096+
integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==
10851097

10861098
"@types/minimatch@*":
10871099
version "3.0.3"
@@ -1153,89 +1165,93 @@
11531165
dependencies:
11541166
"@types/yargs-parser" "*"
11551167

1156-
"@typescript-eslint/eslint-plugin@5.62.0":
1157-
version "5.62.0"
1158-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db"
1159-
integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==
1160-
dependencies:
1161-
"@eslint-community/regexpp" "^4.4.0"
1162-
"@typescript-eslint/scope-manager" "5.62.0"
1163-
"@typescript-eslint/type-utils" "5.62.0"
1164-
"@typescript-eslint/utils" "5.62.0"
1168+
"@typescript-eslint/eslint-plugin@6.0.0":
1169+
version "6.0.0"
1170+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.0.0.tgz#19ff4f1cab8d6f8c2c1825150f7a840bc5d9bdc4"
1171+
integrity sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==
1172+
dependencies:
1173+
"@eslint-community/regexpp" "^4.5.0"
1174+
"@typescript-eslint/scope-manager" "6.0.0"
1175+
"@typescript-eslint/type-utils" "6.0.0"
1176+
"@typescript-eslint/utils" "6.0.0"
1177+
"@typescript-eslint/visitor-keys" "6.0.0"
11651178
debug "^4.3.4"
1179+
grapheme-splitter "^1.0.4"
11661180
graphemer "^1.4.0"
1167-
ignore "^5.2.0"
1181+
ignore "^5.2.4"
1182+
natural-compare "^1.4.0"
11681183
natural-compare-lite "^1.4.0"
1169-
semver "^7.3.7"
1170-
tsutils "^3.21.0"
1184+
semver "^7.5.0"
1185+
ts-api-utils "^1.0.1"
11711186

1172-
"@typescript-eslint/parser@5.62.0":
1173-
version "5.62.0"
1174-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7"
1175-
integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==
1187+
"@typescript-eslint/parser@6.0.0":
1188+
version "6.0.0"
1189+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.0.0.tgz#46b2600fd1f67e62fc00a28093a75f41bf7effc4"
1190+
integrity sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg==
11761191
dependencies:
1177-
"@typescript-eslint/scope-manager" "5.62.0"
1178-
"@typescript-eslint/types" "5.62.0"
1179-
"@typescript-eslint/typescript-estree" "5.62.0"
1192+
"@typescript-eslint/scope-manager" "6.0.0"
1193+
"@typescript-eslint/types" "6.0.0"
1194+
"@typescript-eslint/typescript-estree" "6.0.0"
1195+
"@typescript-eslint/visitor-keys" "6.0.0"
11801196
debug "^4.3.4"
11811197

1182-
"@typescript-eslint/scope-manager@5.62.0":
1183-
version "5.62.0"
1184-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c"
1185-
integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==
1198+
"@typescript-eslint/scope-manager@6.0.0":
1199+
version "6.0.0"
1200+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.0.0.tgz#8ede47a37cb2b7ed82d329000437abd1113b5e11"
1201+
integrity sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg==
11861202
dependencies:
1187-
"@typescript-eslint/types" "5.62.0"
1188-
"@typescript-eslint/visitor-keys" "5.62.0"
1203+
"@typescript-eslint/types" "6.0.0"
1204+
"@typescript-eslint/visitor-keys" "6.0.0"
11891205

1190-
"@typescript-eslint/type-utils@5.62.0":
1191-
version "5.62.0"
1192-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a"
1193-
integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==
1206+
"@typescript-eslint/type-utils@6.0.0":
1207+
version "6.0.0"
1208+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.0.0.tgz#0478d8a94f05e51da2877cc0500f1b3c27ac7e18"
1209+
integrity sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==
11941210
dependencies:
1195-
"@typescript-eslint/typescript-estree" "5.62.0"
1196-
"@typescript-eslint/utils" "5.62.0"
1211+
"@typescript-eslint/typescript-estree" "6.0.0"
1212+
"@typescript-eslint/utils" "6.0.0"
11971213
debug "^4.3.4"
1198-
tsutils "^3.21.0"
1214+
ts-api-utils "^1.0.1"
11991215

1200-
"@typescript-eslint/types@5.62.0":
1201-
version "5.62.0"
1202-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f"
1203-
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==
1216+
"@typescript-eslint/types@6.0.0":
1217+
version "6.0.0"
1218+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.0.0.tgz#19795f515f8decbec749c448b0b5fc76d82445a1"
1219+
integrity sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg==
12041220

1205-
"@typescript-eslint/typescript-estree@5.62.0":
1206-
version "5.62.0"
1207-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b"
1208-
integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==
1221+
"@typescript-eslint/typescript-estree@6.0.0":
1222+
version "6.0.0"
1223+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.0.0.tgz#1e09aab7320e404fb9f83027ea568ac24e372f81"
1224+
integrity sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==
12091225
dependencies:
1210-
"@typescript-eslint/types" "5.62.0"
1211-
"@typescript-eslint/visitor-keys" "5.62.0"
1226+
"@typescript-eslint/types" "6.0.0"
1227+
"@typescript-eslint/visitor-keys" "6.0.0"
12121228
debug "^4.3.4"
12131229
globby "^11.1.0"
12141230
is-glob "^4.0.3"
1215-
semver "^7.3.7"
1216-
tsutils "^3.21.0"
1231+
semver "^7.5.0"
1232+
ts-api-utils "^1.0.1"
12171233

1218-
"@typescript-eslint/utils@5.62.0":
1219-
version "5.62.0"
1220-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86"
1221-
integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==
1234+
"@typescript-eslint/utils@6.0.0":
1235+
version "6.0.0"
1236+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.0.0.tgz#27a16d0d8f2719274a39417b9782f7daa3802db0"
1237+
integrity sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==
12221238
dependencies:
1223-
"@eslint-community/eslint-utils" "^4.2.0"
1224-
"@types/json-schema" "^7.0.9"
1239+
"@eslint-community/eslint-utils" "^4.3.0"
1240+
"@types/json-schema" "^7.0.11"
12251241
"@types/semver" "^7.3.12"
1226-
"@typescript-eslint/scope-manager" "5.62.0"
1227-
"@typescript-eslint/types" "5.62.0"
1228-
"@typescript-eslint/typescript-estree" "5.62.0"
1242+
"@typescript-eslint/scope-manager" "6.0.0"
1243+
"@typescript-eslint/types" "6.0.0"
1244+
"@typescript-eslint/typescript-estree" "6.0.0"
12291245
eslint-scope "^5.1.1"
1230-
semver "^7.3.7"
1246+
semver "^7.5.0"
12311247

1232-
"@typescript-eslint/visitor-keys@5.62.0":
1233-
version "5.62.0"
1234-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e"
1235-
integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==
1248+
"@typescript-eslint/visitor-keys@6.0.0":
1249+
version "6.0.0"
1250+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.0.0.tgz#0b49026049fbd096d2c00c5e784866bc69532a31"
1251+
integrity sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA==
12361252
dependencies:
1237-
"@typescript-eslint/types" "5.62.0"
1238-
eslint-visitor-keys "^3.3.0"
1253+
"@typescript-eslint/types" "6.0.0"
1254+
eslint-visitor-keys "^3.4.1"
12391255

12401256
acorn-jsx@^5.3.2:
12411257
version "5.3.2"
@@ -2222,6 +2238,11 @@ graceful-fs@^4.2.9:
22222238
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96"
22232239
integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==
22242240

2241+
grapheme-splitter@^1.0.4:
2242+
version "1.0.4"
2243+
resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e"
2244+
integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==
2245+
22252246
graphemer@^1.4.0:
22262247
version "1.4.0"
22272248
resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
@@ -2264,6 +2285,11 @@ ignore@^5.2.0:
22642285
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a"
22652286
integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==
22662287

2288+
ignore@^5.2.4:
2289+
version "5.2.4"
2290+
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
2291+
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
2292+
22672293
import-fresh@^3.2.1:
22682294
version "3.2.1"
22692295
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66"
@@ -3484,6 +3510,13 @@ semver@^7.3.7:
34843510
dependencies:
34853511
lru-cache "^6.0.0"
34863512

3513+
semver@^7.5.0:
3514+
version "7.5.4"
3515+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
3516+
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
3517+
dependencies:
3518+
lru-cache "^6.0.0"
3519+
34873520
shebang-command@^2.0.0:
34883521
version "2.0.0"
34893522
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
@@ -3754,6 +3787,11 @@ tree-kill@^1.2.2:
37543787
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
37553788
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
37563789

3790+
ts-api-utils@^1.0.1:
3791+
version "1.0.1"
3792+
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.1.tgz#8144e811d44c749cd65b2da305a032510774452d"
3793+
integrity sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==
3794+
37573795
ts-jest@28.0.8:
37583796
version "28.0.8"
37593797
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73"
@@ -3813,23 +3851,11 @@ tsconfig@^7.0.0:
38133851
strip-bom "^3.0.0"
38143852
strip-json-comments "^2.0.0"
38153853

3816-
tslib@^1.8.1:
3817-
version "1.13.0"
3818-
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043"
3819-
integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==
3820-
38213854
tslib@^2.0.3, tslib@^2.1.0:
38223855
version "2.3.1"
38233856
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
38243857
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
38253858

3826-
tsutils@^3.21.0:
3827-
version "3.21.0"
3828-
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
3829-
integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
3830-
dependencies:
3831-
tslib "^1.8.1"
3832-
38333859
type-check@^0.4.0, type-check@~0.4.0:
38343860
version "0.4.0"
38353861
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"

0 commit comments

Comments
 (0)