Skip to content

Commit 47deb47

Browse files
committed
Alphabetized file-specific configs by extension ↞ [auto-sync from https://github.com/adamlui/chatgpt-infinity]
1 parent c17b660 commit 47deb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chatgpt-infinity/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export default [
4141
}
4242
},
4343
{ files: ['**/chatgpt.js'], languageOptions: { globals: { chatgpt: 'off' }}},
44-
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
4544
{ files: ['**/*.json'], language: 'json/json', ...json.configs.recommended },
4645
{
4746
files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown },
@@ -52,5 +51,6 @@ export default [
5251
'markdown/no-missing-label-refs': 'off' // allow missing label references
5352
}
5453
},
54+
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
5555
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
5656
]

0 commit comments

Comments
 (0)