Skip to content

Commit c2e6c49

Browse files
authored
fix(template-typescript-webpack): lint tsx files by default (#2403)
1 parent 403b5f9 commit c2e6c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TypeScriptWebpackTemplate extends BaseTemplate {
3131
]);
3232

3333
// Configure scripts for TS template
34-
packageJSON.scripts.lint = 'eslint --ext .ts .';
34+
packageJSON.scripts.lint = 'eslint --ext .ts,.tsx .';
3535

3636
await fs.writeJson(packageJSONPath, packageJSON, { spaces: 2 });
3737
});

0 commit comments

Comments
 (0)