Y
Hacker News
new
|
ask
|
show
|
jobs
by
warp
938 days ago
Couldn't you just set the "printWidth" in .prettierrc.json to something super long?
1 comments
laurent123456
938 days ago
In that case prettier will put the code you formatted over multiple lines into one giant line spanning multiple screens. This is especially relevant for method chaining.
link