-
Notifications
You must be signed in to change notification settings - Fork 121
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
Automated formatting #413
Comments
We have a config file for uncrustify in our repo: https://github.com/xoreos/xoreos/blob/master/.uncrustifyrc , which should be able to get you there most of the way. I haven't really tested it extensively, though, so it might need some tweaking. Pull requests welcome ;) As for other checks, there is an open "we should investigate this" issue here, for potentially using GitHub Actions (still in beta, I think): #390 |
Thanks. I gave it a try with the .uncrustifyrc, and it had an error:
After correction: `$ ~/uncrustify.exe -c ~/.uncrustifyrc -f
Parsing: C: |
It would be useful if the formatting of the submitted content could automated. Machines are often much better than people at that sort of thing, and automating the process would allow more time to focus on actual coding. Even a format checker that could be run during testing (and prior to a commit) would be helpful. Thanks.
The text was updated successfully, but these errors were encountered: