Skip to content
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

Use O2-like 4-space indents in JSON files #2448

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

TimoWilken
Copy link
Contributor

Configure clang-format to format JSON files like O2 would dump them, i.e. with 4-space indents. This way, we can track O2-generated JSON files in the repo directly, without having to reformat them.

Tested with an existing JSON file in the O2Physics repo; seems to work.

This came up in #2445.

Configure clang-format to format JSON files like O2 would dump them,
i.e. with 4-space indents. This way, we can track O2-generated JSON
files in the repo directly, without having to reformat them.
@vkucera
Copy link
Collaborator

vkucera commented Apr 20, 2023

Thanks @TimoWilken !

@ddobrigk ddobrigk merged commit 19c5b8e into AliceO2Group:master Apr 21, 2023
@TimoWilken TimoWilken deleted the clang-format-json branch April 21, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants