Skip to content

Commit 9da0674

Browse files
authored
Alphabetized file-specific configs by extension
1 parent f58e51f commit 9da0674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)