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

It should put more weight on the length that the author has original authored it as. So between "always break" and "always expand" there should be an area of "leave it however it already is".


Prettier needs to be consistent regardless of the original input. Otherwise it won’t really work well.


I don't think it does. Plenty of code formatters are not completely, and work just fine.




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

Search: