mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-21 01:15:10 +00:00
chore: Fixup main pre commit (#3204)
This commit is contained in:
parent
8cc4925f7d
commit
e7a812f5de
3 changed files with 2 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue