H-409: restore frontend ESLint and Prettier baseline (#72)

* H-409: restore frontend lint baseline

* ci(H-409): check representative frontend lint

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-21 14:11:08 +08:00
committed by GitHub
co-authored by rogee
parent 646449ebee
commit b971b09ac7
3 changed files with 264 additions and 0 deletions
+4
View File
@@ -41,4 +41,8 @@ jobs:
node-version: 20
- run: corepack enable
- run: pnpm install --frozen-lockfile
- name: ESLint representative JS/Vue files
run: pnpm --dir frontend exec eslint app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.spec.js app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.vue
- name: Prettier representative JS/Vue files
run: pnpm --dir frontend exec prettier --check app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.spec.js app/javascript/dashboard/components-next/captain/assistant/AssistantPlayground.vue
- run: pnpm --dir frontend build