Skip to content

auto-format portions of some JSON files #1967

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

petertseng
Copy link
Member

this commit was made by having prettier format these files and
committing portions of the changes.

For now we want prettier to continue to ignore these files, but
eventually the plan would be to use prettier but to reformat specific
portions.

The portions in this commit are not the portions we would want to
reformat, so for these specific portions we are satisfied to accept
prettier's changes.

this commit was made by having prettier format these files and
committing portions of the changes.

For now we want prettier to continue to ignore these files, but
eventually the plan would be to use prettier but to reformat specific
portions.

The portions in this commit are *not* the portions we would want to
reformat, so for these specific portions we are satisfied to accept
prettier's changes.
@petertseng
Copy link
Member Author

petertseng commented Feb 19, 2022

I'm adding one more to this one: bowling. As we decided in #1966, all elements in previousRolls should go on their own line, and for the most part this is already the case in bowling, but there was one case where they weren't all already on one line

I changed my mind about that, since that isn't a change that prettier makes.

@petertseng petertseng force-pushed the format-partial branch 2 times, most recently from a973058 to 234cc7a Compare February 19, 2022 04:14
Comment on lines +22 to +26
"territory": [
[0, 0],
[0, 1],
[1, 0]
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is necessarily better than the single-line versions but I'm not objecting to it either.

@ErikSchierboom
Copy link
Member

Requesting a review from @exercism/reviewers

@SaschaMann SaschaMann merged commit 2e820e1 into exercism:main Mar 4, 2022
@petertseng petertseng deleted the format-partial branch March 4, 2022 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants