mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
Add comprehensive rule to detect and prevent empty CSS style blocks: - Identify style objects with no properties - Flag empty style blocks as potential code quality issues - Provide auto-fix capability to remove empty blocks - Handle edge cases like comments-only blocks This rule helps maintain cleaner codebases by eliminating empty style definitions that often result from incomplete refactoring or forgotten implementations, reducing confusion and unnecessary code. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| conditional-processor.ts | ||
| empty-nested-style-processor.ts | ||
| empty-style-visitor-creator.ts | ||
| fix-utils.ts | ||
| index.ts | ||
| node-remover.ts | ||
| property-utils.ts | ||
| recipe-processor.ts | ||
| rule-definition.ts | ||
| style-variants-processor.ts | ||