You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elm-format src (src is a directory) should format all *.elm files found (recursively) in the given directory.
Using --output FILE with a directory should exit with an error message.
The following prompt should be given (unless --yes is specified):
This will overwrite the following 4 files to use Elm’s preferred style:
src/TodoMVC.elm
src/TodoMVC/Model.elm
src/TodoMVC/Update.elm
src/TodoMVC/View.elm
This cannot be undone! Make sure to back up these files before proceeding.
Are you sure you want to overwrite these files with formatted versions? (y/N)
The text was updated successfully, but these errors were encountered:
I'd say do the simplest option that seems technically correct to you, and open a new issue to discuss whether we want to handle it in a more complicated way.
elm-format src
(src
is a directory) should format all*.elm
files found (recursively) in the given directory.Using
--output FILE
with a directory should exit with an error message.The following prompt should be given (unless
--yes
is specified):The text was updated successfully, but these errors were encountered: