Skip to content

Commit

Permalink
fix: global ignores needs to be in a separate object without any ot…
Browse files Browse the repository at this point in the history
…her keys
  • Loading branch information
haoqunjiang committed Oct 5, 2024
1 parent 2eefee9 commit d1d859f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/eslint.config.mjs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ export default [
{
name: 'app/files-to-lint',
files: ['**/*.{<%= fileExtensions.join(',') %>}'],
},

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
},

Expand Down

0 comments on commit d1d859f

Please sign in to comment.