mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 01:17:55 -05:00
Update CONTRIBUTING.md [skip ci]
This commit is contained in:
parent
10ebdfa608
commit
a9a2c7d3b7
1 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,12 @@ This repository currently has only one goal: accuracy to the original executable
|
||||||
|
|
||||||
In general, we're not exhaustively strict about coding style, but there are some preferable guidelines to follow that have been adopted from what we know about the original codebase:
|
In general, we're not exhaustively strict about coding style, but there are some preferable guidelines to follow that have been adopted from what we know about the original codebase:
|
||||||
|
|
||||||
- Indent: 2 spaces
|
### Formatting
|
||||||
|
|
||||||
|
We are currently using [clang-format](https://clang.llvm.org/docs/ClangFormat.html) with a configuration file that aims to replicate the code formatting employed by the original developers. There are [integrations](https://clang.llvm.org/docs/ClangFormat.html#vim-integration) available for most editors and IDEs. The required `clang-format` version is `17.x`.
|
||||||
|
|
||||||
|
### Naming conventions
|
||||||
|
|
||||||
- `PascalCase` for classes, function names, and enumerations.
|
- `PascalCase` for classes, function names, and enumerations.
|
||||||
- `m_camelCase` for member variables.
|
- `m_camelCase` for member variables.
|
||||||
- `g_camelCase` for global variables.
|
- `g_camelCase` for global variables.
|
||||||
|
|
Loading…
Reference in a new issue