mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 06:34:27 +02:00
Merge pull request #3081 from Trial97/fix_markdown
fix CONTRIBUTING.md formating
This commit is contained in:
commit
df45e5518f
@ -5,6 +5,7 @@
|
|||||||
All files are formatted with `clang-format` using the configuration in `.clang-format`. Ensure it is run on changed files before committing!
|
All files are formatted with `clang-format` using the configuration in `.clang-format`. Ensure it is run on changed files before committing!
|
||||||
|
|
||||||
We have no tool for enforcing names but please follow the following conventions for C++:
|
We have no tool for enforcing names but please follow the following conventions for C++:
|
||||||
|
|
||||||
- Class and type names should be formatted as `PascalCase`: `MyClass`.
|
- Class and type names should be formatted as `PascalCase`: `MyClass`.
|
||||||
- Private or protected class data members should be formatted as `camelCase` prefixed with `m_`: `m_myCounter`.
|
- Private or protected class data members should be formatted as `camelCase` prefixed with `m_`: `m_myCounter`.
|
||||||
- Private or protected `static` class data members should be formatted as `camelCase` prefixed with `s_`: `s_instance`.
|
- Private or protected `static` class data members should be formatted as `camelCase` prefixed with `s_`: `s_instance`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user