Skip to content

Commit

Permalink
Alphabetized file-specific configs by extension
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Jan 12, 2025
1 parent 318822a commit c0e1879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default [
}
},
{ files: ['**/chatgpt.js'], languageOptions: { globals: { chatgpt: 'off' }}},
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
{ files: ['**/*.json'], language: 'json/json', ...json.configs.recommended },
{
files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown },
Expand All @@ -52,5 +51,6 @@ export default [
'markdown/no-missing-label-refs': 'off' // allow missing label references
}
},
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
]

0 comments on commit c0e1879

Please sign in to comment.