From 1d64f428db806328dbc147a4c0073f0caad03533 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:33:17 -0600 Subject: [PATCH] chore: Fail frontend lint if there are warnings (#6619) --- .github/workflows/test-frontend.yml | 2 +- Taskfile.yml | 2 +- frontend/components/Domain/Recipe/RecipeAssets.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index 94c4359ef..e6de89f7d 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -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 ๐Ÿงช diff --git a/Taskfile.yml b/Taskfile.yml index 836149e2e..300131e2f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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 diff --git a/frontend/components/Domain/Recipe/RecipeAssets.vue b/frontend/components/Domain/Recipe/RecipeAssets.vue index d7536a35f..e4df57731 100644 --- a/frontend/components/Domain/Recipe/RecipeAssets.vue +++ b/frontend/components/Domain/Recipe/RecipeAssets.vue @@ -92,8 +92,8 @@ item-value="name" class="mr-2" > -