From 8037e4c719d288a28a411925b6270646101d89ba Mon Sep 17 00:00:00 2001 From: Lilliandris <144048412+lilliandris@users.noreply.github.com> Date: Thu, 18 Jun 2026 22:23:57 +0200 Subject: [PATCH] chore(Agents): Update max line length from 80 to 120 characters (#26271) --- .coderabbit.yml | 2 +- .github/agents/pr-reviewer.md | 2 +- CLAUDE.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.coderabbit.yml b/.coderabbit.yml index 2a9a508444..506590fb5d 100644 --- a/.coderabbit.yml +++ b/.coderabbit.yml @@ -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`. diff --git a/.github/agents/pr-reviewer.md b/.github/agents/pr-reviewer.md index 830c3533f9..c685744c71 100644 --- a/.github/agents/pr-reviewer.md +++ b/.github/agents/pr-reviewer.md @@ -24,7 +24,7 @@ Based on CLAUDE.md, always verify: - 4-space indentation for C++ (no tabs) - 2-space indentation for JSON, YAML, shell scripts - UTF-8 encoding, LF line endings -- Max 80 character line length +- Max 120 character line length - No braces around single-line statements - Format variables in output using {} placeholders instead of printf-style format specifiers like %u diff --git a/CLAUDE.md b/CLAUDE.md index 1b50e55613..7e6e9031da 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -64,7 +64,7 @@ python apps/codestyle/codestyle-sql.py # SQL (compares to origin/master) Hard rules (also enforced by CI with `-Werror`): -- 4-space indent for C++ (tabs forbidden); 2-space for JSON/YAML/sh/ts/js. UTF-8, LF, max 80 cols, trailing newline. +- 4-space indent for C++ (tabs forbidden); 2-space for JSON/YAML/sh/ts/js. UTF-8, LF, max 120 cols, 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 `{}` format specifiers (`fmt`-style), not `%u`/`%s`.