feat: initialize frontend project with Vite, React, and Biome configuration

This commit is contained in:
Your Name
2026-04-09 13:23:45 +05:30
parent 4bdb1ee80d
commit 6bf186806b
21 changed files with 1248 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
pre-commit:
parallel: true
commands:
# Backend: Ruff (Linter + Formatter)
ruff:
root: "backend/"
glob: "*.py"
run: uv run ruff check --fix {staged_files} && uv run ruff format {staged_files}
stage_fixed: true
django-check:
root: "backend/"
run: uv run manage.py check
# Frontend: Biome (Linter + Formatter)
biome:
root: "frontend/"
glob: "**/*.{js,ts,jsx,tsx}"
run: bunx @biomejs/biome check --write --no-errors-on-unmatched {staged_files}
stage_fixed: true