Initial commit
This commit is contained in:
15
commands/lint-fix.md
Normal file
15
commands/lint-fix.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: Run linters and automatically fix all issues
|
||||
---
|
||||
|
||||
Run all available linters and fix issues:
|
||||
|
||||
1. Detect linter configuration files in project
|
||||
2. Run linters with auto-fix enabled:
|
||||
- For JavaScript/TypeScript: pnpm biome check --write
|
||||
- For Python: uv run ruff check --fix, uv run ruff format
|
||||
- For other detected linters with fix capabilities
|
||||
3. Stage all fixed files
|
||||
4. Report summary of fixes applied
|
||||
|
||||
IMPORTANT: Only run linters that exist in the project. Do not suggest installing new ones.
|
||||
Reference in New Issue
Block a user