Hacker News new | ask | show | jobs
by scrollaway 3256 days ago
On that note I wish tslint would stop trying to do code formatting rules. prettier nowadays does code formatting far better than tslint ever did.
2 comments

I thought Prettier didn't support TypeScript, as the TS AST is completely different to the JS AST.
It's not very different; Typescript strives to be a JS superset.

Anyhow, it does support it just fine. Even tsx/jsx (react-extended js/ts).

:-) same here. Those are the few rules I shut off. TsLint really shines in static analysis.