fix(angular): update angular-eslint to v18 (#26165)

This commit is contained in:
James Henry 2024-05-30 17:13:03 +04:00 committed by GitHub
parent 316dcb948c
commit 063e3c9174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 61 additions and 121 deletions

View File

@ -29,9 +29,9 @@
"@angular-devkit/build-angular": "~18.0.0",
"@angular-devkit/core": "~18.0.0",
"@angular-devkit/schematics": "~18.0.0",
"@angular-eslint/eslint-plugin": "~17.3.0",
"@angular-eslint/eslint-plugin-template": "~17.3.0",
"@angular-eslint/template-parser": "~17.3.0",
"@angular-eslint/eslint-plugin": "^18.0.1",
"@angular-eslint/eslint-plugin-template": "^18.0.1",
"@angular-eslint/template-parser": "^18.0.1",
"@angular/cli": "~18.0.0",
"@angular/common": "~18.0.0",
"@angular/compiler": "~18.0.0",

View File

@ -1887,6 +1887,31 @@
"alwaysAddToPackageJson": false
}
}
},
"19.1.2": {
"version": "19.1.2-beta.1",
"requires": {
"eslint": "^8.57.0 || ^9.0.0",
"@angular/core": ">= 18.0.0 < 19.0.0"
},
"packages": {
"@angular-eslint/eslint-plugin": {
"version": "^18.0.1",
"alwaysAddToPackageJson": false
},
"@angular-eslint/eslint-plugin-template": {
"version": "^18.0.1",
"alwaysAddToPackageJson": false
},
"@angular-eslint/template-parser": {
"version": "^18.0.1",
"alwaysAddToPackageJson": false
},
"@angular-eslint/utils": {
"version": "^18.0.1",
"alwaysAddToPackageJson": false
}
}
}
}
}

View File

@ -16,7 +16,7 @@ export const typesExpressVersion = '4.17.14';
export const browserSyncVersion = '^3.0.0';
export const moduleFederationNodeVersion = '~1.0.5';
export const angularEslintVersion = '~17.3.0';
export const angularEslintVersion = '^18.0.1';
export const tailwindVersion = '^3.0.2';
export const postcssVersion = '^8.4.5';
export const postcssUrlVersion = '~10.1.3';

149
pnpm-lock.yaml generated
View File

