mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-11 12:20:55 +00:00
Deploying to gh-pages from @ qmk/qmk_firmware@2f1cac6e9f 🚀
This commit is contained in:
parent
819aabcee0
commit
0c3565294b
@ -8,8 +8,8 @@ Most of our style is pretty easy to pick up on, but right now it's not entirely
|
|||||||
* Closing Brace: Lined up with the first character of the statement that opens the block
|
* Closing Brace: Lined up with the first character of the statement that opens the block
|
||||||
* Else If: Place the closing brace at the beginning of the line and the next opening brace at the end of the same line.
|
* Else If: Place the closing brace at the beginning of the line and the next opening brace at the end of the same line.
|
||||||
* Optional Braces: Always include optional braces.
|
* Optional Braces: Always include optional braces.
|
||||||
* Good: if (condition) { return false; }
|
* Good: `if (condition) { return false; }`
|
||||||
* Bad: if (condition) return false;
|
* Bad: `if (condition) return false;`
|
||||||
* We encourage use of C style comments: `/* */`
|
* We encourage use of C style comments: `/* */`
|
||||||
* Think of them as a story describing the feature
|
* Think of them as a story describing the feature
|
||||||
* Use them liberally to explain why particular decisions were made.
|
* Use them liberally to explain why particular decisions were made.
|
||||||
|
Loading…
Reference in New Issue
Block a user