Skip to content

Commit

Permalink
chore: add precommit hook for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
chloeelim committed Sep 23, 2024
1 parent b9325b9 commit 80570e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ repos:
name: ruff
language: system
entry: bash -c 'cd backend && uvx ruff check --fix; uvx ruff format'
- id: eslint
name: eslint
language: system
entry: bash -c 'cd frontend && npm run lint -- --fix'

0 comments on commit 80570e5

Please sign in to comment.