A Visual Studio Code extension that checks for duplicate CSS classes across your project files. It helps maintain clean and efficient CSS by identifying repeated class names.
Features
Detects duplicate CSS class names in your project.
Displays warnings with file paths and line numbers for each duplicate class.
Ignores the node_modules directory to reduce noise.
Installation
To install this extension, follow these steps:
Open VS Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for "CSS Cleaner" and install it.
Usage
After installing, use the command palette (Ctrl+Shift+P) and type CSS Cleaner: Check for Duplicates.
The extension will scan your CSS files and notify you of any duplicate class names.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details.