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
A possible solution: create unit tests that run the formatter more than once. In the case of failing tests, explore ways to implement idempotence on a case-by-case basis.
Another possibility is to rerun the formatter only if the user has changed something in the file. It requires a smart system, however, it also ensures true idempotence.
Come up with a practical solution how to ensure formatter idempotence. https://en.wikipedia.org/wiki/Idempotence
The text was updated successfully, but these errors were encountered: