Hacker News new | past | comments | ask | show | jobs | submit login

eh -- this is a one-time occurrence with prettier. Subsequent changes are guaranteed to be changes-only since formatting is consistent between authors.



It happens often in JSX, you add one prop, which makes the line longer than the line width, which turns it into a multi line change.

It's annoying, but not a reason to throw the baby out with the bathwater.


This isn't just a JSX problem. This is in any language that once you go over the column limit that it'll try to break it somewhere.




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

Search: