We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the very useful project!
I opened the following pull request (which may or may not be accepted) to use erlfmt on a new RabbitMQ project - rabbitmq/khepri#28
erlfmt
I have the following git settings related to line endings in my Win 10 dev environment:
[core] autocrlf = true eol = native safecrlf = warn
This means that files in my clone of rabbitmq/khepri have CRLF endings, but LF endings in the repo.
rabbitmq/khepri
CRLF
LF
When I run rebar3 fmt it converts all of the files to LF endings, even if no other formatting needed to happen. In addition, rebar3 fmt --check also thinks CRLF endings indicate mis-formatted files (https://github.com/rabbitmq/khepri/runs/4632960535?check_suite_focus=true)
rebar3 fmt
rebar3 fmt --check
This isn't the end of the world, because I can force LF endings via the .gitattributes file -
.gitattributes
https://github.com/rabbitmq/khepri/blob/lukebakken/erlfmt/.gitattributes
...but it would be nice if erlfmt were forgiving when it comes to line endings, either by default or via configuration.
Merry Christmas 🎄
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for the very useful project!
I opened the following pull request (which may or may not be accepted) to use
erlfmt
on a new RabbitMQ project - rabbitmq/khepri#28I have the following git settings related to line endings in my Win 10 dev environment:
This means that files in my clone of
rabbitmq/khepri
haveCRLF
endings, butLF
endings in the repo.When I run
rebar3 fmt
it converts all of the files toLF
endings, even if no other formatting needed to happen. In addition,rebar3 fmt --check
also thinksCRLF
endings indicate mis-formatted files (https://github.com/rabbitmq/khepri/runs/4632960535?check_suite_focus=true)This isn't the end of the world, because I can force
LF
endings via the.gitattributes
file -https://github.com/rabbitmq/khepri/blob/lukebakken/erlfmt/.gitattributes
...but it would be nice if
erlfmt
were forgiving when it comes to line endings, either by default or via configuration.Merry Christmas 🎄
The text was updated successfully, but these errors were encountered: