mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: initialize frontend project with Vite, React, and Biome configuration
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user