From fe11575a216b55df333dd154da0f59f2fc1415ca Mon Sep 17 00:00:00 2001 From: alaingoga Date: Mon, 6 Jul 2026 11:48:16 -0400 Subject: [PATCH] Support ESLint 10: widen peer range and fix eslint-comments in flat recommended config --- lib/configs/flat/recommended.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/configs/flat/recommended.js b/lib/configs/flat/recommended.js index 02113bc1..b0cbd442 100644 --- a/lib/configs/flat/recommended.js +++ b/lib/configs/flat/recommended.js @@ -17,7 +17,7 @@ export default { }, plugins: { prettier: prettierPlugin, - 'eslint-comments': eslintComments, + 'eslint-comments': fixupPluginRules(eslintComments), import: importPlugin, 'i18n-text': fixupPluginRules(i18nTextPlugin), 'no-only-tests': noOnlyTestsPlugin, diff --git a/package-lock.json b/package-lock.json index c9d3440c..50bbafb4 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 7b5ceb1c..2b2881bf 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/*",