Skip to content

Commit fe11575

Browse files
committed
Support ESLint 10: widen peer range and fix eslint-comments in flat recommended config
1 parent 2dcfb60 commit fe11575

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/configs/flat/recommended.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
},
1818
plugins: {
1919
prettier: prettierPlugin,
20-
'eslint-comments': eslintComments,
20+
'eslint-comments': fixupPluginRules(eslintComments),
2121
import: importPlugin,
2222
'i18n-text': fixupPluginRules(i18nTextPlugin),
2323
'no-only-tests': noOnlyTestsPlugin,

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"prettier": "@github/prettier-config",
6060
"browserslist": "extends @github/browserslist-config",
6161
"peerDependencies": {
62-
"eslint": "^8 || ^9"
62+
"eslint": "^8 || ^9 || ^10"
6363
},
6464
"files": [
6565
"bin/*",

0 commit comments

Comments
 (0)