docs: add editorconfig setup and remove completed task
- Add EditorConfig section to CONTRIBUTING.md with IDE plugins table - Remove Issue #28 from Tasks.md (pre-commit hooks now documented)
This commit is contained in:
@@ -1,39 +1,3 @@
|
||||
### Issue #28: LOW-MEDIUM - Missing Pre-Commit Hooks
|
||||
|
||||
**Where found**:
|
||||
- No `.pre-commit-config.yaml`
|
||||
- Docs mention husky but no `.husky/` directory
|
||||
|
||||
**Why this is needed**:
|
||||
Without pre-commit hooks, developers commit code that fails linting/tests, slowing down CI.
|
||||
|
||||
**Goal**:
|
||||
Enforce code quality checks before commit.
|
||||
|
||||
**What to do**:
|
||||
1. Create `.pre-commit-config.yaml`:
|
||||
```yaml
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
hooks:
|
||||
- id: ruff
|
||||
- id: ruff-format
|
||||
```
|
||||
2. Setup husky for frontend
|
||||
3. Document in CONTRIBUTING.md
|
||||
|
||||
**Docs changes needed**:
|
||||
- Create CONTRIBUTING.md with setup instructions
|
||||
|
||||
**Doc references**:
|
||||
- DATABASE_API_DEPLOYMENT_ISSUES.md - Issue "12.1 Missing Pre-Commit Hooks"
|
||||
|
||||
---
|
||||
|
||||
### Issue #29: LOW-MEDIUM - Missing .editorconfig
|
||||
|
||||
**Where found**:
|
||||
|
||||
Reference in New Issue
Block a user