From 3b8902a95417bbc7afd7facb1462d07206665101 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Tue, 11 Feb 2025 23:00:37 +0100 Subject: [PATCH] just run fix on build, get rid of lint:fix --- compendium-frontend/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compendium-frontend/package.json b/compendium-frontend/package.json index 1cd315d2..ba38649d 100644 --- a/compendium-frontend/package.json +++ b/compendium-frontend/package.json @@ -23,9 +23,8 @@ }, "scripts": { "start": "vite", - "build": "(eslint && vite build --emptyOutDir) || echo 'eslint failed, build aborted'", - "lint": "eslint", - "lint:fix": "eslint --fix" + "build": "(eslint --fix && vite build --emptyOutDir) || echo 'eslint failed, build aborted'", + "lint": "eslint --fix" }, "dependencies": { "bootstrap": "~5.3.3", -- GitLab