Cross platform EOL LF/CRLF configuration #4512
Unanswered
graffhyrum
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Biome doesn't have configuration to do this. Could you elaborate more on your use case? What's wrong with just picking one line ending? |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you need to deal with line ending on multiple OS, and you use a VCS, you should rely on it mainly. With git, here's how we do it in the Biome repository: https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to migrate to biome in a few projects and my team uses windows and linux for development. We are trying to figure out how to make
formatter.lineEnding
align with the host OS. Has anyone else dealt with this and found a solution? Is there a best practice from the biome team for configuring this?Beta Was this translation helpful? Give feedback.
All reactions