Skip to content

Commit 8f643bb

Browse files
committed
fix: eslint ignore
1 parent 4617a72 commit 8f643bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

template/eslint/eslint.config.js.ejs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ import prettier from 'eslint-config-prettier';
1010
<%_ if (needsTypeScript) { _%>
1111
const config = [
1212
{
13-
files: ['**/*.js', '**/*.ts'],
1413
<%_ if (needsVitest) { _%>
15-
ignores: ['dist/**/*', 'coverage/**/*'],
14+
ignores: ['dist/', 'coverage/'],
1615
<%_ } else { _%>
17-
ignores: ['dist/**/*'],
16+
ignores: ['dist/'],
1817
<%_ } _%>
18+
},
19+
{
20+
files: ['**/*.js', '**/*.ts'],
1921
linterOptions: {
2022
reportUnusedDisableDirectives: true,
2123
},

0 commit comments

Comments
 (0)