mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 22:36:36 +00:00
8db19cc60a
Made-with: Cursor
12 lines
584 B
Plaintext
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
|