-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Description
Describe the bug
**Description**
Running `npm run lint` or checking `lint_errors_v2.txt` reveals several ESLint errors and warnings that need addressing to ensure code quality and stability.
**Current Issues**
- **Unused Variables:** Multiple components (e.g., `Blog.jsx`, `Features.jsx`, `Login.jsx`) define `motion` but never use it.
- **Unused Hooks:** `useContext` and `useEffect` are imported but unused in `Navbar.jsx`.
- **React Hooks Deps:** `Coin.jsx` has missing dependencies in its `useEffect` array (`fetchCoinData`, `fetchHistoricalData`).
- **Best Practices:** Several context files (`AuthContext.jsx`, `CoinContext.jsx`) trigger "Fast refresh only works when a file only exports components" warnings.Steps to reproduce
1. Run `npm install`
2. Run `npm run lint`Expected behavior
Expected Behavior
Running npm run lint should return no errors or warnings.
Affected component
Frontend (React/Vue)
Reactions are currently unavailable