Open gajus opened 5 years ago
Why saying so? I use https://github.com/bradzacher/eslint-plugin-typescript at work and it works great
@oriSomething The last I checked that project it didn't have many rules.
Now the two projects seem comparable (26 vs 34 rules).
@gajus More to this compare:
use-flow-type
isn't relevant to TSvalid-syntax
which is overcome a Babylon bug. Not related to TStsconfig.json
So, There is no real different here. It's just a personal preference
I'm happy to add a PR with a comparison that takes into account all of the nuances that @oriSomething pointed out. On that note, keep in mind TypeScript also has tslint, so eslint isn't the only option, plus flow has some built-in lints.
Btw. eslint now has type-based linting for TypeScript. It's still worth mentioning/comparing, but I think these are on par now.
Might worth including in comparison that unlike TypeScript (?), FlowType has extensive linting support through ESLint https://github.com/gajus/eslint-plugin-flowtype plugin.