Skip to content

Commit

Permalink
update filenames key
Browse files Browse the repository at this point in the history
  • Loading branch information
gracepark committed Nov 15, 2024
1 parent 3cf39da commit b815887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/configs/flat/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
},
},
plugins: {
filenames: fixupPluginRules(filenames),
filenamesPlugin: fixupPluginRules(filenames),
prettierPlugin,
eslintComments,
importPlugin,
Expand All @@ -34,7 +34,7 @@ module.exports = {
'eslintComments/no-unused-disable': 'error',
'eslintComments/no-unused-enable': 'error',
'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
'filenamesPlugin/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
'github/array-foreach': 'error',
'github/no-implicit-buggy-globals': 'error',
Expand Down

0 comments on commit b815887

Please sign in to comment.