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

Feature/clang formatting #29

Open
wants to merge 5 commits into
base: beta
Choose a base branch
from

Conversation

Sylensky
Copy link
Member

@Sylensky Sylensky commented Dec 5, 2024

This introduces a formatting checking CI that triggers on every push to the repository that checks if the provided code is kept clean.

Additionally adds a coding style with the .clang-format config file that instructs clangd (if installed in the PATH or via VSCode extensions) to format the written code.
Instructions on how to configure VSCode to set the standard formatter and formatting on save is provided in the esp32_wireless_control/firmware/docs.

requires #28 prior merging and a manual rebase as commit 82ad359 should not be needed once the review from the previous PR is done.

@Sylensky Sylensky force-pushed the feature/clang-formatting branch from c91614d to d75e2f5 Compare December 5, 2024 02:06
@Sylensky Sylensky mentioned this pull request Dec 5, 2024
@Sylensky Sylensky force-pushed the feature/clang-formatting branch from d75e2f5 to 4084a70 Compare December 15, 2024 11:29
Use clangd to to format the source code to share one coding style
across all source files.
@Sylensky Sylensky force-pushed the feature/clang-formatting branch from 4084a70 to 8a80180 Compare December 25, 2024 01:32
@Sylensky
Copy link
Member Author

Sylensky commented Dec 25, 2024

This PR is now ready to be reviewed and merged after i rebased to the latest beta branch.

@Sylensky Sylensky force-pushed the feature/clang-formatting branch from 8a80180 to f898fde Compare December 25, 2024 01:53
@Sylensky Sylensky force-pushed the feature/clang-formatting branch from f26923b to f898fde Compare January 6, 2025 22:00
@Sylensky Sylensky requested a review from Th0MmyS January 7, 2025 02:27
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.

1 participant