-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Decide how to format based on package.json #30
Comments
Yeah I've done the dance between How can it be done reliably? |
Re-implement package.json discovery in python based on project folders (or shell out to JS)? It might get a bit logically harry but I think we can manage it. No package.json you ask? Why are you developing js without a package.json 😈 But seriously, in that case Leave the keyboard shortcuts/pallet commands active with a command pallet formatter selector maybe? |
What would be the indicator in |
The indicator would be that it has one of those packages installed and saved to its dependency list. |
Closing in favor of #35 |
💧 Shower thought: What if this plugin decided on which linter to use based on package.json?
Originally I pondered adding a formatter field to package.json, but we don't need that. It should be some kind of dependency for the project using it which essentially offers up consent to autoformatting.
The goal here is to eliminate busy work enabling and disabling linters when they differ between projects. Has this been a problem for anyone else?
The text was updated successfully, but these errors were encountered: