Is non-idempotency considered a bug? #16120
kirkwaiblinger
started this conversation in
General
Replies: 1 comment 2 replies
-
👋 @kirkwaiblinger! You are correct. If Prettier amends your code on the second format, it’s a bug. Please check existing issues labeled as
area:idempotency
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two different examples I've encountered in the wild of non-idempotent output, and my instinct is to report them as a bug, but I cannot find any documentation to suggest that this is unintended behavior. That being said, the presence of the "show second format" option on the playground suggests to me that it may be considered problematic. Please advise! Whether or not non-idempotency is bug-report-worthy, can that get added to the docs to reduce confusion? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions