Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: