Files
autopilot/.cursor/rules/quality-gates.mdc
T
2026-03-25 21:57:26 +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