microsoft / TypeScript-Node-Starter

A reference example for TypeScript and Node with a detailed README describing how to use the two together.
MIT License
11.31k stars 2.77k forks source link

Pre-commit hook for ts-lint #189

Closed vinayakvinay closed 5 years ago

vinayakvinay commented 5 years ago

Added a pre-commit hook for linting the staged files.

msftclas commented 5 years ago

CLA assistant check
All CLA requirements met.

orta commented 5 years ago

I agree (and all my personal repos have husky + lint staged) but I think for a "getting started" repo like this where you may be learning TS + Express, we should avoid adding extra process tools like husky whose job is to add an extra process step in the app.

I'd be open to adding a "What you can add next" style document which include installing Husky, and Prettier etc. So I'm going to close this PR.