Skip to content

Commit

Permalink
Moved ignores from JSON config to own top-level block for improved …
Browse files Browse the repository at this point in the history
…performance ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 29, 2024
1 parent cb732a1 commit ed39714
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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' }},
Expand All @@ -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: {
Expand Down

0 comments on commit ed39714

Please sign in to comment.