lowhygiene
Unused Imports
Detects imports that are defined but never used in the file.
Why This Is Bad
This bloats your file size for no reason, making the site load slower. It also makes code harder to read and maintain.
How To Fix
Delete the unused import lines:
typescript
// Before (BLOATED)
import { useState, useEffect, useCallback, useMemo } from 'react';
import { Button, Card, Dialog, Drawer } from './ui';
// Only using useState and Button...
// After (CLEAN)
import { useState } from 'react';
import { Button } from './ui';Pro tip: Use ESLint with the 'no-unused-vars' rule, or enable "Organize Imports" in your IDE.
When You Pass This Check
No zombie imports found. Your imports are lean and clean!
Check If Your Repo Has This Issue
Our free scanner will detect this and 17 other common issues in your codebase.