Skip to content

Commit d4682ce

Browse files
authored
Alphabetized file-specific configs by extension
1 parent 95b6add commit d4682ce

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
@@ -40,7 +40,6 @@ export default [
4040
}
4141
},
4242
{ files: ['**/chatgpt.js'], languageOptions: { globals: { chatgpt: 'off' }}},
43-
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
4443
{ files: ['**/*.json'], language: 'json/json', ...json.configs.recommended },
4544
{
4645
files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown },
@@ -51,5 +50,6 @@ export default [
5150
'markdown/no-missing-label-refs': 'off' // allow missing label references
5251
}
5352
},
53+
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
5454
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
5555
]

0 commit comments

Comments
 (0)