Adopt `clang-format`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Read the .clang-format file added for the cxbe tool in issue #648 and the linked nxdk or winapi style discussion. Work out how broadly that formatting style should apply and whether enforcement belongs in githooks or CI; the issue does not name specific files or tests. Done means a project-wide formatting approach and a way to check that pull requests do not introduce nonconformant code.
Written by the indexing model from the issue text.
Description
#648 added a .clang-format file to the cxbe tool in an attempt to cut down contributor/maintainer time spent on format nitpicking.
Ideally this approach could be adopted broadly (using the style from the nxdk or winapi libs https://github.com/XboxDev/nxdk/pull/499#discussion_r724451981) and could be enforced through githooks or a CI step verifying that PRs do not introduce non-conformant code.
- Dominant language
- C
- Stars
- 600
- Forks
- 97
- Avg merge
- 11h 48m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XboxDev/nxdk
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Use faster memcpyOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
libsndfile/libsndfile#1239 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100