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/*",