Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/CODE_QUALITY_AND_LINTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Code Quality, Formatting, and Linting Runbook

## Objective
Establishes standardized code formatting, static analysis rules, and CI validation checks for **yieldladder**.

Related Issue: #43 - [GF-10] [BACKEND] CI/CD Hardening (cargo test, clippy, pnpm lint, SDK build)

## 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
```