mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-01 16:14:21 -05:00
chore: Fail frontend lint if there are warnings (#6619)
This commit is contained in:
2
.github/workflows/test-frontend.yml
vendored
2
.github/workflows/test-frontend.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
working-directory: "frontend"
|
working-directory: "frontend"
|
||||||
|
|
||||||
- name: Run linter 👀
|
- name: Run linter 👀
|
||||||
run: yarn lint
|
run: yarn lint --max-warnings=0
|
||||||
working-directory: "frontend"
|
working-directory: "frontend"
|
||||||
|
|
||||||
- name: Run tests 🧪
|
- name: Run tests 🧪
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ tasks:
|
|||||||
desc: runs the frontend linter
|
desc: runs the frontend linter
|
||||||
dir: frontend
|
dir: frontend
|
||||||
cmds:
|
cmds:
|
||||||
- yarn lint
|
- yarn lint --max-warnings=0
|
||||||
|
|
||||||
ui:test:
|
ui:test:
|
||||||
desc: runs the frontend tests
|
desc: runs the frontend tests
|
||||||
|
|||||||
@@ -92,8 +92,8 @@
|
|||||||
item-value="name"
|
item-value="name"
|
||||||
class="mr-2"
|
class="mr-2"
|
||||||
>
|
>
|
||||||
<template #item="{ item, props }">
|
<template #item="{ item, props: itemProps }">
|
||||||
<v-list-item v-bind="props">
|
<v-list-item v-bind="itemProps">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<v-icon>{{ item.raw.icon }}</v-icon>
|
<v-icon>{{ item.raw.icon }}</v-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user