Skip to content

Commit

Permalink
Condensed file patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Jan 12, 2025
1 parent 1c2a6fd commit 7841262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import yml from 'eslint-plugin-yml'
export default [
{ ignores: ['**/package-lock.json'] },
{
files: ['**/*.js', '**/*.mjs'],
files: ['**/*.{js,mjs}'],
plugins: { 'import': importPlugin },
rules: { ...importPlugin.flatConfigs.recommended.rules }
},
Expand All @@ -20,5 +20,5 @@ export default [
'markdown/no-missing-label-refs': 'off' // allow missing label references
}
},
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
{ files: ['**/*.{yaml,yml}'], ...yml.configs['flat/standard'][1] }
]

0 comments on commit 7841262

Please sign in to comment.