From dabda2dcc987fe49b36b040f4c8dcd9a7cbdaf0a Mon Sep 17 00:00:00 2001 From: Daniel Kimmich Date: Tue, 28 May 2024 19:03:56 +0200 Subject: [PATCH] chore(deps): update linters --- eslint.config.mjs | 42 +++----- package-lock.json | 259 +++++++++++++++++++++++----------------------- package.json | 15 +-- 3 files changed, 141 insertions(+), 175 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index fd221d6c..63eb7cd5 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,17 +1,19 @@ -import angularEslintPlugin from "@angular-eslint/eslint-plugin"; -import angularEslintPluginTemplate from "@angular-eslint/eslint-plugin-template"; -import angularEslintTemplateParser from "@angular-eslint/template-parser"; import js from "@eslint/js"; -import prettier from "eslint-config-prettier"; +import angularEslint from "angular-eslint"; import deprecation from "eslint-plugin-deprecation"; import globals from "globals"; import tseslint from "typescript-eslint"; -export default [ - js.configs.recommended, +export default tseslint.config( { ignores: ["dist/", ".angular/", "**/*.js"] }, { files: ["**/*.ts"], + extends: [ + js.configs.recommended, + ...tseslint.configs.strictTypeChecked, + ...tseslint.configs.stylisticTypeChecked, + ...angularEslint.configs.tsRecommended, + ], languageOptions: { parser: tseslint.parser, parserOptions: { @@ -25,22 +27,9 @@ export default [ ...globals.browser, }, }, - plugins: { - "@typescript-eslint": tseslint.plugin, - deprecation, - "@angular-eslint": angularEslintPlugin, - }, - processor: angularEslintPluginTemplate.processors["extract-inline-html"], + plugins: { deprecation }, + processor: angularEslint.processInlineTemplates, rules: { - ...Object.assign( - {}, - ...tseslint.configs.strictTypeChecked.map(({ rules }) => rules), - ), - ...Object.assign( - {}, - ...tseslint.configs.stylisticTypeChecked.map(({ rules }) => rules), - ), - ...angularEslintPlugin.configs.recommended.rules, "@typescript-eslint/no-extraneous-class": "off", "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "error", @@ -59,16 +48,9 @@ export default [ }, { files: ["**/*.html"], - plugins: { - "@angular-eslint/template": angularEslintPluginTemplate, - }, - languageOptions: { - parser: angularEslintTemplateParser, - }, + extends: [...angularEslint.configs.templateRecommended], rules: { - ...angularEslintPluginTemplate.configs.recommended.rules, "@angular-eslint/template/prefer-control-flow": "error", }, }, - prettier, -]; +); diff --git a/package-lock.json b/package-lock.json index 8c69dfb3..d1a02b71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,19 +27,14 @@ }, "devDependencies": { "@angular-devkit/build-angular": "~18.0.0", - "@angular-eslint/builder": "^17.0.0", - "@angular-eslint/eslint-plugin": "^17.0.0", - "@angular-eslint/eslint-plugin-template": "^17.0.0", - "@angular-eslint/schematics": "^17.0.0", - "@angular-eslint/template-parser": "^17.0.0", "@angular/cli": "~18.0.0", "@angular/compiler-cli": "~18.0.0", "@eslint/js": "^9.2.0", "@types/jasmine": "~5.1.0", + "angular-eslint": "^18.0.0-alpha.16", "cpy-cli": "^5.0.0", "dayjs": "^1.11.7", "eslint": "^8.53.0", - "eslint-config-prettier": "^9.0.0", "eslint-plugin-deprecation": "^2.0.0", "globals": "^15.1.0", "jasmine-core": "~5.1.0", @@ -54,7 +49,7 @@ "prettier": "~3.2.0", "prettier-plugin-organize-imports": "^3.2.3", "typescript": "~5.4.0", - "typescript-eslint": "^7.0.0" + "typescript-eslint": "^8.0.0-alpha.20" } }, "node_modules/@ampproject/remapping": { @@ -286,108 +281,108 @@ } }, "node_modules/@angular-eslint/builder": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-17.5.2.tgz", - "integrity": "sha512-bvegxJuocWeHdvISPfCXeLQPSjrMCEVzxXPg16JJKksKWSeRA1JnbXnfnb7eoLdq1+riMHKqbH6Fs4rORAvUiA==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-18.0.0-alpha.16.tgz", + "integrity": "sha512-jTGcBgscLOWu/caQKLybkmCGepUYdqMqapXj3TQbSdLBMMELeBFqakQJxKbR7ZSPdMl5a9bRTzQVHU2zRnc+FQ==", "dev": true, "license": "MIT", "dependencies": { - "@nx/devkit": "^17.2.8 || ^18.0.0 || ^19.0.0", - "nx": "^17.2.8 || ^18.0.0 || ^19.0.0" + "@nx/devkit": "^19.0.6", + "nx": "^19.0.6" }, "peerDependencies": { - "eslint": "^7.20.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/bundled-angular-compiler": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-17.5.2.tgz", - "integrity": "sha512-K4hVnMyI98faMJmsA4EOBkD0tapDjWV5gy0j/wJ2uSL46d3JgZPZNJSO1zStf/b3kT4gLOlQ/ulWFiUf1DxgIw==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-18.0.0-alpha.16.tgz", + "integrity": "sha512-l3AC50EaxRTeRjD+ycgSKupKr0BCX/Mcq0ZZWCSc5PFtgfxD0uSS184fs85bg2jkB2TxqP00lag3JWdOABeHXw==", "dev": true, "license": "MIT" }, "node_modules/@angular-eslint/eslint-plugin": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-17.5.2.tgz", - "integrity": "sha512-kzPALKyT5XIEbgoNmY/hEZWdMWKTX56Pap9fVLJSC/b+Nd+MXc7TNly2s0XoC0Ru1/kMiVzbmSGPheu/rw+9aA==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-18.0.0-alpha.16.tgz", + "integrity": "sha512-AuP60molORKbbFLpUbfWOhW5nzBl2+5eB00X/gJWMnBxGeKoQzkFzzZbm3QYCYdxs9Udo6+7nxCPfA6a+CtuCQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "17.5.2", - "@angular-eslint/utils": "17.5.2", - "@typescript-eslint/utils": "7.11.0" + "@angular-eslint/bundled-angular-compiler": "18.0.0-alpha.16", + "@angular-eslint/utils": "18.0.0-alpha.16", + "@typescript-eslint/utils": "8.0.0-alpha.20" }, "peerDependencies": { - "eslint": "^7.20.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/eslint-plugin-template": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-17.5.2.tgz", - "integrity": "sha512-6sxVwrJ7yElZxcjxHSA0Ujs29bCD/cMubd9n6TDFI9e3v+ktpoMW4Nv/TCHv0OuYatIOZ7bcJxi38cAO8Vhfhw==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-18.0.0-alpha.16.tgz", + "integrity": "sha512-ld70quxCLVnUsa6o1A++8t+kqc9QHndgc3n5ZyrGGB6dXUJWKXOJd97nC/s0QuRCH4Nxs2cCDcTNByoSybO25A==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "17.5.2", - "@angular-eslint/utils": "17.5.2", - "@typescript-eslint/type-utils": "7.11.0", - "@typescript-eslint/utils": "7.11.0", + "@angular-eslint/bundled-angular-compiler": "18.0.0-alpha.16", + "@angular-eslint/utils": "18.0.0-alpha.16", + "@typescript-eslint/utils": "8.0.0-alpha.20", "aria-query": "5.3.0", "axobject-query": "4.0.0" }, "peerDependencies": { - "eslint": "^7.20.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/schematics": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-17.5.2.tgz", - "integrity": "sha512-HcvqrBEJfYMTc+fZ6YdRkb+9YcXsy2XSv59Yhd0bBqZ4ZdM4QuuVFxWlLNvhV6TF1DtO24CzpN4OyE+AO5EWBA==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-18.0.0-alpha.16.tgz", + "integrity": "sha512-in0TqLeFCQlQnnt2RNXUG5ivqePnpkpp66y3DRTLKhNzktkf1pZ8V8nUexw2QMwCiidleNdjTpKkO3miAWUigQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/eslint-plugin": "17.5.2", - "@angular-eslint/eslint-plugin-template": "17.5.2", - "@nx/devkit": "^17.2.8 || ^18.0.0 || ^19.0.0", + "@angular-eslint/eslint-plugin": "18.0.0-alpha.16", + "@angular-eslint/eslint-plugin-template": "18.0.0-alpha.16", + "@nx/devkit": "^19.0.6", "ignore": "5.3.1", - "nx": "^17.2.8 || ^18.0.0 || ^19.0.0", - "strip-json-comments": "3.1.1", - "tmp": "0.2.3" + "nx": "^19.0.6", + "semver": "7.6.2", + "strip-json-comments": "3.1.1" }, "peerDependencies": { - "@angular/cli": ">= 17.0.0 < 18.0.0" + "@angular-devkit/core": ">= 18.0.0 < 19.0.0", + "@angular-devkit/schematics": ">= 18.0.0 < 19.0.0" } }, "node_modules/@angular-eslint/template-parser": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-17.5.2.tgz", - "integrity": "sha512-46emLElmnIUzW0bpEpSf0u05ofRVUwlfttDOMLedhi700peUKbB9Y6iyz3GzAtQCMklBbJC9nR87LQRH9aSlog==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-18.0.0-alpha.16.tgz", + "integrity": "sha512-mpvEmRRv0YiIezducz4OQIqAfFAT1yLGJvItcgN8e6Kjx/O2xnfGA0PtsGd8HEpLKFAjNk9qICofObZgyoQunw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "17.5.2", + "@angular-eslint/bundled-angular-compiler": "18.0.0-alpha.16", "eslint-scope": "^8.0.0" }, "peerDependencies": { - "eslint": "^7.20.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/utils": { - "version": "17.5.2", - "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-17.5.2.tgz", - "integrity": "sha512-bTMPFqtoetBJsYR/xqREEOCy/CdsKGf2gZkRdH73gG6pOpskWt8J/PbRcMZsC349paV4HFixByVm89inqA0TNg==", + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-18.0.0-alpha.16.tgz", + "integrity": "sha512-0yb40AglFhyXPKA6FQ2cgj25HU7wUdWnMqIAP5PD+6sCMZGGXocB0J4wGtNmBPgMY+o/QCOwVjgmuVZcZxr6rQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "17.5.2", - "@typescript-eslint/utils": "7.11.0" + "@angular-eslint/bundled-angular-compiler": "18.0.0-alpha.16", + "@typescript-eslint/utils": "8.0.0-alpha.20" }, "peerDependencies": { - "eslint": "^7.20.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", "typescript": "*" } }, @@ -6067,32 +6062,32 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.11.0.tgz", - "integrity": "sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.0.0-alpha.20.tgz", + "integrity": "sha512-/dBqhcdiVHB3SzaU5Mczy1QoVel8hZ8TX7T2WE1Qq2ujrv4X9I2/H2DMHnNtmlcGY9hcezsPtu76BTiZAeMQqw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.11.0", - "@typescript-eslint/type-utils": "7.11.0", - "@typescript-eslint/utils": "7.11.0", - "@typescript-eslint/visitor-keys": "7.11.0", + "@typescript-eslint/scope-manager": "8.0.0-alpha.20", + "@typescript-eslint/type-utils": "8.0.0-alpha.20", + "@typescript-eslint/utils": "8.0.0-alpha.20", + "@typescript-eslint/visitor-keys": "8.0.0-alpha.20", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -6101,27 +6096,27 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.11.0.tgz", - "integrity": "sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.0.0-alpha.20.tgz", + "integrity": "sha512-C1gnMM1k6i0phZ7l6HJPecVIGMErrONnurQ9ssRBZNek7gJInDGEDUC7LlL3QIWxFkHcdwYXWzuc7IueyxU6YQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.11.0", - "@typescript-eslint/types": "7.11.0", - "@typescript-eslint/typescript-estree": "7.11.0", - "@typescript-eslint/visitor-keys": "7.11.0", + "@typescript-eslint/scope-manager": "8.0.0-alpha.20", + "@typescript-eslint/types": "8.0.0-alpha.20", + "@typescript-eslint/typescript-estree": "8.0.0-alpha.20", + "@typescript-eslint/visitor-keys": "8.0.0-alpha.20", "debug": "^4.3.4" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -6130,17 +6125,17 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.11.0.tgz", - "integrity": "sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.0.0-alpha.20.tgz", + "integrity": "sha512-+Ncj0Q6DT8ZHYNp8h5RndW4Siv52kiPpHEz/i8Sj2rh2y8ZCc5pKSHSslk+eZi0Bdj+/+swNOmDNcL2CrlaEnA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.11.0", - "@typescript-eslint/visitor-keys": "7.11.0" + "@typescript-eslint/types": "8.0.0-alpha.20", + "@typescript-eslint/visitor-keys": "8.0.0-alpha.20" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -6148,27 +6143,24 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.11.0.tgz", - "integrity": "sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.0.0-alpha.20.tgz", + "integrity": "sha512-/eUDosUnJlEwzRFPwaKYM3H0VS+40oXx+5ZN+CFCtdXMZjGsTwKM3XNvI+4orisjn+qhNVlHZby4PHnH8qAh8Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.11.0", - "@typescript-eslint/utils": "7.11.0", + "@typescript-eslint/typescript-estree": "8.0.0-alpha.20", + "@typescript-eslint/utils": "8.0.0-alpha.20", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.56.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -6176,13 +6168,13 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.11.0.tgz", - "integrity": "sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.0.0-alpha.20.tgz", + "integrity": "sha512-xpU1rMQfnnNZxpHN6YUfr18sGOMcpC9hvt54fupcU6N1qMCagEtkRt1U15x086oJAgAITJGa67454ffAoCxv/w==", "dev": true, "license": "MIT", "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -6190,14 +6182,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.11.0.tgz", - "integrity": "sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.0.0-alpha.20.tgz", + "integrity": "sha512-VQ8Mf8upDCuf0uMTjX/Pdw3gvCZomkG43nuThUuzhK3YFwFmIDTqx0ZWSsYJkVGfll0WrXgIua+rKSP/n6NBWw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.11.0", - "@typescript-eslint/visitor-keys": "7.11.0", + "@typescript-eslint/types": "8.0.0-alpha.20", + "@typescript-eslint/visitor-keys": "8.0.0-alpha.20", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -6206,7 +6198,7 @@ "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -6235,40 +6227,40 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.11.0.tgz", - "integrity": "sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.0.0-alpha.20.tgz", + "integrity": "sha512-0aMhjDTvIrkGkHqyM0ZByAwR8BV1f2HhKdYyjtxko8S/Ca4PGjOIjub6VoF+bQwCRxEuV8viNUld78rqm9jqLA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.11.0", - "@typescript-eslint/types": "7.11.0", - "@typescript-eslint/typescript-estree": "7.11.0" + "@typescript-eslint/scope-manager": "8.0.0-alpha.20", + "@typescript-eslint/types": "8.0.0-alpha.20", + "@typescript-eslint/typescript-estree": "8.0.0-alpha.20" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.11.0.tgz", - "integrity": "sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.0.0-alpha.20.tgz", + "integrity": "sha512-ej06rfct0kalfJgIR8nTR7dF1mgfF83hkylrYas7IAElHfgw4zx99BUGa6VrnHZ1PkxdJBp5PgcO2FmmlOoaRQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.11.0", + "@typescript-eslint/types": "8.0.0-alpha.20", "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -6672,6 +6664,25 @@ "ajv": "^8.8.2" } }, + "node_modules/angular-eslint": { + "version": "18.0.0-alpha.16", + "resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-18.0.0-alpha.16.tgz", + "integrity": "sha512-jefwH8TrGoHO58NvGDbXWnz9gyozNLW37FuKSwPbu5bYjY/nlV8UTqhLD8BU0e5z+MkePcFNc++8t7jQPV6CLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-eslint/builder": "18.0.0-alpha.16", + "@angular-eslint/eslint-plugin": "18.0.0-alpha.16", + "@angular-eslint/eslint-plugin-template": "18.0.0-alpha.16", + "@angular-eslint/schematics": "18.0.0-alpha.16", + "@angular-eslint/template-parser": "18.0.0-alpha.16" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*", + "typescript-eslint": "^8.0.0-alpha.20" + } + }, "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", @@ -9648,19 +9659,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-config-prettier": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", - "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, "node_modules/eslint-plugin-deprecation": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-2.0.0.tgz", @@ -18135,26 +18133,23 @@ } }, "node_modules/typescript-eslint": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-7.11.0.tgz", - "integrity": "sha512-ZKe3yHF/IS/kCUE4CGE3UgtK+Q7yRk1e9kwEI0rqm9XxMTd9P1eHe0LVVtrZ3oFuIQ2unJ9Xn0vTsLApzJ3aPw==", + "version": "8.0.0-alpha.20", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.0.0-alpha.20.tgz", + "integrity": "sha512-/cx37A2S+AOne5uFpD8GzHzV5b/7wncAh4agmIRieAZWXJWbRcue7e8RI6LnpQ7CHy9IHPmALcHcXPXogM6jcQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "7.11.0", - "@typescript-eslint/parser": "7.11.0", - "@typescript-eslint/utils": "7.11.0" + "@typescript-eslint/eslint-plugin": "8.0.0-alpha.20", + "@typescript-eslint/parser": "8.0.0-alpha.20", + "@typescript-eslint/utils": "8.0.0-alpha.20" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.56.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true diff --git a/package.json b/package.json index 3ca1ea97..8a9aa861 100644 --- a/package.json +++ b/package.json @@ -34,19 +34,14 @@ }, "devDependencies": { "@angular-devkit/build-angular": "~18.0.0", - "@angular-eslint/builder": "^17.0.0", - "@angular-eslint/eslint-plugin": "^17.0.0", - "@angular-eslint/eslint-plugin-template": "^17.0.0", - "@angular-eslint/schematics": "^17.0.0", - "@angular-eslint/template-parser": "^17.0.0", "@angular/cli": "~18.0.0", "@angular/compiler-cli": "~18.0.0", "@eslint/js": "^9.2.0", "@types/jasmine": "~5.1.0", + "angular-eslint": "^18.0.0-alpha.16", "cpy-cli": "^5.0.0", "dayjs": "^1.11.7", "eslint": "^8.53.0", - "eslint-config-prettier": "^9.0.0", "eslint-plugin-deprecation": "^2.0.0", "globals": "^15.1.0", "jasmine-core": "~5.1.0", @@ -61,12 +56,6 @@ "prettier": "~3.2.0", "prettier-plugin-organize-imports": "^3.2.3", "typescript": "~5.4.0", - "typescript-eslint": "^7.0.0" - }, - "overrides": { - "@angular/cli": "~18.0.0", - "@angular/common": "~18.0.0", - "@angular/core": "~18.0.0", - "@angular/platform-browser": "~18.0.0" + "typescript-eslint": "^8.0.0-alpha.20" } }