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 ef6faed commit 05b41b7
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 [
'no-unused-vars': ['error', { 'caughtErrors': 'none' }] // allow unused named args in catch blocks
}
},
{ 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 05b41b7

Please sign in to comment.