microsoft / TypeScript-React-Starter

A starter template for TypeScript and React with a detailed README describing how to use the two together.
MIT License
11.09k stars 1.21k forks source link

ESLint and TSLint? #157

Open AndrewCraswell opened 6 years ago

AndrewCraswell commented 6 years ago

I'm using this starter kit as the beginning point for a new project I'm working on. After ejecting, I was curious to see that ESLint and TSLint are working together. Is there a specific reason for that, it seems like it would be redundant? I've never used TSLint yet, but isn't it doing the same thing as ESLint except the rules are rewritten for TypeScript? Why would I lint at the TypeScript level, then lint again after the transpile occurs? Looking for some pros/cons to this approach to see if I can simplify our workflow.

DanielRosenwasser commented 6 years ago

I hadn't noticed both of them in tandem, but I would say you can pick one or the other. This is probably a better question to ask on https://github.com/wmonk/create-react-app-typescript.