From 9dc48ff0e1ab7ec4b29c5bf3994f2d392116f157 Mon Sep 17 00:00:00 2001 From: Rolando Bosch Date: Wed, 25 Feb 2026 01:17:44 -0800 Subject: [PATCH] fix: add ESLint v10 to peerDependencies Widen the eslint peerDependencies range from `^8 || ^9` to `^8 || ^9 || ^10` so the plugin installs cleanly with ESLint 10. All rules already use the modern `context.sourceCode` / `sourceCode.getScope` APIs with fallbacks, so no runtime changes are needed. Closes #680 Co-Authored-By: Claude Opus 4.6 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 91853ba6..49cb890d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "npm-run-all": "^4.1.5" }, "peerDependencies": { - "eslint": "^8 || ^9" + "eslint": "^8 || ^9 || ^10" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index e8da7360..d4cea04d 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "prettier": "@github/prettier-config", "browserslist": "extends @github/browserslist-config", "peerDependencies": { - "eslint": "^8 || ^9" + "eslint": "^8 || ^9 || ^10" }, "files": [ "bin/*",