Skip to content
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

Can I create files with line breaks of LF when I use Windows? #14128

Closed
1 task done
anqisoft opened this issue Nov 11, 2024 · 1 comment
Closed
1 task done

Can I create files with line breaks of LF when I use Windows? #14128

anqisoft opened this issue Nov 11, 2024 · 1 comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@anqisoft
Copy link

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I usually use Windows 10, so the default line break is CRLF. But I want all files to use LF as line break.
Whether I create an application by "nest new -p pnpm nest-blog" or a module by "nest g mo modules/article && nest g s modules/article && nest g co modules/article", I get files with CRLF line breaks.
But I want to get files with LR line breaks, and I don't like to format files again and again using "pnpm format".

Can you help me?
image

Describe the solution you'd like

1731296141513

Teachability, documentation, adoption, migration strategy

Please see the above pictures.

What is the motivation / use case for changing the behavior?

Please see the above pictures.

@anqisoft anqisoft added needs triage This issue has not been looked into type: enhancement 🐺 labels Nov 11, 2024
@anqisoft anqisoft reopened this Nov 11, 2024
@kamilmysliwiec
Copy link
Member

We track this here nestjs/nest-cli#316

@nestjs nestjs locked and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

2 participants