-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
23 lines (23 loc) · 861 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
23 lines (23 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
repos:
- repo: local
hooks:
- id: ruff-backend
name: ruff (backend/orchestrator)
entry: bash -lc "cd backend/orchestrator && python3 -m ruff check . --fix && git add -u"
language: system
pass_filenames: false
- id: ruff-robot-gateway
name: ruff (backend/robot-gateway)
entry: bash -lc "cd backend/robot-gateway && python3 -m ruff check . --fix && git add -u"
language: system
pass_filenames: false
- id: eslint-mobile
name: eslint (mobile)
entry: bash -lc "cd mobile && npm run lint -- --fix && git add -u"
language: system
pass_filenames: false
- id: eslint-web
name: eslint (frontend/web)
entry: bash -lc "cd frontend/web && npm run lint -- --fix && git add -u"
language: system
pass_filenames: false