Skip to content

Commit 3cf39da

Browse files
committed
update to latest to compat for filenames fix
1 parent 1747fdb commit 3cf39da

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/configs/flat/recommended.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
},
1818
},
1919
plugins: {
20-
filenames,
20+
filenames: fixupPluginRules(filenames),
2121
prettierPlugin,
2222
eslintComments,
2323
importPlugin,
@@ -34,7 +34,7 @@ module.exports = {
3434
'eslintComments/no-unused-disable': 'error',
3535
'eslintComments/no-unused-enable': 'error',
3636
'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
37-
// 'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
37+
'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
3838
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
3939
'github/array-foreach': 'error',
4040
'github/no-implicit-buggy-globals': 'error',

package-lock.json

Lines changed: 4 additions & 4 deletions
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
@@ -31,7 +31,7 @@
3131
},
3232
"homepage": "https://github.com/github/eslint-plugin-github#readme",
3333
"dependencies": {
34-
"@eslint/compat": "^1.2.2",
34+
"@eslint/compat": "^1.2.3",
3535
"@eslint/eslintrc": "^3.1.0",
3636
"@eslint/js": "^9.14.0",
3737
"@github/browserslist-config": "^1.0.0",

0 commit comments

Comments
 (0)