Skip to content

Increment 1 - Step 1: Style & Hygiene - #1

Merged
angelobarbu merged 2 commits into
increment-1from
increment-1-step-1
Aug 7, 2026
Merged

Increment 1 - Step 1: Style & Hygiene#1
angelobarbu merged 2 commits into
increment-1from
increment-1-step-1

Conversation

@angelobarbu

@angelobarbu angelobarbu commented Aug 7, 2026

Copy link
Copy Markdown
Owner
  • .clang-format — LLVM base, 4-space indent, 120-column limit, PointerAlignment: Left, and include regrouping in the order: local "..." → <modulo/...> → Qt → third-party (catch2/nlohmann/pqxx/sodium) → C++ standard library.

  • .clang-tidy — the four check families (bugprone-, performance-, modernize-, readability-) with a four-entry suppression list (each justified in a comment), plus naming conventions: CamelCase types, camelBack functions/variables, lower_case namespaces, trailing-underscore private members, UPPER_CASE macros.

  • .env.example — MODULO_DB_URL, MODULO_TEST_DB_URL (integration tests skip cleanly when unset), MODULO_HTTP_PORT, MODULO_DATA_DIR.

  • .gitignore — extended with a # Modulo section: build*/, var/, .env, .cache/, .DS_Store.

  • scripts/format.sh — formats all first-party .cpp/.h in place, --check mode for CI, references the keg-only LLVM path explicitly; made executable.

@angelobarbu
angelobarbu merged commit e11a7e9 into increment-1 Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant