Skip to content

chore(deps): update dependency eslint to v10#435

Open
WolfSoko wants to merge 1 commit intomainfrom
renovate-github/major-eslint-monorepo
Open

chore(deps): update dependency eslint to v10#435
WolfSoko wants to merge 1 commit intomainfrom
renovate-github/major-eslint-monorepo

Conversation

@WolfSoko
Copy link
Copy Markdown
Owner

@WolfSoko WolfSoko commented Nov 5, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
eslint (source) 8.57.110.1.0 age confidence

Release Notes

eslint/eslint (eslint)

v10.1.0

Compare Source

Features

  • ff4382b feat: apply fix for no-var in TSModuleBlock (#​20638) (Tanuj Kanti)
  • 0916995 feat: Implement api support for bulk-suppressions (#​20565) (Blake Sager)

Bug Fixes

  • 2b8824e fix: Prevent no-var autofix when a variable is used before declaration (#​20464) (Amaresh S M)
  • e58b4bf fix: update eslint (#​20597) (renovate[bot])

Documentation

  • b7b57fe docs: use correct JSDoc link in require-jsdoc.md (#​20641) (mkemna-clb)
  • 58e4cfc docs: add deprecation notice partial (#​20639) (Milos Djermanovic)
  • 7143dbf docs: update v9 migration guide for @eslint/js usage (#​20540) (fnx)
  • 035fc4f docs: note that globalReturn applies only with sourceType: "script" (#​20630) (Milos Djermanovic)
  • e972c88 docs: merge ESLint option descriptions into type definitions (#​20608) (Francesco Trotta)
  • 7f10d84 docs: Update README (GitHub Actions Bot)
  • aeed007 docs: open playground link in new tab (#​20602) (Tanuj Kanti)
  • a0d1a37 docs: Add AI Usage Policy (#​20510) (Nicholas C. Zakas)

Chores

v10.0.3

Compare Source

Bug Fixes

Documentation

  • 9fc31b0 docs: Update README (GitHub Actions Bot)
  • 4efaa36 docs: add info box for eslint-plugin-eslint-comments (#​20570) (DesselBane)
  • 23b2759 docs: add v10 migration guide link to Use docs index (#​20577) (Pixel998)
  • 80259a9 docs: Remove deprecated eslintrc documentation files (#​20472) (Copilot)
  • 9b9b4ba docs: fix typo in no-await-in-loop documentation (#​20575) (Pixel998)
  • e7d72a7 docs: document TypeScript 5.3 minimum supported version (#​20547) (sethamus)

Chores

  • ef8fb92 chore: package.json update for eslint-config-eslint release (Jenkins)
  • e8f2104 chore: updates for v9.39.4 release (Jenkins)
  • 5cd1604 refactor: simplify isCombiningCharacter helper (#​20524) (Huáng Jùnliàng)
  • 70ff1d0 chore: eslint-config-eslint require Node ^20.19.0 || ^22.13.0 || >=24 (#​20586) (Milos Djermanovic)
  • e32df71 chore: update eslint-plugin-eslint-comments, remove legacy-peer-deps (#​20576) (Milos Djermanovic)
  • 53ca6ee chore: disable eslint-comments/no-unused-disable rule (#​20578) (Milos Djermanovic)
  • e121895 ci: pin Node.js 25.6.1 (#​20559) (Milos Djermanovic)
  • efc5aef chore: update tsconfig.json in eslint-config-eslint (#​20551) (Francesco Trotta)

v10.0.2

Compare Source

Bug Fixes

  • 2b72361 fix: update ajv to 6.14.0 to address security vulnerabilities (#​20537) (루밀LuMir)

Documentation

  • 13eeedb docs: link rule type explanation to CLI option --fix-type (#​20548) (Mike McCready)
  • 98cbf6b docs: update migration guide per Program range change (#​20534) (Huáng Jùnliàng)
  • 61a2405 docs: add missing semicolon in vars-on-top rule example (#​20533) (Abilash)

Chores

v10.0.1

Compare Source

Bug Fixes

Documentation

  • 5b3dbce docs: add AI acknowledgement section to templates (#​20431) (루밀LuMir)
  • 6f23076 docs: toggle nav in no-JS mode (#​20476) (Tanuj Kanti)
  • b69cfb3 docs: Update README (GitHub Actions Bot)

Chores

v10.0.0

Compare Source

Breaking Changes

  • f9e54f4 feat!: estimate rule-tester failure location (#​20420) (ST-DDT)
  • a176319 feat!: replace chalk with styleText and add color to ResultsMeta (#​20227) (루밀LuMir)
  • c7046e6 feat!: enable JSX reference tracking (#​20152) (Pixel998)
  • fa31a60 feat!: add name to configs (#​20015) (Kirk Waiblinger)
  • 3383e7e fix!: remove deprecated SourceCode methods (#​20137) (Pixel998)
  • 501abd0 feat!: update dependency minimatch to v10 (#​20246) (renovate[bot])
  • ca4d3b4 fix!: stricter rule tester assertions for valid test cases (#​20125) (唯然)
  • 96512a6 fix!: Remove deprecated rule context methods (#​20086) (Nicholas C. Zakas)
  • c69fdac feat!: remove eslintrc support (#​20037) (Francesco Trotta)
  • 208b5cc feat!: Use ScopeManager#addGlobals() (#​20132) (Milos Djermanovic)
  • a2ee188 fix!: add uniqueItems: true in no-invalid-regexp option (#​20155) (Tanuj Kanti)
  • a89059d feat!: Program range span entire source text (#​20133) (Pixel998)
  • 39a6424 fix!: assert 'text' is a string across all RuleFixer methods (#​20082) (Pixel998)
  • f28fbf8 fix!: Deprecate "always" and "as-needed" options of the radix rule (#​20223) (Milos Djermanovic)
  • aa3fb2b fix!: tighten func-names schema (#​20119) (Pixel998)
  • f6c0ed0 feat!: report eslint-env comments as errors (#​20128) (Francesco Trotta)
  • 4bf739f fix!: remove deprecated LintMessage#nodeType and TestCaseError#type (#​20096) (Pixel998)
  • 523c076 feat!: drop support for jiti < 2.2.0 (#​20016) (michael faith)
  • 454a292 feat!: update eslint:recommended configuration (#​20210) (Pixel998)
  • 4f880ee feat!: remove v10_* and inactive unstable_* flags (#​20225) (sethamus)
  • f18115c feat!: no-shadow-restricted-names report globalThis by default (#​20027) (sethamus)
  • c6358c3 feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#​20160) (Milos Djermanovic)

Features

  • bff9091 feat: handle Array.fromAsync in array-callback-return (#​20457) (Francesco Trotta)
  • 290c594 feat: add self to no-implied-eval rule (#​20468) (sethamus)
  • 43677de feat: fix handling of function and class expression names in no-shadow (#​20432) (Milos Djermanovic)
  • f0cafe5 feat: rule tester add assertion option requireData (#​20409) (fnx)
  • f7ab693 feat: output RuleTester test case failure index (#​19976) (ST-DDT)
  • 7cbcbf9 feat: add countThis option to max-params (#​20236) (Gerkin)
  • f148a5e feat: add error assertion options (#​20247) (ST-DDT)
  • 09e6654 feat: update error loc of require-yield and no-useless-constructor (#​20267) (Tanuj Kanti)

Bug Fixes

  • 436b82f fix: update eslint (#​20473) (renovate[bot])
  • 1d29d22 fix: detect default this binding in Array.fromAsync callbacks (#​20456) (Francesco Trotta)
  • 727451e fix: fix regression of global mode report range in strict rule (#​20462) (ntnyq)
  • e80485f fix: remove fake FlatESLint and LegacyESLint exports (#​20460) (Francesco Trotta)
  • 9eeff3b fix: update esquery (#​20423) (cryptnix)
  • b34b938 fix: use Error.prepareStackTrace to estimate failing test location (#​20436) (Francesco Trotta)
  • 51aab53 fix: update eslint (#​20443) (renovate[bot])
  • 23490b2 fix: handle space before colon in RuleTester location estimation (#​20433) (Francesco Trotta)
  • f244dbf fix: use MessagePlaceholderData type from @eslint/core (#​20348) (루밀LuMir)
  • d186f8c fix: update eslint (#​20427) (renovate[bot])
  • 2332262 fix: error location should not modify error message in RuleTester (#​20421) (Milos Djermanovic)
  • ab99b21 fix: ensure filename is passed as third argument to verifyAndFix() (#​20405) (루밀LuMir)
  • 8a60f3b fix: remove ecmaVersion and sourceType from ParserOptions type (#​20415) (Pixel998)
  • eafd727 fix: remove TDZ scope type (#​20231) (jaymarvelz)
  • 39d1f51 fix: correct Scope typings (#​20404) (sethamus)
  • 2bd0f13 fix: update verify and verifyAndFix types (#​20384) (Francesco Trotta)
  • ba6ebfa fix: correct typings for loadESLint() and shouldUseFlatConfig() (#​20393) (루밀LuMir)
  • e7673ae fix: correct RuleTester typings (#​20105) (Pixel998)
  • 53e9522 fix: strict removed formatters check (#​20241) (ntnyq)
  • b017f09 fix: correct no-restricted-import messages (#​20374) (Francesco Trotta)

Documentation

  • e978dda docs: Update README (GitHub Actions Bot)
  • 4cecf83 docs: Update README (GitHub Actions Bot)
  • c79f0ab docs: Update README (GitHub Actions Bot)
  • 773c052 docs: Update README (GitHub Actions Bot)
  • f2962e4 docs: document meta.docs.frozen property (#​20475) (Pixel998)
  • 8e94f58 docs: fix broken anchor links from gerund heading updates (#​20449) (Copilot)
  • 1495654 docs: Update README (GitHub Actions Bot)
  • 0b8ed5c docs: document support for :is selector alias (#​20454) (sethamus)
  • 1c4b33f docs: Document policies about ESM-only dependencies (#​20448) (Milos Djermanovic)
  • 3e5d38c docs: add missing indentation space in rule example (#​20446) (fnx)
  • 63a0c7c docs: Update README (GitHub Actions Bot)
  • 65ed0c9 docs: Update README (GitHub Actions Bot)
  • b0e4717 docs: [no-await-in-loop] Expand inapplicability (#​20363) (Niklas Hambüchen)
  • fca421f docs: Update README (GitHub Actions Bot)
  • d925c54 docs: update config syntax in no-lone-blocks (#​20413) (Pixel998)
  • 7d5c95f docs: remove redundant sourceType: "module" from rule examples (#​20412) (Pixel998)
  • 02e7e71 docs: correct .mts glob pattern in files with extensions example (#​20403) (Ali Essalihi)
  • 264b981 docs: Update README (GitHub Actions Bot)
  • 5a4324f docs: clarify "local" option of no-unused-vars (#​20385) (Milos Djermanovic)
  • e593aa0 docs: improve clarity, grammar, and wording in documentation site README (#​20370) (Aditya)
  • 3f5062e docs: Add messages property to rule meta documentation (#​20361) (Sabya Sachi)
  • 9e5a5c2 docs: remove Examples headings from rule docs (#​20364) (Milos Djermanovic)
  • 194f488 docs: Update README (GitHub Actions Bot)
  • 0f5a94a docs: [class-methods-use-this] explain purpose of rule (#​20008) (Kirk Waiblinger)
  • df5566f docs: add Options section to all rule docs (#​20296) (sethamus)
  • adf7a2b docs: no-unsafe-finally note for generator functions (#​20330) (Tom Pereira)
  • ef7028c docs: Update README (GitHub Actions Bot)
  • fbae5d1 docs: consistently use "v10.0.0" in migration guide (#​20328) (Pixel998)
  • 778aa2d docs: ignoring default file patterns (#​20312) (Tanuj Kanti)
  • 4b5dbcd docs: reorder v10 migration guide (#​20315) (Milos Djermanovic)
  • 5d84a73 docs: Update README (GitHub Actions Bot)
  • 37c8863 docs: fix incorrect anchor link in v10 migration guide (#​20299) (Pixel998)
  • 077ff02 docs: add migrate-to-10.0.0 doc (#​20143) (唯然)
  • 3822e1b docs: Update README (GitHub Actions Bot)

Build Related

  • 9f08712 Build: changelog update for 10.0.0-rc.2 (Jenkins)
  • 1e2c449 Build: changelog update for 10.0.0-rc.1 (Jenkins)
  • c4c72a8 Build: changelog update for 10.0.0-rc.0 (Jenkins)
  • 7e4daf9 Build: changelog update for 10.0.0-beta.0 (Jenkins)
  • a126a2a build: add .scss files entry to knip (#​20389) (Francesco Trotta)
  • f5c0193 Build: changelog update for 10.0.0-alpha.1 (Jenkins)
  • 165326f Build: changelog update for 10.0.0-alpha.0 (Jenkins)

Chores

v9.39.4

Compare Source

Bug Fixes

Documentation

Chores

v9.39.3

Compare Source

Bug Fixes

  • 791bf8d fix: restore TypeScript 4.0 compatibility in types (#​20504) (sethamus)

Chores

v9.39.2

Compare Source

Bug Fixes

  • 5705833 fix: warn when eslint-env configuration comments are found (#​20381) (sethamus)

Build Related

Chores

v9.39.1

Compare Source

Bug Fixes

  • 650753e fix: Only pass node to JS lang visitor methods (#​20283) (Nicholas C. Zakas)

Documentation

  • 51b51f4 docs: add a section on when to use extends vs cascading (#​20268) (Tanuj Kanti)
  • b44d426 docs: Update README (GitHub Actions Bot)

Chores

v9.39.0

Compare Source

Features

  • cc57d87 feat: update error loc to key in no-dupe-class-members (#​20259) (Tanuj Kanti)
  • 126552f feat: update error location in for-direction and no-dupe-args (#​20258) (Tanuj Kanti)
  • 167d097 feat: update complexity rule to highlight only static block header (#​20245) (jaymarvelz)

Bug Fixes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@WolfSoko WolfSoko enabled auto-merge (rebase) November 5, 2024 19:05
@WolfSoko WolfSoko self-assigned this Nov 5, 2024
@WolfSoko
Copy link
Copy Markdown
Owner Author

WolfSoko commented Nov 5, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-eslint/eslint-plugin@17.0.1
npm error Found: eslint@10.1.0
npm error node_modules/eslint
npm error   dev eslint@"10.1.0" from the root project
npm error   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm error   node_modules/@eslint-community/eslint-utils
npm error     @eslint-community/eslint-utils@"^4.4.0" from @typescript-eslint/utils@6.21.0
npm error     node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils
npm error       @typescript-eslint/utils@"6.21.0" from @typescript-eslint/eslint-plugin@6.21.0
npm error       node_modules/@typescript-eslint/eslint-plugin
npm error         dev @typescript-eslint/eslint-plugin@"6.21.0" from the root project
npm error         1 more (eslint-plugin-unused-imports)
npm error       1 more (@typescript-eslint/type-utils)
npm error     @eslint-community/eslint-utils@"^4.4.0" from @typescript-eslint/utils@6.10.0
npm error     node_modules/@typescript-eslint/utils
npm error       @typescript-eslint/utils@"6.10.0" from @angular-eslint/eslint-plugin@17.0.1
npm error       node_modules/@angular-eslint/eslint-plugin
npm error         dev @angular-eslint/eslint-plugin@"17.0.1" from the root project
npm error       4 more (@angular-eslint/eslint-plugin-template, ...)
npm error   7 more (@typescript-eslint/experimental-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^7.20.0 || ^8.0.0" from @angular-eslint/eslint-plugin@17.0.1
npm error node_modules/@angular-eslint/eslint-plugin
npm error   dev @angular-eslint/eslint-plugin@"17.0.1" from the root project
npm error
npm error Conflicting peer dependency: eslint@8.57.1
npm error node_modules/eslint
npm error   peer eslint@"^7.20.0 || ^8.0.0" from @angular-eslint/eslint-plugin@17.0.1
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"17.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2026-03-26T15_31_43_461Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-03-26T15_31_43_461Z-debug-0.log

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Nov 5, 2024

View your CI Pipeline Execution ↗ for commit 503f8f3


☁️ Nx Cloud last updated this comment at 2026-03-26 15:32:23 UTC

@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 8 times, most recently from 4138c7e to 71ca7b4 Compare November 11, 2024 20:24
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 14 times, most recently from d8bd02d to 0200376 Compare November 21, 2024 00:37
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 3 times, most recently from 2b464ff to 4c2e8b8 Compare November 25, 2024 21:24
@WolfSoko WolfSoko changed the title chore(deps): update dependency eslint to v9 - autoclosed chore(deps): update dependency eslint to v9 Dec 8, 2024
@WolfSoko WolfSoko reopened this Dec 8, 2024
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch from d71ee24 to 29478b5 Compare December 8, 2024 19:05
@WolfSoko WolfSoko enabled auto-merge (rebase) December 8, 2024 19:21
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 5 times, most recently from 42faaf7 to 2000b61 Compare December 15, 2024 16:05
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 2 times, most recently from 2ae25cb to 83af45f Compare December 18, 2024 19:08
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 5 times, most recently from 0ef98b2 to 91d0349 Compare January 3, 2025 06:50
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 5 times, most recently from f95d810 to c2bc8d9 Compare January 14, 2025 11:22
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch 5 times, most recently from be6e66e to baa3b50 Compare January 21, 2025 17:23
@WolfSoko WolfSoko force-pushed the renovate-github/major-eslint-monorepo branch from baa3b50 to 1431410 Compare January 22, 2025 16:50
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 20, 2026

Warning

Rate limit exceeded

@WolfSoko has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a5adf237-ebf1-4176-bab1-3e1fbdc4d893

📥 Commits

Reviewing files that changed from the base of the PR and between 54d927e and 503f8f3.

📒 Files selected for processing (1)
  • package.json
📝 Walkthrough

Walkthrough

Die Entwicklungsabhängigkeit eslint wurde in package.json von Version 8.57.1 auf 10.1.0 aktualisiert. Alle anderen Linting-bezogenen Pakete wie @typescript-eslint/*, eslint-config-prettier und eslint-plugin-* bleiben unverändert.

Changes

Cohort / File(s) Zusammenfassung
Abhängigkeitsaktualisierung
package.json
ESLint Hauptversion von 8.x auf 10.x erhöht; keine Änderungen an verwandten Linting-Tools.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 Minuten

Poem

🐰 Hopf hopf, ein Update fein,
ESLint zehn soll es nun sein,
Vom Acht zum Zehn, die Version springt,
Der Code wird prüfend besser klingt! 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Der Titel beschreibt die Hauptänderung des Changesets präzise: die Aktualisierung von ESLint auf Version 10.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate-github/major-eslint-monorepo

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 51: Die Abhängigkeit "eslint" im package.json ist auf "10.1.0" gesetzt,
was mit den Peer-Ranges von `@angular-eslint/eslint-plugin` (v17.0.1) und
`@typescript-eslint/`* (v6.21.0) inkompatibel ist; ändere den Wert der
"eslint"-Zeile (das JSON-Schlüsselwort "eslint") auf eine 8.x-kompatible Version
(z. B. "^8.0.0" oder eine konkrete 8.x-Version) und führe anschließend die
Paketinstallation/Lockfile-Aktualisierung (npm install / yarn install) durch,
damit das Lockfile neu geschrieben und ERESOLVE-Fehler beseitigt werden.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 026c17f9-efae-4bf1-ab4e-0c1d14aef3ba

📥 Commits

Reviewing files that changed from the base of the PR and between 9260119 and 54d927e.

📒 Files selected for processing (1)
  • package.json

"@typescript-eslint/parser": "6.21.0",
"cypress": "^13.5.1",
"eslint": "8.57.1",
"eslint": "10.1.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verifiziert read-only die tatsächlich veröffentlichten peerDependencies in npm
# und vergleicht sie mit der im Repo gesetzten eslint-Version.

python - <<'PY'
import json, urllib.request

with open("package.json", "r", encoding="utf-8") as f:
    pkg = json.load(f)

dev = pkg.get("devDependencies", {})
eslint_version = dev.get("eslint")
targets = [
    "@angular-eslint/eslint-plugin",
    "@angular-eslint/eslint-plugin-template",
    "@typescript-eslint/eslint-plugin",
    "@typescript-eslint/parser",
]

print(f"Projekt eslint: {eslint_version}\n")
for name in targets:
    ver = dev.get(name)
    if not ver:
        continue
    encoded = name.replace("/", "%2f")
    url = f"https://registry.npmjs.org/{encoded}/{ver}"
    try:
        with urllib.request.urlopen(url, timeout=20) as r:
            data = json.load(r)
        peer = (data.get("peerDependencies") or {}).get("eslint")
        print(f"{name}@{ver} -> peer eslint: {peer}")
    except Exception as e:
        print(f"{name}@{ver} -> Fehler beim Abruf: {e}")
PY

Repository: WolfSoko/nx-clean

Length of output: 840


🏁 Script executed:

# Exakte Versionen und Lock-Dateien prüfen
grep -n "eslint\|@angular-eslint\|@typescript-eslint" package.json | head -20
echo "---"
ls -la package-lock.json yarn.lock 2>/dev/null || echo "Keine Lock-Datei gefunden"

Repository: WolfSoko/nx-clean

Length of output: 927


🌐 Web query:

@angular-eslint/eslint-plugin@17.0.1 ESLint peer dependency requirements

💡 Result:

@angular-eslint/eslint-plugin@17.0.1 declares these peerDependencies: eslint ^7.20.0 || ^8.0.0 and typescript *. [1]

Source(s):

Citations:


🌐 Web query:

@typescript-eslint/eslint-plugin@6.21.0 ESLint peer dependency

💡 Result:

@typescript-eslint/eslint-plugin@6.21.0 declares this ESLint peer dependency range:

  • eslint: ^7.0.0 || ^8.0.0 [1]

(For completeness, it also peers on @typescript-eslint/parser: ^6.0.0 || ^6.0.0-alpha.) [1]


Peer-Dependency-Konflikt blockiert Installation und Lockfile-Update

Line 51 setzt eslint auf 10.1.0, während die Lint-Pakete @angular-eslint/eslint-plugin@17.0.1 und @typescript-eslint/*@6.21.0 nur ESLint ^7.20.0 || ^8.0.0 bzw. ^7.0.0 || ^8.0.0 akzeptieren. Version 10.1.0 liegt außerhalb beider Ranges und verursacht ERESOLVE-Fehler bei Install/Lockfile-Update. Der PR ist in dieser Form nicht mergebar.

🔧 Fix: ESLint auf kompatible 8.x-Version zurücksetzen
-    "eslint": "10.1.0",
+    "eslint": "8.57.1",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"eslint": "10.1.0",
"eslint": "8.57.1",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 51, Die Abhängigkeit "eslint" im package.json ist auf
"10.1.0" gesetzt, was mit den Peer-Ranges von `@angular-eslint/eslint-plugin`
(v17.0.1) und `@typescript-eslint/`* (v6.21.0) inkompatibel ist; ändere den Wert
der "eslint"-Zeile (das JSON-Schlüsselwort "eslint") auf eine 8.x-kompatible
Version (z. B. "^8.0.0" oder eine konkrete 8.x-Version) und führe anschließend
die Paketinstallation/Lockfile-Aktualisierung (npm install / yarn install)
durch, damit das Lockfile neu geschrieben und ERESOLVE-Fehler beseitigt werden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants