Skip to content

Commit

Permalink
Condensed file patterns ↞ [auto-sync from https://github.com/adamlui/…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 12, 2025
1 parent 589d156 commit 374bde7
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 @@ -8,7 +8,7 @@ import yml from 'eslint-plugin-yml'
export default [
{ ignores: ['**/package-lock.json'] },
{
files: ['**/*.js', '**/*.mjs'],
files: ['**/*.{js,mjs}'],
languageOptions: { ecmaVersion: 'latest', sourceType: 'script', globals: { chrome: 'readonly' }},
plugins: { 'import': importPlugin, 'js-styles': stylisticJS },
rules: {
Expand Down Expand Up @@ -41,5 +41,5 @@ export default [
}
},
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
{ files: ['**/*.{yaml,yml}'], ...yml.configs['flat/standard'][1] }
]

0 comments on commit 374bde7

Please sign in to comment.