From d7ad3522500a494900423d0ae2750a29dbbceecb Mon Sep 17 00:00:00 2001 From: strawberry-choco Date: Thu, 31 Aug 2023 20:33:59 +0200 Subject: [PATCH] fix angular eslint parsing bug (#178) Signed-off-by: Kangrui Ye --- package.json | 14 +- packages/eslint-plugin-angular/README.md | 2 +- packages/eslint-plugin-angular/package.json | 12 +- packages/eslint-plugin-node/README.md | 2 +- packages/eslint-plugin-node/package.json | 2 +- packages/eslint-plugin-react/README.md | 2 +- packages/eslint-plugin-react/package.json | 2 +- .../eslint-plugin-typescript/package.json | 2 +- packages/eslint-plugin-vue/README.md | 2 +- packages/eslint-plugin-vue/package.json | 2 +- yarn.lock | 120 +++++++++--------- 11 files changed, 81 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index d82fec6..1585f85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin", - "version": "0.20.0", + "version": "0.20.1", "private": true, "volta": { "node": "18.16.0", @@ -28,11 +28,11 @@ "author": "Cloudflight GmbH", "license": "Apache-2.0", "devDependencies": { - "@angular-eslint/bundled-angular-compiler": "16.1.0", - "@angular-eslint/eslint-plugin": "16.1.0", - "@angular-eslint/eslint-plugin-template": "16.1.0", - "@angular-eslint/template-parser": "16.1.0", - "@angular/compiler": "16.1.8", + "@angular-eslint/bundled-angular-compiler": "16.1.1", + "@angular-eslint/eslint-plugin": "16.1.1", + "@angular-eslint/eslint-plugin-template": "16.1.1", + "@angular-eslint/template-parser": "16.1.1", + "@angular/compiler": "16.2.3", "@rushstack/eslint-patch": "1.3.3", "@types/eslint": "8.44.2", "@types/estree": "1.0.1", @@ -41,7 +41,7 @@ "@typescript-eslint/eslint-plugin": "6.3.0", "@typescript-eslint/parser": "6.3.0", "@vue/eslint-config-typescript": "11.0.3", - "eslint": "8.46.0", + "eslint": "8.48.0", "eslint-plugin-import": "2.28.0", "eslint-plugin-json-es": "1.5.7", "eslint-plugin-jsx-a11y": "6.7.1", diff --git a/packages/eslint-plugin-angular/README.md b/packages/eslint-plugin-angular/README.md index 329f60d..15fb73b 100644 --- a/packages/eslint-plugin-angular/README.md +++ b/packages/eslint-plugin-angular/README.md @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con The following dependencies are required: ``` -"@cloudflight/eslint-plugin-typescript": ">=0.20.0", +"@cloudflight/eslint-plugin-typescript": ">=0.20.1", "@rushstack/eslint-patch": "1.2.0", "eslint": ">=8.0.0 <9.0.0" ``` diff --git a/packages/eslint-plugin-angular/package.json b/packages/eslint-plugin-angular/package.json index 78e6982..bf277ce 100644 --- a/packages/eslint-plugin-angular/package.json +++ b/packages/eslint-plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin-angular", - "version": "0.20.0", + "version": "0.20.1", "description": "Cloudflight eslint-plugin & eslint-config for angular", "volta": { "extends": "../../package.json" @@ -27,11 +27,11 @@ "test-package": "jest" }, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "^16.1.0", - "@angular-eslint/eslint-plugin": "^16.1.0", - "@angular-eslint/eslint-plugin-template": "^16.1.0", - "@angular-eslint/template-parser": "^16.1.0", - "@angular/compiler": "16.1.8" + "@angular-eslint/bundled-angular-compiler": "^16.1.1", + "@angular-eslint/eslint-plugin": "^16.1.1", + "@angular-eslint/eslint-plugin-template": "^16.1.1", + "@angular-eslint/template-parser": "^16.1.1", + "@angular/compiler": "16.2.3" }, "peerDependencies": { "@cloudflight/eslint-plugin-typescript": "workspace:*", diff --git a/packages/eslint-plugin-node/README.md b/packages/eslint-plugin-node/README.md index db2b86f..974ed66 100644 --- a/packages/eslint-plugin-node/README.md +++ b/packages/eslint-plugin-node/README.md @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con The following dependencies are required: ``` -"@cloudflight/eslint-plugin-typescript": ">=0.20.0", +"@cloudflight/eslint-plugin-typescript": ">=0.20.1", "@rushstack/eslint-patch": "1.2.0", "eslint": ">=8.0.0 <9.0.0" ``` diff --git a/packages/eslint-plugin-node/package.json b/packages/eslint-plugin-node/package.json index 149f071..bf3c164 100644 --- a/packages/eslint-plugin-node/package.json +++ b/packages/eslint-plugin-node/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin-node", - "version": "0.20.0", + "version": "0.20.1", "description": "Cloudflight eslint-plugin & eslint-config for node", "volta": { "extends": "../../package.json" diff --git a/packages/eslint-plugin-react/README.md b/packages/eslint-plugin-react/README.md index 09abd51..c3d955e 100644 --- a/packages/eslint-plugin-react/README.md +++ b/packages/eslint-plugin-react/README.md @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con The following dependencies are required: ``` -"@cloudflight/eslint-plugin-typescript": ">=0.20.0", +"@cloudflight/eslint-plugin-typescript": ">=0.20.1", "@rushstack/eslint-patch": "1.2.0", "eslint": ">=8.0.0 <9.0.0" ``` diff --git a/packages/eslint-plugin-react/package.json b/packages/eslint-plugin-react/package.json index a46e4c7..90a1ab2 100644 --- a/packages/eslint-plugin-react/package.json +++ b/packages/eslint-plugin-react/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin-react", - "version": "0.20.0", + "version": "0.20.1", "description": "Cloudflight eslint-plugin & eslint-config for React", "volta": { "extends": "../../package.json" diff --git a/packages/eslint-plugin-typescript/package.json b/packages/eslint-plugin-typescript/package.json index 8c4919b..fdef4a7 100644 --- a/packages/eslint-plugin-typescript/package.json +++ b/packages/eslint-plugin-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin-typescript", - "version": "0.20.0", + "version": "0.20.1", "description": "Cloudflight eslint-plugin & eslint-config for typescript", "volta": { "extends": "../../package.json" diff --git a/packages/eslint-plugin-vue/README.md b/packages/eslint-plugin-vue/README.md index cdf9ddb..9b02c0e 100644 --- a/packages/eslint-plugin-vue/README.md +++ b/packages/eslint-plugin-vue/README.md @@ -9,7 +9,7 @@ You can find the directory of all rules including their reasoning [here](src/con The following dependencies are required: ``` -"@cloudflight/eslint-plugin-typescript": ">=0.20.0", +"@cloudflight/eslint-plugin-typescript": ">=0.20.1", "@rushstack/eslint-patch": "1.2.0", "eslint": ">=8.0.0 <9.0.0" ``` diff --git a/packages/eslint-plugin-vue/package.json b/packages/eslint-plugin-vue/package.json index 616d3a0..e3fdf95 100644 --- a/packages/eslint-plugin-vue/package.json +++ b/packages/eslint-plugin-vue/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflight/eslint-plugin-vue", - "version": "0.20.0", + "version": "0.20.1", "description": "Cloudflight eslint-plugin & eslint-config for vue", "volta": { "extends": "../../package.json" diff --git a/yarn.lock b/yarn.lock index be515db..f73858c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,19 +22,19 @@ __metadata: languageName: node linkType: hard -"@angular-eslint/bundled-angular-compiler@npm:16.1.0, @angular-eslint/bundled-angular-compiler@npm:^16.1.0": - version: 16.1.0 - resolution: "@angular-eslint/bundled-angular-compiler@npm:16.1.0" - checksum: a92c8c50145d1a60e85f7116e4e21b59c4aede88a9ed647d7b86d2c4e3d472928145878728fb787a7f6589d9d987573bfb716ee4947a2c5d78d4c17f4305e878 +"@angular-eslint/bundled-angular-compiler@npm:16.1.1, @angular-eslint/bundled-angular-compiler@npm:^16.1.1": + version: 16.1.1 + resolution: "@angular-eslint/bundled-angular-compiler@npm:16.1.1" + checksum: 074b429d0ef489e5d4eb73ff0fe5acbc341a87f883e6eae1ab516912cc221cf6e72270af3036595503ab15e4db54825c5b160ee58d4b51c6d03c50d45e95b1ee languageName: node linkType: hard -"@angular-eslint/eslint-plugin-template@npm:16.1.0, @angular-eslint/eslint-plugin-template@npm:^16.1.0": - version: 16.1.0 - resolution: "@angular-eslint/eslint-plugin-template@npm:16.1.0" +"@angular-eslint/eslint-plugin-template@npm:16.1.1, @angular-eslint/eslint-plugin-template@npm:^16.1.1": + version: 16.1.1 + resolution: "@angular-eslint/eslint-plugin-template@npm:16.1.1" dependencies: - "@angular-eslint/bundled-angular-compiler": "npm:16.1.0" - "@angular-eslint/utils": "npm:16.1.0" + "@angular-eslint/bundled-angular-compiler": "npm:16.1.1" + "@angular-eslint/utils": "npm:16.1.1" "@typescript-eslint/type-utils": "npm:5.62.0" "@typescript-eslint/utils": "npm:5.62.0" aria-query: "npm:5.3.0" @@ -42,60 +42,60 @@ __metadata: peerDependencies: eslint: ^7.20.0 || ^8.0.0 typescript: "*" - checksum: ae194d11792d35d5d38343dffc267b367d9189a3b63e56c28159be93136a971501060d5bdc098f7cc7ca32e0da894c8da3b0e1219bae9d0a6d8ba396dd1f58e8 + checksum: 67f6f2cb9f62ce30c937d3f6fc00ba0c1e1e8dfbea58eb44d4e1e177843d3a5b5da8129f65615683ca9b84aff936f0f52713a406f9dcbd87f4da5323ce0dd189 languageName: node linkType: hard -"@angular-eslint/eslint-plugin@npm:16.1.0, @angular-eslint/eslint-plugin@npm:^16.1.0": - version: 16.1.0 - resolution: "@angular-eslint/eslint-plugin@npm:16.1.0" +"@angular-eslint/eslint-plugin@npm:16.1.1, @angular-eslint/eslint-plugin@npm:^16.1.1": + version: 16.1.1 + resolution: "@angular-eslint/eslint-plugin@npm:16.1.1" dependencies: - "@angular-eslint/utils": "npm:16.1.0" + "@angular-eslint/utils": "npm:16.1.1" "@typescript-eslint/utils": "npm:5.62.0" peerDependencies: eslint: ^7.20.0 || ^8.0.0 typescript: "*" - checksum: e40db87e4ba87fd6d84c3c6f04521103198a558387794980b29873182cbbed0012597df7ec708e84111e79853f95980aa9b506de9f4cc6b8d7e6f5797250d937 + checksum: d63df191a8117bd7ca25819d6106c1bb4e6aebabfe6d771bb32c3a3009d218014319ae4e9850892b782dc89dafb01e604aeb3369d2e827ead767e969dcc85c30 languageName: node linkType: hard -"@angular-eslint/template-parser@npm:16.1.0, @angular-eslint/template-parser@npm:^16.1.0": - version: 16.1.0 - resolution: "@angular-eslint/template-parser@npm:16.1.0" +"@angular-eslint/template-parser@npm:16.1.1, @angular-eslint/template-parser@npm:^16.1.1": + version: 16.1.1 + resolution: "@angular-eslint/template-parser@npm:16.1.1" dependencies: - "@angular-eslint/bundled-angular-compiler": "npm:16.1.0" + "@angular-eslint/bundled-angular-compiler": "npm:16.1.1" eslint-scope: "npm:^7.0.0" peerDependencies: eslint: ^7.20.0 || ^8.0.0 typescript: "*" - checksum: 728b133680f5b736829f37c5af9b7b0076f41828ae0d47faaaf14750c8d77c3e37da440a241bb4c85183f7edbf098dc71e21f1bb028c7a649e4ac9ebe5e2c83c + checksum: 2c953d1f3aca0fed4eec07989e9d4618184944184d879c5901c465bd4f75fba2c381e7fad91731e3fc115041be130fa48bde56427e4216242ac6cef95255e6a0 languageName: node linkType: hard -"@angular-eslint/utils@npm:16.1.0": - version: 16.1.0 - resolution: "@angular-eslint/utils@npm:16.1.0" +"@angular-eslint/utils@npm:16.1.1": + version: 16.1.1 + resolution: "@angular-eslint/utils@npm:16.1.1" dependencies: - "@angular-eslint/bundled-angular-compiler": "npm:16.1.0" + "@angular-eslint/bundled-angular-compiler": "npm:16.1.1" "@typescript-eslint/utils": "npm:5.62.0" peerDependencies: eslint: ^7.20.0 || ^8.0.0 typescript: "*" - checksum: 61741ea2b3872114358ec18391fa4683037dc2b1f104e4239eb7a8626ae2e4bd6c68e7a439760a50ac42dfeeae9036f6c9372331ad33b5fae5aa01957d0160c4 + checksum: f04847aa4cc23b4a1a41fdbdbe4a94775ae92c0198aa1704b903a39f11e9ba158e29b4315f78bf2c1226bc7967daf4fc603847c5d588b5bf9fd53012cf263a88 languageName: node linkType: hard -"@angular/compiler@npm:16.1.8": - version: 16.1.8 - resolution: "@angular/compiler@npm:16.1.8" +"@angular/compiler@npm:16.2.3": + version: 16.2.3 + resolution: "@angular/compiler@npm:16.2.3" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/core": 16.1.8 + "@angular/core": 16.2.3 peerDependenciesMeta: "@angular/core": optional: true - checksum: 428dba4132246dbb5b9e502255e4c1703d07a5acb6a99c05d0f91b9687268e891f4d556fced7936205bcdcc201a5740bc8fcc5cd5354ecd168c9a8f4548c3ab5 + checksum: 7e1e51531478b2eebeeb5fe3c478ce978b51b7a38e9b8bbdebf58f3e3a1dc9a7f91cd777223a93a553ccce6aa09d53a04f887fb54c50cd2a9108d36c0e306cb9 languageName: node linkType: hard @@ -507,11 +507,11 @@ __metadata: version: 0.0.0-use.local resolution: "@cloudflight/eslint-plugin-angular@workspace:packages/eslint-plugin-angular" dependencies: - "@angular-eslint/bundled-angular-compiler": "npm:^16.1.0" - "@angular-eslint/eslint-plugin": "npm:^16.1.0" - "@angular-eslint/eslint-plugin-template": "npm:^16.1.0" - "@angular-eslint/template-parser": "npm:^16.1.0" - "@angular/compiler": "npm:16.1.8" + "@angular-eslint/bundled-angular-compiler": "npm:^16.1.1" + "@angular-eslint/eslint-plugin": "npm:^16.1.1" + "@angular-eslint/eslint-plugin-template": "npm:^16.1.1" + "@angular-eslint/template-parser": "npm:^16.1.1" + "@angular/compiler": "npm:16.2.3" typescript: "npm:5.1.6" peerDependencies: "@cloudflight/eslint-plugin-typescript": "workspace:*" @@ -580,11 +580,11 @@ __metadata: version: 0.0.0-use.local resolution: "@cloudflight/eslint-plugin@workspace:." dependencies: - "@angular-eslint/bundled-angular-compiler": "npm:16.1.0" - "@angular-eslint/eslint-plugin": "npm:16.1.0" - "@angular-eslint/eslint-plugin-template": "npm:16.1.0" - "@angular-eslint/template-parser": "npm:16.1.0" - "@angular/compiler": "npm:16.1.8" + "@angular-eslint/bundled-angular-compiler": "npm:16.1.1" + "@angular-eslint/eslint-plugin": "npm:16.1.1" + "@angular-eslint/eslint-plugin-template": "npm:16.1.1" + "@angular-eslint/template-parser": "npm:16.1.1" + "@angular/compiler": "npm:16.2.3" "@rushstack/eslint-patch": "npm:1.3.3" "@types/eslint": "npm:8.44.2" "@types/estree": "npm:1.0.1" @@ -593,7 +593,7 @@ __metadata: "@typescript-eslint/eslint-plugin": "npm:6.3.0" "@typescript-eslint/parser": "npm:6.3.0" "@vue/eslint-config-typescript": "npm:11.0.3" - eslint: "npm:8.46.0" + eslint: "npm:8.48.0" eslint-plugin-import: "npm:2.28.0" eslint-plugin-json-es: "npm:1.5.7" eslint-plugin-jsx-a11y: "npm:6.7.1" @@ -647,9 +647,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.1": - version: 2.1.1 - resolution: "@eslint/eslintrc@npm:2.1.1" +"@eslint/eslintrc@npm:^2.1.2": + version: 2.1.2 + resolution: "@eslint/eslintrc@npm:2.1.2" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" @@ -660,14 +660,14 @@ __metadata: js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 82d9d4ed6f4c74b9c3bc52d454c87d4e3b3f79a91d554b526531bf360cb532211c177ac4c5bee91bad18bab9a35ea46f891e2cac1320da8e9dbef40db55aee67 + checksum: 1a0589f3ae7e865d21ec8cb12518fe97858455397c9138d422566ddf469f75e5ccd11b075a23f87ee388589441f40d479725002ab33d4c694c7e74b6cb4f289a languageName: node linkType: hard -"@eslint/js@npm:^8.46.0": - version: 8.46.0 - resolution: "@eslint/js@npm:8.46.0" - checksum: 0a7279b6dfc2fcae49a49615da6f963b9c15b11b59db725cfb984ee31161d420842adc66b49ff1c155cbfb1dd0b3c8a233442de6028c74b9b05afd43aea6ba52 +"@eslint/js@npm:8.48.0": + version: 8.48.0 + resolution: "@eslint/js@npm:8.48.0" + checksum: dc993aad71aaa2960be4b691209b21d138c32267b6e11d12b383cd4bb3e403b3212a7a4ee9b81d38d45b26ac1e1142a54b43d8005e9312f34adf6ae2f2974e58 languageName: node linkType: hard @@ -3260,21 +3260,21 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.4.2": - version: 3.4.2 - resolution: "eslint-visitor-keys@npm:3.4.2" - checksum: 668ac8cbd667e087e7703672675f29870a2e4928c941155b59679feecd662430fd879b81fa4c3db33734e468b1312e71b8f42cf6e11fb227c2a1140af3b1b5c6 +"eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 8c249464e7f9d134259b4445e34bcdf2539775fee722577936f1fafd928c409ef845a6cae6456e68db6b653e5ef12a1e17946c34d534474e71cd226cae153ecf languageName: node linkType: hard -"eslint@npm:8.46.0": - version: 8.46.0 - resolution: "eslint@npm:8.46.0" +"eslint@npm:8.48.0": + version: 8.48.0 + resolution: "eslint@npm:8.48.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.1" - "@eslint/js": "npm:^8.46.0" + "@eslint/eslintrc": "npm:^2.1.2" + "@eslint/js": "npm:8.48.0" "@humanwhocodes/config-array": "npm:^0.11.10" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" @@ -3285,7 +3285,7 @@ __metadata: doctrine: "npm:^3.0.0" escape-string-regexp: "npm:^4.0.0" eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.2" + eslint-visitor-keys: "npm:^3.4.3" espree: "npm:^9.6.1" esquery: "npm:^1.4.2" esutils: "npm:^2.0.2" @@ -3310,7 +3310,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: ac205dde541ff98efc73a460a5b7c527f0809cff67d305e030217d7fa731517e08cb1832bdcffd28fb3885e84ec8880d3d9904d1e18ad1d2183a34eb22f2de48 + checksum: 3e76d6c4bc7a7033cbbbf5fe879b908dd6ab27723a4b4f834ad1c4bc29a33b13b21d15a4c244873f45faa9c8e01a61de7b8cba38eab39601039ce29111ee6ffd languageName: node linkType: hard