Re:Using Prettier to format your JavaScript code
by seepel on Friday March 09, 2018 @02:08AM
(#16550224)
We just turn off tslint formatting rules. There isn’t really a need for them if you are using prettier.
[ Parent
| on HN ]
Re:Using Prettier to format your JavaScript code
by swyx on Friday March 09, 2018 @02:12AM
(#16550233)
oh. unfortunately my team lead insists on having them. thanks anyway.
Re:Using Prettier to format your JavaScript code
by mceachen on Friday March 09, 2018 @11:56AM
(#16553040)
tslint, while quite useful last year, still had (and has) known bugs with unused variables, missing/incorrect type assertions, and other annoyances.
Most new versions of TypeScript expand on their `strict` rules, and just enabling `strict` in your tsconfig, as well as using prettier, is arguably a more robust superset of seatbelts than tslint offered. I deleted tslint from all my TS projects several months ago and don't miss it at all.