code-buster 0.11.0

Repository-aware static analysis for AI-assisted development
Documentation
{
  "id": "css-duplicate-declaration-set",
  "language": "css",
  "group": "maintainability",
  "listingTitle": "Share repeated CSS declaration sets",
  "title": "Share repeated CSS declaration sets",
  "mvvm": false,
  "defaultSeverity": "info",
  "legacyGroup": "maintainability",
  "why": "Independent selectors with the same substantial style can drift instead of evolving as one component.",
  "suggestion": "Extract a shared component class, utility, or custom property set when the selectors represent one visual role.",
  "version": 2,
  "semanticMaturity": "project",
  "securityKind": "none",
  "taxonomy": [
    "design"
  ],
  "requirements": [
    "sourceText"
  ],
  "packs": [
    "css",
    "ui"
  ],
  "implementation": "src/rules/ui_consistency.rs",
  "languages": [
    "css"
  ],
  "frameworks": [],
  "languageVersions": [],
  "limitations": [
    "Nested CSS blocks and semantically equivalent shorthand declarations are not compared; standalone scaffold template roots are compared independently."
  ]
}