Tag: Code Quality
4 posts
-
ESLint 9 Flat Config: Migrating from .eslintrc, typescript-eslint, Prettier and Custom Rules
Setting up ESLint 9 with the flat config system: migrating from .eslintrc, TypeScript and framework setups, working alongside Prettier, writing custom rules, and CI integration.
-
Static Analysis in C++: Enforce Quality with Clang-Tidy and Cppcheck
Integrate clang-tidy (.clang-tidy, compile_commands) and Cppcheck into editors and CI. Fix use-after-move, leaks, and style drift before runtime.
-
C++ Code Review Checklist: 20 Checks for Ownership, const-Correctness, Exception Safety and Concurrency
C++ code review checklist with the reasoning behind each check: ownership, const-correctness, exception safety, and concurrency review.
-
Const Correctness in C++: const Members, Pointers, References and When mutable Is Fine
C++ const correctness: reading const pointers, const member functions and GCC errors, shallow const, thread-safe mutable, and const that blocks moves.