diff --git a/package.json b/package.json index 3191dbb42..6a8ca0c38 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "devDependencies": { "@changesets/cli": "^2.26.2", "@nx/workspace": "16.8.1", - "@typescript-eslint/eslint-plugin": "^8.7.0", - "@typescript-eslint/parser": "^8.7.0", + "@typescript-eslint/eslint-plugin": "^8.26.1", + "@typescript-eslint/parser": "^8.26.1", "concurrently": "^9.1.2", "dotenv": "^16.4.7", "dotenv-cli": "^8.0.0", diff --git a/packages/app/.eslintrc.js b/packages/app/.eslintrc.js index 91cfb928d..c76eb8d88 100644 --- a/packages/app/.eslintrc.js +++ b/packages/app/.eslintrc.js @@ -14,6 +14,7 @@ module.exports = { 'plugin:prettier/recommended', ], rules: { + '@typescript-eslint/no-unsafe-type-assertion': 'error', '@typescript-eslint/ban-ts-comment': 'warn', '@typescript-eslint/no-empty-function': 'warn', '@typescript-eslint/no-explicit-any': 'off', diff --git a/yarn.lock b/yarn.lock index 9d0db964e..a119ddab6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10433,26 +10433,24 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.7.0" +"@typescript-eslint/eslint-plugin@npm:^8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.26.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/type-utils": "npm:8.7.0" - "@typescript-eslint/utils": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" + "@typescript-eslint/scope-manager": "npm:8.26.1" + "@typescript-eslint/type-utils": "npm:8.26.1" + "@typescript-eslint/utils": "npm:8.26.1" + "@typescript-eslint/visitor-keys": "npm:8.26.1" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" + ts-api-utils: "npm:^2.0.1" peerDependencies: "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/f04d6fa6a30e32d51feba0f08789f75ca77b6b67cfe494bdbd9aafa241871edc918fa8b344dc9d13dd59ae055d42c3920f0e542534f929afbfdca653dae598fa + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/412f41aafd503a1faea91edd03a68717ca8a49ed6683700b8386115c67b86110c9826d10005d3a0341b78cdee41a6ef08842716ced2b58af03f91eb1b8cc929c languageName: node linkType: hard @@ -10474,21 +10472,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/parser@npm:8.7.0" +"@typescript-eslint/parser@npm:^8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/parser@npm:8.26.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/typescript-estree": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" + "@typescript-eslint/scope-manager": "npm:8.26.1" + "@typescript-eslint/types": "npm:8.26.1" + "@typescript-eslint/typescript-estree": "npm:8.26.1" + "@typescript-eslint/visitor-keys": "npm:8.26.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/1d5020ff1f5d3eb726bc6034d23f0a71e8fe7a713756479a0a0b639215326f71c0b44e2c25cc290b4e7c144bd3c958f1405199711c41601f0ea9174068714a64 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/21fe4306b6017bf183d92cdd493edacd302816071e29e1400452f3ccd224ab8111b75892507b9731545e98e6e4d153e54dab568b3433f6c9596b6cb2f7af922f languageName: node linkType: hard @@ -10502,28 +10498,28 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/scope-manager@npm:8.7.0" +"@typescript-eslint/scope-manager@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/scope-manager@npm:8.26.1" dependencies: - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" - checksum: 10c0/8b731a0d0bd3e8f6a322b3b25006f56879b5d2aad86625070fa438b803cf938cb8d5c597758bfa0d65d6e142b204dc6f363fa239bc44280a74e25aa427408eda + "@typescript-eslint/types": "npm:8.26.1" + "@typescript-eslint/visitor-keys": "npm:8.26.1" + checksum: 10c0/ecd30eb615c7384f01cea8f2c8e8dda7507ada52ad0d002d3701bdd9d06f6d14cefb31c6c26ef55708adfaa2045a01151e8685656240268231a4bac8f792afe4 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/type-utils@npm:8.7.0" +"@typescript-eslint/type-utils@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/type-utils@npm:8.26.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.7.0" - "@typescript-eslint/utils": "npm:8.7.0" + "@typescript-eslint/typescript-estree": "npm:8.26.1" + "@typescript-eslint/utils": "npm:8.26.1" debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/2bd9fb93a50ff1c060af41528e39c775ae93b09dd71450defdb42a13c68990dd388460ae4e81fb2f4a49c38dc12152c515d43e845eca6198c44b14aab66733bc + ts-api-utils: "npm:^2.0.1" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/17553b4333246e1ffd447dab78a4cbc565c129c9baf32326387760c9790120a99d955acf84888b7ef96e73c82fc22a3e08e80f0bd65d21e3cf2fe002f977aba1 languageName: node linkType: hard @@ -10534,10 +10530,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/types@npm:8.7.0" - checksum: 10c0/f7529eaea4ecc0f5e2d94ea656db8f930f6d1c1e65a3ffcb2f6bec87361173de2ea981405c2c483a35a927b3bdafb606319a1d0395a6feb1284448c8ba74c31e +"@typescript-eslint/types@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/types@npm:8.26.1" + checksum: 10c0/805b239b57854fc12eae9e2bec6ccab24bac1d30a762c455f22c73b777a5859c64c58b4750458bd0ab4aadd664eb95cbef091348a071975acac05b15ebea9f1b languageName: node linkType: hard @@ -10560,36 +10556,36 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.7.0" +"@typescript-eslint/typescript-estree@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.26.1" dependencies: - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/visitor-keys": "npm:8.7.0" + "@typescript-eslint/types": "npm:8.26.1" + "@typescript-eslint/visitor-keys": "npm:8.26.1" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" minimatch: "npm:^9.0.4" semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/d714605b6920a9631ab1511b569c1c158b1681c09005ab240125c442a63e906048064151a61ce5eb5f8fe75cea861ce5ae1d87be9d7296b012e4ab6d88755e8b + ts-api-utils: "npm:^2.0.1" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/adc95e4735a8ded05ad35d7b4fae68c675afdd4b3531bc4a51eab5efe793cf80bc75f56dfc8022af4c0a5b316eec61f8ce6b77c2ead45fc675fea7e28cd52ade languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/utils@npm:8.7.0" +"@typescript-eslint/utils@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/utils@npm:8.26.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.7.0" - "@typescript-eslint/types": "npm:8.7.0" - "@typescript-eslint/typescript-estree": "npm:8.7.0" + "@typescript-eslint/scope-manager": "npm:8.26.1" + "@typescript-eslint/types": "npm:8.26.1" + "@typescript-eslint/typescript-estree": "npm:8.26.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: 10c0/7355b754ce2fc118773ed27a3e02b7dfae270eec73c2d896738835ecf842e8309544dfd22c5105aba6cae2787bfdd84129bbc42f4b514f57909dc7f6890b8eba + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/a5cb3bdf253cc8e8474a2ed8666c0a6194abe56f44039c6623bef0459ed17d0276ed6e40c70d35bd8ec4d41bafc255e4d3025469f32ac692ba2d89e7579c2a26 languageName: node linkType: hard @@ -10603,13 +10599,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.7.0": - version: 8.7.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.7.0" +"@typescript-eslint/visitor-keys@npm:8.26.1": + version: 8.26.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.26.1" dependencies: - "@typescript-eslint/types": "npm:8.7.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/1240da13c15f9f875644b933b0ad73713ef12f1db5715236824c1ec359e6ef082ce52dd9b2186d40e28be6a816a208c226e6e9af96e5baeb24b4399fe786ae7c + "@typescript-eslint/types": "npm:8.26.1" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/51b1016d06cd2b9eac0a213de418b0a26022fd3b71478014541bfcbc2a3c4d666552390eb9c209fa9e52c868710d9f1b21a2c789d35c650239438c366a27a239 languageName: node linkType: hard @@ -15332,6 +15328,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^4.2.0": + version: 4.2.0 + resolution: "eslint-visitor-keys@npm:4.2.0" + checksum: 10c0/2ed81c663b147ca6f578312919483eb040295bbab759e5a371953456c636c5b49a559883e2677112453728d66293c0a4c90ab11cab3428cf02a0236d2e738269 + languageName: node + linkType: hard + "eslint@npm:^8.57.0": version: 8.57.1 resolution: "eslint@npm:8.57.1" @@ -17463,8 +17466,8 @@ __metadata: dependencies: "@changesets/cli": "npm:^2.26.2" "@nx/workspace": "npm:16.8.1" - "@typescript-eslint/eslint-plugin": "npm:^8.7.0" - "@typescript-eslint/parser": "npm:^8.7.0" + "@typescript-eslint/eslint-plugin": "npm:^8.26.1" + "@typescript-eslint/parser": "npm:^8.26.1" concurrently: "npm:^9.1.2" dotenv: "npm:^16.4.7" dotenv-cli: "npm:^8.0.0" @@ -27049,12 +27052,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.3.0": - version: 1.3.0 - resolution: "ts-api-utils@npm:1.3.0" +"ts-api-utils@npm:^2.0.1": + version: 2.0.1 + resolution: "ts-api-utils@npm:2.0.1" peerDependencies: - typescript: ">=4.2.0" - checksum: 10c0/f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c + typescript: ">=4.8.4" + checksum: 10c0/23fd56a958b332cac00150a652e4c84730df30571bd2faa1ba6d7b511356d1a61656621492bb6c7f15dd6e18847a1408357a0e406671d358115369a17f5bfedd languageName: node linkType: hard