clang-format and checked by clang-tidy. Lua and SQL conventions are followed by convention.
- C++
- Lua
- SQL
C++ Style
The project targets C++20 and uses a style based on WebKit with Allman braces. The canonical configuration lives in.clang-format at the repository root and is compatible with clang-format-20.Key rules
Allman brace example
Access modifiers
Access modifiers (public:, private:, protected:) use an offset of -4 so they sit flush with the class body rather than indented.Running clang-format
clang-tidy checks
The.clang-tidy configuration enables a focused set of checks: