Skip to content

Commit

Permalink
chore: Isolate global ignores on eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
manferlo81 committed Feb 6, 2025
1 parent d611c2e commit 6cfcd11
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ const typescriptPluginConfig = config(
);

export default config(
{
files: ['**/*.{js,mjs,cjs,ts}'],
ignores: ['dist', 'coverage'],
languageOptions: { globals: { ...globals.browser, ...globals.node } },
},
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ ignores: ['dist', 'coverage'] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
javascriptPluginConfig,
stylisticPluginConfig,
typescriptPluginConfig,
Expand Down

0 comments on commit 6cfcd11

Please sign in to comment.