Skip to content

Commit 1d1e833

Browse files
authored
Merge pull request #343 from github/allow-.server.ext]-file-extension
allow `.prefix.ext` file extension
2 parents d4d7e7f + b7029db commit 1d1e833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configs/recommended.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
'eslint-comments/no-unused-disable': 'error',
1919
'eslint-comments/no-unused-enable': 'error',
2020
'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
21-
'filenames/match-regex': ['error', '^[a-z0-9-]+(.d|.config)?$'],
21+
'filenames/match-regex': ['error', '^[a-z0-9-]+(.d|.config|.server)?$'],
2222
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
2323
'github/array-foreach': 'error',
2424
'github/no-implicit-buggy-globals': 'error',

0 commit comments

Comments
 (0)