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
plugin-remove-empty's removal of the above is pretty unexpected, I would assume that any developer writing empty imports does so knowingly for the side effects. My question is therefore whether it would be valuable to turn this transformation off by default, in order for Putout's defaults to seem more helpful and sensible to the general developer.
This is just a suggestion, if you disagree please feel free to just close this issue.
The text was updated successfully, but these errors were encountered:
Thank you this is a good idea.
In eslint-plugin-putout there is an ide way of using, and it disables most dangerous rules. I thought about making an option which will disable such rules. Anyways for now I think the best way would be to set baseline with —disable-all.
Hi. Importing a module for its side effects only is very common, such as with:
plugin-remove-empty
's removal of the above is pretty unexpected, I would assume that any developer writing empty imports does so knowingly for the side effects. My question is therefore whether it would be valuable to turn this transformation off by default, in order for Putout's defaults to seem more helpful and sensible to the general developer.This is just a suggestion, if you disagree please feel free to just close this issue.
The text was updated successfully, but these errors were encountered: