From 7841262fd6e6350144bc01ddddcc4573ecd7b2da Mon Sep 17 00:00:00 2001 From: Adam Lui Date: Sun, 12 Jan 2025 15:43:30 -0800 Subject: [PATCH] Condensed file patterns --- eslint.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index f554203..c7196da 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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 } }, @@ -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] } ]