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

Notes for "getting started" guide #736

Open
avh4 opened this issue May 12, 2021 · 0 comments
Open

Notes for "getting started" guide #736

avh4 opened this issue May 12, 2021 · 0 comments

Comments

@avh4
Copy link
Owner

avh4 commented May 12, 2021

In answer to a question on Elm slack re getting started with elm-format, I thought this answer might be good to have in the official documentation:

it’s recommended to enable “format on save” for whatever editors (the guideline for plugin authors is that hopefully it enables that by default)

To initially format (or for folks who don’t want to format on save), elm-format . on the command line is recommended.

And to enforce formatting on CI, elm-format --validate . is recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant