From 7f0cbe72269ff15992899af22b4b4c223d06069f Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 6 Jul 2024 12:34:49 +0200 Subject: [PATCH] update eslint --- interface/eslint.config.js | 2 +- interface/package.json | 2 +- interface/yarn.lock | 145 ++++++++++++++++++++----------------- 3 files changed, 82 insertions(+), 67 deletions(-) diff --git a/interface/eslint.config.js b/interface/eslint.config.js index bae746842..17ff90eef 100644 --- a/interface/eslint.config.js +++ b/interface/eslint.config.js @@ -16,7 +16,7 @@ export default tseslint.config( } }, { - ignores: ['dist/*', '*.js', '**/*.cjs', '**/unpack.ts'] + ignores: ['dist/*', '*.js', '**/*.cjs', '**/unpack.ts', 'i18*.ts'] }, { rules: { diff --git a/interface/package.json b/interface/package.json index 8969953cd..9a188bc3c 100644 --- a/interface/package.json +++ b/interface/package.json @@ -63,7 +63,7 @@ "prettier": "^3.3.2", "rollup-plugin-visualizer": "^5.12.0", "terser": "^5.31.1", - "typescript-eslint": "^7.15.0", + "typescript-eslint": "8.0.0-alpha.10", "vite": "^5.3.3", "vite-plugin-imagemin": "^0.6.1", "vite-tsconfig-paths": "^4.3.2" diff --git a/interface/yarn.lock b/interface/yarn.lock index c63319853..67d32df53 100644 --- a/interface/yarn.lock +++ b/interface/yarn.lock @@ -1720,6 +1720,13 @@ __metadata: languageName: node linkType: hard +"@types/json-schema@npm:^7.0.15": + version: 7.0.15 + resolution: "@types/json-schema@npm:7.0.15" + checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db + languageName: node + linkType: hard + "@types/keyv@npm:^3.1.1": version: 3.1.4 resolution: "@types/keyv@npm:3.1.4" @@ -1852,6 +1859,13 @@ __metadata: languageName: node linkType: hard +"@types/semver@npm:^7.5.8": + version: 7.5.8 + resolution: "@types/semver@npm:7.5.8" + checksum: 10c0/8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa + languageName: node + linkType: hard + "@types/svgo@npm:2, @types/svgo@npm:^2.6.1": version: 2.6.4 resolution: "@types/svgo@npm:2.6.4" @@ -1861,87 +1875,87 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.15.0" +"@typescript-eslint/eslint-plugin@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/eslint-plugin@npm:8.0.0-alpha.10" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/type-utils": "npm:7.15.0" - "@typescript-eslint/utils": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/scope-manager": "npm:8.0.0-alpha.10" + "@typescript-eslint/type-utils": "npm:8.0.0-alpha.10" + "@typescript-eslint/utils": "npm:8.0.0-alpha.10" + "@typescript-eslint/visitor-keys": "npm:8.0.0-alpha.10" + debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" + semver: "npm:^7.6.0" ts-api-utils: "npm:^1.3.0" peerDependencies: "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/7ed4ef8355cb60f02ed603673ef749928a001931c534960d1f3f9f9b8092f4abd7ec1e80a33b4c38efb6e8e66c902583bd56a4c4d6ccbd870677a40680a7d1f5 + checksum: 10c0/8fe37477435f21507e6839328666ffe858254c21ea143c8885f5d299c15e66b0f222ef428174619e307c71d74e2ed394d315de281dc73e4656eff4376f328398 languageName: node linkType: hard -"@typescript-eslint/parser@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/parser@npm:7.15.0" +"@typescript-eslint/parser@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/parser@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/typescript-estree": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/scope-manager": "npm:8.0.0-alpha.10" + "@typescript-eslint/types": "npm:8.0.0-alpha.10" + "@typescript-eslint/typescript-estree": "npm:8.0.0-alpha.10" + "@typescript-eslint/visitor-keys": "npm:8.0.0-alpha.10" debug: "npm:^4.3.4" peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/8dcad9b84e2cbf89afea97ee7f690f91b487eed21d01997126f98cb7dd56d3b6c98c7ecbdbeda35904af521c4ed746c47887e908f8a1e2148d47c05b491d7b9d + checksum: 10c0/38ef1acbee833f98ad9d72dea434c952d015afc407d1b67b376a6a7574d54da07e09533a1bc1143a13dcc9537b217968f57be965e235e3e87772bf814868d08c languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/scope-manager@npm:7.15.0" +"@typescript-eslint/scope-manager@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/scope-manager@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" - checksum: 10c0/781ec31a07ab7f0bdfb07dd271ef6553aa98f8492f1b3a67c65d178c94d590f4fd2e0916450f2446f1da2fbe007f3454c360ccb25f4d69612f782eb499f400ab + "@typescript-eslint/types": "npm:8.0.0-alpha.10" + "@typescript-eslint/visitor-keys": "npm:8.0.0-alpha.10" + checksum: 10c0/10420acebd84fce1b8bf57b33c53a88c15bc32a8a44e8d928ef9ede7152f8eb4ef18f62163f1b598770907c463c8a0195fe1ed339670cabc39d1e9da2b48258f languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/type-utils@npm:7.15.0" +"@typescript-eslint/type-utils@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/type-utils@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/typescript-estree": "npm:7.15.0" - "@typescript-eslint/utils": "npm:7.15.0" + "@typescript-eslint/typescript-estree": "npm:8.0.0-alpha.10" + "@typescript-eslint/utils": "npm:8.0.0-alpha.10" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" - peerDependencies: - eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/06189eb05d741f05977bbc029c6ac46edd566e0136f2f2c22429fd5f2be1224e2d9135b7021bc686871bfaec9c05a5c9990a321762d3abd06e457486956326ba + checksum: 10c0/582aad57448d0bc2f1b50586aaed0e5d9e3b2e7cdac10b59d8ad4c1f4b5e6d2a672d1c086908711a367d4a2033d020d5688e544e039cbef6515a0e7bdf33223b languageName: node linkType: hard -"@typescript-eslint/types@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/types@npm:7.15.0" - checksum: 10c0/935387b21d9fdff65de86f6350cdda1f0614e269324f3a4f0a2ca1b0d72ef4b1d40c7de2f3a20a6f8c83edca6507bfbac3168c860625859e59fc455c80392bed +"@typescript-eslint/types@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/types@npm:8.0.0-alpha.10" + checksum: 10c0/5b9c6702c40c0299ca6c9954574383d35a16ae1cfdc9480a64bd5b238c47c58f60448dc9a5f7eeb47d2c9a7997a410a7bcbbfc33e2bb6bd5c91018ac1aaa0904 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.15.0" +"@typescript-eslint/typescript-estree@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/typescript-estree@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/types": "npm:8.0.0-alpha.10" + "@typescript-eslint/visitor-keys": "npm:8.0.0-alpha.10" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -1951,31 +1965,34 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/0d6e61cb36c4612147ceea796c2bdbb65fca59170d9d768cff314146c5564253a058cbcb9e251722cd76c92a90c257e1210a69f8d4377c8002f211c574d18d24 + checksum: 10c0/4f5ef1929d4c2e8aa3bbe64d84f02bf13c07a39d329793017fa48b6f6ae5310cee011df15e25761020d5e810250753d071639c782a7cecad2133e6c848ce81f2 languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/utils@npm:7.15.0" +"@typescript-eslint/utils@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/utils@npm:8.0.0-alpha.10" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/typescript-estree": "npm:7.15.0" + "@types/json-schema": "npm:^7.0.15" + "@types/semver": "npm:^7.5.8" + "@typescript-eslint/scope-manager": "npm:8.0.0-alpha.10" + "@typescript-eslint/types": "npm:8.0.0-alpha.10" + "@typescript-eslint/typescript-estree": "npm:8.0.0-alpha.10" + semver: "npm:^7.6.0" peerDependencies: - eslint: ^8.56.0 - checksum: 10c0/26aced17976cee0aa39a79201f68b384bbce1dc96e1c70d0e5f790e1e5655b1b1ddb2afd9eaf3fce9a48c0fb69daecd37a99fdbcdbf1cb58c65ae89ecac88a2c + eslint: ^8.57.0 || ^9.0.0 + checksum: 10c0/1ea9b78e616c35fc817ce6e9f42a59712d7a151d73fa39384f3e2d0217787ebf5111cd27af70905cf30fbc5151c2c8054a50a4e39677e26ce77d0b3fba0ac03a languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.15.0" +"@typescript-eslint/visitor-keys@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "@typescript-eslint/visitor-keys@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/types": "npm:7.15.0" + "@typescript-eslint/types": "npm:8.0.0-alpha.10" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/7509f01c8cd2126a38213bc735a77aa7e976340af0d664be5b2ccd01b8211724b2ea129e33bfd32fe5feac848b7b68ca55bb533f6ccfeec1d2f26a91240489b9 + checksum: 10c0/a4ab419cb6e4050edaeaafeb8e2e0338d1851cb8bf076c8e2815b12529eb0d4d60553cadf478ddd289dbd2a89d67346fc96d620a5463d69e9359ca62fb8180a1 languageName: node linkType: hard @@ -2022,7 +2039,7 @@ __metadata: terser: "npm:^5.31.1" typesafe-i18n: "npm:^5.26.2" typescript: "npm:^5.5.3" - typescript-eslint: "npm:^7.15.0" + typescript-eslint: "npm:8.0.0-alpha.10" vite: "npm:^5.3.3" vite-plugin-imagemin: "npm:^0.6.1" vite-tsconfig-paths: "npm:^4.3.2" @@ -7167,19 +7184,17 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^7.15.0": - version: 7.15.0 - resolution: "typescript-eslint@npm:7.15.0" +"typescript-eslint@npm:8.0.0-alpha.10": + version: 8.0.0-alpha.10 + resolution: "typescript-eslint@npm:8.0.0-alpha.10" dependencies: - "@typescript-eslint/eslint-plugin": "npm:7.15.0" - "@typescript-eslint/parser": "npm:7.15.0" - "@typescript-eslint/utils": "npm:7.15.0" - peerDependencies: - eslint: ^8.56.0 + "@typescript-eslint/eslint-plugin": "npm:8.0.0-alpha.10" + "@typescript-eslint/parser": "npm:8.0.0-alpha.10" + "@typescript-eslint/utils": "npm:8.0.0-alpha.10" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/98293831f7557831b80143b0e717d2a61dca289d637ef464da524880fab2ea62fb61dd952707c571719914c1565942504db2b4ccfe7178a48971e69f270c1abc + checksum: 10c0/695149b15ea7910a1c05dbb6601096c6f2c5d4c074715517f34a208a3b5b9e4dedad5c4d2c4c9a3f41ac984c4507d84fb4e91a3e792f95f759c658b7cd0f78f9 languageName: node linkType: hard