chore: Fixup main pre commit (#3204)

This commit is contained in:
Matthew Farrellee 2025-08-19 13:52:38 -05:00 committed by GitHub
parent 8cc4925f7d
commit e7a812f5de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 21 deletions

View file

@ -148,14 +148,14 @@ repos:
files: ^.github/workflows/.*$
- id: ui-prettier
name: Format UI code with Prettier
entry: bash -c 'cd llama_stack/ui && npm run format'
entry: bash -c 'cd llama_stack/ui && npm ci && npm run format'
language: system
files: ^llama_stack/ui/.*\.(ts|tsx)$
pass_filenames: false
require_serial: true
- id: ui-eslint
name: Lint UI code with ESLint
entry: bash -c 'cd llama_stack/ui && npm run lint -- --fix --quiet'
entry: bash -c 'cd llama_stack/ui && npm ci && npm run lint -- --fix --quiet'
language: system
files: ^llama_stack/ui/.*\.(ts|tsx)$
pass_filenames: false