Skip to content

Commit b815887

Browse files
committed
update filenames key
1 parent 3cf39da commit b815887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/configs/flat/recommended.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
},
1818
},
1919
plugins: {
20-
filenames: fixupPluginRules(filenames),
20+
filenamesPlugin: 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+
'filenamesPlugin/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',

0 commit comments

Comments
 (0)