@ -159,14 +159,14 @@ devDependencies:
specifier: ~18.0.0
version: 18.0.0
'@angular-eslint/eslint-plugin':
specifier: ~17.3.0
version: 17.3.0(eslint@8.57.0)(typescript@5.4.2)
specifier: ^18.0.1
version: 18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2)
'@angular-eslint/eslint-plugin-template':
specifier: ~17.3.0
version: 17.3.0(eslint@8.57.0)(typescript@5.4.2)
specifier: ^18.0.1
version: 18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2)
'@angular-eslint/template-parser':
specifier: ~17.3.0
version: 17.3.0(eslint@8.57.0)(typescript@5.4.2)
specifier: ^18.0.1
version: 18.0.1(eslint@8.57.0)(typescript@5.4.2)
'@angular/cli':
specifier: ~18.0.0
version: 18.0.0
@ -1408,66 +1408,63 @@ packages:
- chokidar
dev: true
/@angular-eslint/bundled-angular-compiler@17.3.0:
resolution: {integrity: sha512-ejfNzRuBeHUV8m2fkgs+M809rj5STuCuQo4fdfc6ccQpzXDI6Ha7BKpTznWfg5g529q/wrkoGSGgFxU9Yc2/dQ==}
/@angular-eslint/bundled-angular-compiler@18.0.1:
resolution: {integrity: sha512-lr4Ysoo28FBOKcJFQUGTMpbWDcak+gyuYvyggp37ERvazE6EDomPFxzEHNqVT9EI9sZ+GDBOoPR+EdFh0ALGNw==}
dev: true
/@angular-eslint/eslint-plugin-template@17.3.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-9l/aRfpE9MCRVDWRb+rSB9Zei0paep1vqV6M/87VUnzBnzqeMRnVuPvQowilh2zweVSGKBF25Vp4HkwOL6ExDQ==}
/@angular-eslint/eslint-plugin-template@18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-u/eov/CFBb8l35D8dW78Dx5fBLd8FZFibKN9XQknhzXnDMpISuUOMny5g5/wvYYjqLgqEySXMiHKEAxEup7xtA==}
peerDependencies:
eslint: ^7.20.0 || ^8.0.0
'@typescript-eslint/utils': ^7.11.0 || ^8.0.0-alpha.20
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
dependencies:
'@angular-eslint/bundled-angular-compiler': 17.3.0
'@angular-eslint/utils': 17.3.0(eslint@8.57.0)(typescript@5.4.2)
'@typescript-eslint/type-utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2)
'@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2)
'@angular-eslint/bundled-angular-compiler': 18.0.1
'@angular-eslint/utils': 18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2)
'@typescript-eslint/utils': 7.4.0(eslint@8.57.0)(typescript@5.4.2)
aria-query: 5.3.0
axobject-query: 4.0.0
eslint: 8.57.0
typescript: 5.4.2
transitivePeerDependencies:
- supports-color
dev: true
/@angular-eslint/eslint-plugin@17.3.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-81cQbOEPoQupFX8WmpqZn+y8VA7JdVRGBtt+uJNKBXcJknTpPWdLBZRFlgVakmC24iEZ0Fint/N3NBBQI3mz2A==}
/@angular-eslint/eslint-plugin@18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-pS3SYLa9DA+ENklGxEUlcw6/xCxgDk9fgjyaheuSjDxL3TIh1pTa4V2TptODdcPh7XCYXiVmy+e/w79mXlGzOw==}
peerDependencies:
eslint: ^7.20.0 || ^8.0.0
'@typescript-eslint/utils': ^7.11.0 || ^8.0.0-alpha.20
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
dependencies:
'@angular-eslint/utils': 17.3.0(eslint@8.57.0)(typescript@5.4.2)
'@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2)
'@angular-eslint/bundled-angular-compiler': 18.0.1
'@angular-eslint/utils': 18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2)
'@typescript-eslint/utils': 7.4.0(eslint@8.57.0)(typescript@5.4.2)
eslint: 8.57.0
typescript: 5.4.2
transitivePeerDependencies:
- supports-color
dev: true
/@angular-eslint/template-parser@17.3.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-m+UzAnWgtjeS0x6skSmR0eXltD/p7HZA+c8pPyAkiHQzkxE7ohhfyZc03yWGuYJvWQUqQAKKdO/nQop14TP0bg==}
/@angular-eslint/template-parser@18.0.1(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-22fKzkWo9Ts8aY/WHL1A6seS2tpltgRRXVfnZnnqvQRyRiuPnx1FC0ly7+QPZkThh8vdLwxU+BvtLq9Uiqh9OQ==}
peerDependencies:
eslint: ^7.20.0 || ^8.0.0
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
dependencies:
'@angular-eslint/bundled-angular-compiler': 17.3.0
'@angular-eslint/bundled-angular-compiler': 18.0.1
eslint: 8.57.0
eslint-scope: 8.0.0
typescript: 5.4.2
dev: true
/@angular-eslint/utils@17.3.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-PJT9pxWqpvI9OXO+7L5SIVhvMW+RFjeafC7PYjtvSbNFpz+kF644BiAcfMJ0YqBnkrw3JXt+RAX25CT4mXIoXw==}
/@angular-eslint/utils@18.0.1(@typescript-eslint/utils@7.4.0)(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-Q9lCySqg+9h2cz08+SoWj48cY1i04tL1k3bsQJmF2TsylAw2mSsNGX2X3h9WkdxY7sUoY0mP7MVW1iU54Gobcg==}
peerDependencies:
eslint: ^7.20.0 || ^8.0.0
'@typescript-eslint/utils': ^7.11.0 || ^8.0.0-alpha.20
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
dependencies:
'@angular-eslint/bundled-angular-compiler': 17.3.0
'@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2)
'@angular-eslint/bundled-angular-compiler': 18.0.1
'@typescript-eslint/utils': 7.4.0(eslint@8.57.0)(typescript@5.4.2)
eslint: 8.57.0
typescript: 5.4.2
transitivePeerDependencies:
- supports-color
dev: true
/@angular/build@18.0.0(@angular/compiler-cli@18.0.0)(@types/node@18.19.8)(less@4.2.0)(postcss@8.4.38)(stylus@0.59.0)(tailwindcss@3.4.3)(terser@5.31.0)(typescript@5.4.2):
@ -15264,14 +15261,6 @@ packages:
'@typescript-eslint/visitor-keys': 6.18.1
dev: true
/@typescript-eslint/scope-manager@7.2.0:
resolution: {integrity: sha512-Qh976RbQM/fYtjx9hs4XkayYujB/aPwglw2choHmf3zBjB4qOywWSdt9+KLRdHubGcoSwBnXUH2sR3hkyaERRg==}
engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
'@typescript-eslint/types': 7.2.0
'@typescript-eslint/visitor-keys': 7.2.0
dev: true
/@typescript-eslint/scope-manager@7.3.1:
resolution: {integrity: sha512-fVS6fPxldsKY2nFvyT7IP78UO1/I2huG+AYu5AMjCT9wtl6JFiDnsv4uad4jQ0GTFzcUV5HShVeN96/17bTBag==}
engines: {node: ^18.18.0 || >=20.0.0}
@ -15288,26 +15277,6 @@ packages:
'@typescript-eslint/visitor-keys': 7.4.0
dev: true
/@typescript-eslint/type-utils@7.2.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-xHi51adBHo9O9330J8GQYQwrKBqbIPJGZZVQTHHmy200hvkLZFWJIFtAG/7IYTWUyun6DE6w5InDReePJYJlJA==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
eslint: ^8.56.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 7.2.0(typescript@5.4.2)
'@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.4.2)
debug: 4.3.4(supports-color@8.1.1)
eslint: 8.57.0
ts-api-utils: 1.0.3(typescript@5.4.2)
typescript: 5.4.2
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==}
engines: {node: ^18.18.0 || >=20.0.0}
@ -15358,11 +15327,6 @@ packages:
engines: {node: ^16.0.0 || >=18.0.0}
dev: true
/@typescript-eslint/types@7.2.0:
resolution: {integrity: sha512-XFtUHPI/abFhm4cbCDc5Ykc8npOKBSJePY3a3s+lwumt7XWJuzP5cZcfZ610MIPHjQjNsOLlYK8ASPaNG8UiyA==}
engines: {node: ^16.0.0 || >=18.0.0}
dev: true
/@typescript-eslint/types@7.3.1:
resolution: {integrity: sha512-2tUf3uWggBDl4S4183nivWQ2HqceOZh1U4hhu4p1tPiIJoRRXrab7Y+Y0p+dozYwZVvLPRI6r5wKe9kToF9FIw==}
engines: {node: ^18.18.0 || >=20.0.0}
@ -15416,28 +15380,6 @@ packages:
- supports-color
dev: true
/@typescript-eslint/typescript-estree@7.2.0(typescript@5.4.2):
resolution: {integrity: sha512-cyxS5WQQCoBwSakpMrvMXuMDEbhOo9bNHHrNcEWis6XHx6KF518tkF1wBvKIn/tpq5ZpUYK7Bdklu8qY0MsFIA==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 7.2.0
'@typescript-eslint/visitor-keys': 7.2.0
debug: 4.3.4(supports-color@8.1.1)
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.3
semver: 7.6.2
ts-api-utils: 1.0.3(typescript@5.4.2)
typescript: 5.4.2
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/typescript-estree@7.3.1(typescript@5.4.2):
resolution: {integrity: sha512-tLpuqM46LVkduWP7JO7yVoWshpJuJzxDOPYIVWUUZbW+4dBpgGeUdl/fQkhuV0A8eGnphYw3pp8d2EnvPOfxmQ==}
engines: {node: ^18.18.0 || >=20.0.0}
@ -15502,25 +15444,6 @@ packages:
- typescript
dev: true
/@typescript-eslint/utils@7.2.0(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-YfHpnMAGb1Eekpm3XRK8hcMwGLGsnT6L+7b2XyRv6ouDuJU1tZir1GS2i0+VXRatMwSI1/UfcyPe53ADkU+IuA==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
eslint: ^8.56.0
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
'@types/json-schema': 7.0.12
'@types/semver': 7.5.2
'@typescript-eslint/scope-manager': 7.2.0
'@typescript-eslint/types': 7.2.0
'@typescript-eslint/typescript-estree': 7.2.0(typescript@5.4.2)
eslint: 8.57.0
semver: 7.6.2
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.4.2):
resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==}
engines: {node: ^18.18.0 || >=20.0.0}
@ -15575,14 +15498,6 @@ packages:
eslint-visitor-keys: 3.4.3
dev: true
/@typescript-eslint/visitor-keys@7.2.0:
resolution: {integrity: sha512-c6EIQRHhcpl6+tO8EMR+kjkkV+ugUNXOmeASA1rlzkd8EPIriavpWoiEz1HR/VLhbVIdhqnV6E7JZm00cBDx2A==}
engines: {node: ^16.0.0 || >=18.0.0}
dependencies:
'@typescript-eslint/types': 7.2.0
eslint-visitor-keys: 3.4.3
dev: true
/@typescript-eslint/visitor-keys@7.3.1:
resolution: {integrity: sha512-9RMXwQF8knsZvfv9tdi+4D/j7dMG28X/wMJ8Jj6eOHyHWwDW4ngQJcqEczSsqIKKjFiLFr40Mnr7a5ulDD3vmw==}
engines: {node: ^18.18.0 || >=20.0.0}