Files
ui/.cursor/rules/quality-gates.mdc
T
2026-04-18 22:04:31 +03:00

12 lines
649 B
Plaintext

---
description: "Enforces linter checking, formatter usage, and quality verification after code edits"
alwaysApply: true
---
# Quality Gates
- After any code edit that changes logic, adds/removes imports, or modifies function signatures, 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