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
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.
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.
elm-format .
And to enforce formatting on CI, elm-format --validate . is recommended.
elm-format --validate
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: