Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Preserve float formatting when pretty formatting #860

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Xnot
Copy link

@Xnot Xnot commented Jan 18, 2023

Prevents high-precision and exponential-formatted floats from being modified when using the pretty-format-json hook. Closes #780

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

pretty-format-json modifies floating point numbers that have too many digits of precision
1 participant