Skip to content

Commit 374bde7

Browse files
committed
1 parent 589d156 commit 374bde7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import yml from 'eslint-plugin-yml'
88
export default [
99
{ ignores: ['**/package-lock.json'] },
1010
{
11-
files: ['**/*.js', '**/*.mjs'],
11+
files: ['**/*.{js,mjs}'],
1212
languageOptions: { ecmaVersion: 'latest', sourceType: 'script', globals: { chrome: 'readonly' }},
1313
plugins: { 'import': importPlugin, 'js-styles': stylisticJS },
1414
rules: {
@@ -41,5 +41,5 @@ export default [
4141
}
4242
},
4343
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
44-
{ files: ['**/*.yaml, **/*.yml'], ...yml.configs['flat/standard'][1] }
44+
{ files: ['**/*.{yaml,yml}'], ...yml.configs['flat/standard'][1] }
4545
]

0 commit comments

Comments
 (0)