From 8c05904bc428c2d867b0d4725fa462a19b4ef73b Mon Sep 17 00:00:00 2001
From: ajvpot <553597+ajvpot@users.noreply.github.com>
Date: Fri, 1 Aug 2025 06:47:25 +0200
Subject: [PATCH] re enable important eslint rules
---
eslint.config.mjs | 2 --
src/components/MapView.tsx | 6 ------
2 files changed, 8 deletions(-)
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 771706d..fe09e21 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -15,8 +15,6 @@ const eslintConfig = [
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
- "react-hooks/rules-of-hooks": "off",
- "react-hooks/exhaustive-deps": "off",
"prefer-const": "off"
}
}
diff --git a/src/components/MapView.tsx b/src/components/MapView.tsx
index 4dbd0f0..5d68fb7 100644
--- a/src/components/MapView.tsx
+++ b/src/components/MapView.tsx
@@ -277,12 +277,6 @@ export default function MapView() {
ariaLabel="Refresh map nodes"
/>
- {/* Add keyframes for spin animation */}
-