mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
add codingstyle.md
Former-commit-id: 6f65784f8b0588351b1b89329bfaa59081630f50
This commit is contained in:
parent
13b08d5df1
commit
667ee80ef6
19
CODING_STYLE.md
Normal file
19
CODING_STYLE.md
Normal file
@ -0,0 +1,19 @@
|
||||
### Please use the following code style/guidelines
|
||||
|
||||
- use QT wherever it's possible (except there is a good reason)
|
||||
- use unix line endings (not windows)
|
||||
- indent your code with TABs instead of spaces
|
||||
- follow this rule for curly brackets
|
||||
```
|
||||
bad:
|
||||
if (conditon) {
|
||||
code
|
||||
}
|
||||
|
||||
good:
|
||||
if (condition)
|
||||
{
|
||||
code
|
||||
}
|
||||
|
||||
```
|
Loading…
Reference in New Issue
Block a user