DEV Community

Discussion on: TypeScript vs Flow

Collapse
 
pndyjack profile image
pndyjack

"It asked me to sort properties alphabetically. Seriously who has time for this?"

You can use prettier-tslint to auto-fix many tslint errors.

Collapse
 
markerikson profile image
Mark Erikson

It's still an absurd thing to enforce as a compiler error, especially by default, and absolutely absurd for a tool based on Create-React-App.

Dan Abramov and I have both urged the author to change the default link setup (per create-react-app-ts #333 ). It looks like there's some open PRs to do that, but no recent progress. Very frustrating.

I actually just tried TS "for real" for the first time today, and I see some potential benefits to using it, but it's hard to recommend CRA-TS as a tool for a beginner with that ridiculously restrictive "lint" setup.

Collapse
 
stereobooster profile image
stereobooster

Can't wait to try this github.com/facebook/create-react-a...

Collapse
 
pndyjack profile image
pndyjack

Agreed, enforcing it as an error would be very frustrating especially for beginners.