-
Notifications
You must be signed in to change notification settings - Fork 62
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
Feature: enable JsPrettier only if prettier is in package.json #24
Comments
Hi @alexkuz, thanks for the suggestion. Though I would argue that the majority of JsPrettier users have Prettier installed globally (e.g.: |
Well, globally installed prettier is what causing this problem. With the current plugin I can never use Just for the reference - SublimeLinter has a similar setting in |
To clarify, are you saying that the |
No, it works just fine - what I mean is that it works for any js file (obviously) if I set it globally. And if I set globally |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It would be nice to have an option that will allow
auto_format_on_save
only whenprettier
is in package dependencies, so there's no need to setup.sublime-project
for each project.The text was updated successfully, but these errors were encountered: