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
{{ message }}
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
Thank you for opensourcing the plugin, it works great and is very fast! I want to propose a feature:
I'm using prettier + eslint with import order plugin. Prettier has "max 1 empty line rule" enabled. When eslint reorders imports, sometimes more than one empty line appears. This requires one more pass from prettier (so file sometimes needs to be saved twice). Similar situations can happen with other rules too.
Imo this can be worked around by repeatedly running prettier+eslint(+stylelint) until no changes to source code are observed. Possibly just one extra run will be enough, which will cover most of these cases.
I can try coding this in, would you be interested in such a PR?
The text was updated successfully, but these errors were encountered:
Thank you for opensourcing the plugin, it works great and is very fast! I want to propose a feature:
I'm using prettier + eslint with import order plugin. Prettier has "max 1 empty line rule" enabled. When eslint reorders imports, sometimes more than one empty line appears. This requires one more pass from prettier (so file sometimes needs to be saved twice). Similar situations can happen with other rules too.
Imo this can be worked around by repeatedly running prettier+eslint(+stylelint) until no changes to source code are observed. Possibly just one extra run will be enough, which will cover most of these cases.
I can try coding this in, would you be interested in such a PR?
The text was updated successfully, but these errors were encountered: