Skip to content

Commit

Permalink
separate ignores in eslint config
Browse files Browse the repository at this point in the history
That's the only way for it to act as a global eslintignore
  • Loading branch information
plbstl committed Jan 17, 2025
1 parent 42a98e4 commit ec2e422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export default ts.config(
// Custom config
{
ignores: ['**/build/**', '**/dist/**', '**/node_modules/**', 'eslint.config.js'],
},
{
files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
languageOptions: {
parser: ts.parser,
Expand Down

0 comments on commit ec2e422

Please sign in to comment.