chore: Fail frontend lint if there are warnings (#6619)

This commit is contained in:
Michael Genson
2025-11-29 11:33:17 -06:00
committed by GitHub
parent 77906da9f1
commit 1d64f428db
3 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ jobs:
working-directory: "frontend"
- name: Run linter 👀
run: yarn lint
run: yarn lint --max-warnings=0
working-directory: "frontend"
- name: Run tests 🧪

View File

@@ -228,7 +228,7 @@ tasks:
desc: runs the frontend linter
dir: frontend
cmds:
- yarn lint
- yarn lint --max-warnings=0
ui:test:
desc: runs the frontend tests

View File

@@ -92,8 +92,8 @@
item-value="name"
class="mr-2"
>
<template #item="{ item, props }">
<v-list-item v-bind="props">
<template #item="{ item, props: itemProps }">
<v-list-item v-bind="itemProps">
<template #prepend>
<v-icon>{{ item.raw.icon }}</v-icon>
</template>