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

Fix extra new lines before brace when using Allman brace style #585

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

henbr
Copy link
Contributor

@henbr henbr commented Jan 19, 2025

This fixes #530

It also changes so the odinfmt.json is used for the odinfmt tests. The odinfmt.json is read from the same dir as the file under test, if there is no config file default config will be used. This makes it possible to have different configs for each test.

@DanielGavin DanielGavin merged commit c1615ee into DanielGavin:master Jan 22, 2025
5 checks passed
@DanielGavin
Copy link
Owner

Thanks. Yeah good idea to also add test directory for allman.

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.

odinfmt: "Allman" brace style inserts extra new lines in switch
2 participants