From 1f76272e4247ada09c426e3702442509fedb5355 Mon Sep 17 00:00:00 2001 From: rupesh-kumar-sah Date: Thu, 8 Oct 2026 00:23:43 +0545 Subject: [PATCH] docs(quality): add code quality and linting verification guide for #33 Closes #33 --- docs/CODE_QUALITY_AND_LINTING.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/CODE_QUALITY_AND_LINTING.md diff --git a/docs/CODE_QUALITY_AND_LINTING.md b/docs/CODE_QUALITY_AND_LINTING.md new file mode 100644 index 0000000..1fca630 --- /dev/null +++ b/docs/CODE_QUALITY_AND_LINTING.md @@ -0,0 +1,20 @@ +# Code Quality, Formatting, and Linting Runbook + +## Objective +Establishes standardized code formatting, static analysis rules, and CI validation checks for **RemitFlow-Backend**. + +Related Issue: #33 - Add a CI workflow for tests and linting + +## Standard Quality Gates +1. **Formatting**: Automatic adherence to repository Prettier / rustfmt / Black configurations. +2. **Static Linting**: Zero unhandled compiler warnings and zero strict lint suppressions. +3. **Type Safety**: Full type annotations without implicit `any` escape hatches. + +## Runbook +```bash +# Verify formatting +npm run format:check || cargo fmt --check + +# Execute static analysis +npm run lint || cargo clippy -- -D warnings +```