-
Notifications
You must be signed in to change notification settings - Fork 5
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
Embedded elm-format is not found in globally installed plugin #1
Comments
I tried to make guidelines for plugins to follow (avh4/elm-format#104), which currently says the following:
I guess it needs to be updated to include a standard way for searching for elm-format installed with |
Thanks for sharing the link @avh4! When Alternatively, I could move |
I believe this has been fixed in 6adc859, so there is no more need to install Globally installed |
Calling a bult-in
elm-format
binary fails whenprettier-plugin-elm
is installed globally. We need a slightly improved search mechanism fornode_modules/.bin/elm-format
in order to fix this. A temporary workaround involves installingelm-format
in parallel to the plugin:npm install --global prettier-plugin-elm elm-format ## or yarn global add prettier-plugin-elm elm-format
(or
elm-format@exp
)The text was updated successfully, but these errors were encountered: