mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
chore(Agents): Update max line length from 80 to 120 characters (#26271)
This commit is contained in:
@@ -26,7 +26,7 @@ reviews:
|
||||
- path: "**/*.{cpp,h,hpp}"
|
||||
instructions: |
|
||||
AzerothCore C++ conventions (CI enforces these with -Werror; flag violations):
|
||||
- C++20. 4-space indent, tabs forbidden. UTF-8, LF, max 80 columns, trailing newline.
|
||||
- C++20. 4-space indent, tabs forbidden. UTF-8, LF, max 120 columns, trailing newline.
|
||||
- Allman braces. No braces around single-line statements. `if (x)`, never `if(x)` or `if ( x )`.
|
||||
- `auto const&` (not `const auto&`); `Type const*` (not `const Type*`).
|
||||
- Use fmt-style `{}` format specifiers, never printf-style `%u`/`%s`.
|
||||
|
||||
Reference in New Issue
Block a user