Files
ai-training/.cursor/rules/quality-gates.mdc
T
Oleksandr Bezdieniezhnykh 8db19cc60a Add .cursor AI autodevelopment harness (agents, skills, rules)
Made-with: Cursor
2026-03-26 01:06:54 +02:00

12 lines
584 B
Plaintext

---
description: "Enforces linter checking, formatter usage, and quality verification after code edits"
alwaysApply: true
---
# Quality Gates
- After substantive code edits, run `ReadLints` on modified files and fix introduced errors
- Before committing, run the project's formatter if one exists (black, rustfmt, prettier, dotnet format)
- Respect existing `.editorconfig`, `.prettierrc`, `pyproject.toml [tool.black]`, or `rustfmt.toml`
- Do not commit code with Critical or High severity lint errors
- Pre-existing lint errors should only be fixed if they're in the modified area