diff --git a/compendium-frontend/eslint.config.mjs b/compendium-frontend/eslint.config.mjs
index ef146e457bb7cb949cd9fd0e68cbf6302b33e05e..b9603c346ff73ba20ec638b063eff5126e895be7 100644
--- a/compendium-frontend/eslint.config.mjs
+++ b/compendium-frontend/eslint.config.mjs
@@ -46,10 +46,11 @@ export default [
     },
 
     rules: {
-      // these are not needed with React 19
+      // react import isn't needed with React 19
       "react/jsx-uses-react": "off",
       "react/react-in-jsx-scope": "off",
-      
+
+      // general rules
       "react-hooks/rules-of-hooks": "error",
       "react-hooks/exhaustive-deps": "warn",
       "react/prop-types": "off",
@@ -60,8 +61,15 @@ export default [
           argsIgnorePattern: "^_",
         },
       ],
+      "no-multiple-empty-lines": [
+        "error",
+        {
+          max: 1,
+          maxBOF: 0,
+          maxEOF: 0,
+        },
+      ]
 
-      "@typescript-eslint/no-empty-function": "off",
     },
   },
 ];
diff --git a/compendium-frontend/package.json b/compendium-frontend/package.json
index 9dce0314eedf6c9d0fa2fd6f0317567f7ffa0591..9c5d982a8f342eed34fcb523b33defcc237abee7 100644
--- a/compendium-frontend/package.json
+++ b/compendium-frontend/package.json
@@ -24,7 +24,8 @@
   "scripts": {
     "start": "vite",
     "build": "(eslint && vite build --emptyOutDir) || echo 'eslint failed, build aborted'",
-    "lint": "eslint"
+    "lint": "eslint",
+    "lint:fix": "eslint --fix"
   },
   "dependencies": {
     "bootstrap": "~5.3.3",