diff --git a/compendium-frontend/package.json b/compendium-frontend/package.json
index 1cd315d20ca5381f5d624a7c49463f9f6ff5050f..ba38649da0fd96600ce680e619e93c562a9968c2 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",