-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change endOfLine
to lf
by default for 2.0
#6932
Comments
What are the benefits of changing the default here? |
Want to let you know that I'm using |
@Shinigami92 we also have @lydell see #5320 and linked issues for context. My motivation for adding
and someone manages to commit it with The reason we have I'm not suggesting to remove the option completely, just in case someone still needs viewing files on the Windows 8 Nodepad. This is the least dated text editor I know of that requires |
Examples of mixed |
👀 ➡ ️#7435 |
Refs: #6888 (about Prettier 2.0), #6929 (about changing
arrowParens
toalways
)End of Line option
was added in #5327 and is available since Prettier 1.15. Given that using LF (Linux line endings) is a default choice in the software dev world, I decided to open this issue to bring the topic to a broader discussion.I understand that changing defaults can cause large git diffs in some projects. However for the benefit of newly created projects, I suggest that the problem can be addressed by changing
prettier.config.js
in existing codebases. V2.0 is a great opportunity for breaking changes like this.WDYT folks?
The text was updated successfully, but these errors were encountered: