Placing operators at the beginning of lines (operator-linebreak, same issue from prettier
)
#1693
Replies: 6 comments 1 reply
-
Oh, yes! I'm wondering why it is not a feature yet! So. many people are annoyed by not having this in Prettier, and I am amongst them :) |
Beta Was this translation helpful? Give feedback.
-
I second this. Having operators at the beginning of lines makes code easier to read and understand, reducing the cognitive overload. |
Beta Was this translation helpful? Give feedback.
-
+1 need this! |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
@arendjr sorry for tagging but just to heads up, Prettier just merged the related PR and it's planned for v4 https://github.com/prettier/prettier/milestone/42?closed=1 May I ask, is the same rule going to be planned for Biome? |
Beta Was this translation helpful? Give feedback.
-
Hey Biome folks,
Just stumbled upon an issue in Prettier that's been hanging around for a while (like 5-6 years).Here's the deal: Issue #3806.
Prettier just merged the related PR prettier/prettier#7111
Also, ESLint has this for a long time https://eslint.org/docs/latest/rules/operator-linebreak
Seems like something you might find interesting. Any chance you could take a peek and see if there's something we can do about it with Biome?
Thanks a bunch!
Beta Was this translation helpful? Give feedback.
All reactions