Skip to content

Commit

Permalink
fix(template-typescript-webpack): lint tsx files by default (#2403)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jul 25, 2021
1 parent 403b5f9 commit c2e6c49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TypeScriptWebpackTemplate extends BaseTemplate {
]);

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

await fs.writeJson(packageJSONPath, packageJSON, { spaces: 2 });
});
Expand Down

0 comments on commit c2e6c49

Please sign in to comment.