diff --git a/eslint.config.mjs b/eslint.config.mjs index e71dde9..2f9c0e9 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -6,6 +6,7 @@ import stylisticJS from '@stylistic/eslint-plugin-js' import yml from 'eslint-plugin-yml' export default [ + { ignores: ['**/package-lock.json'] }, { files: ['**/*.js', '**/*.mjs'], languageOptions: { ecmaVersion: 'latest', sourceType: 'script', globals: { chrome: 'readonly' }}, @@ -30,7 +31,7 @@ export default [ } }, { files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }}, - { files: ['**/*.json'], ignores: ['**/package-lock.json'], language: 'json/json', ...json.configs.recommended }, + { files: ['**/*.json'], language: 'json/json', ...json.configs.recommended }, { files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown }, rules: {