{
  "plugins": [
    "react",
    "import"
  ],
  "rules": {
    "react/forbid-elements": [
      "warn",
      {
        "forbid": []
      }
    ],
    "no-restricted-imports": [
      "warn",
      {
        "patterns": [
          {
            "group": [
              "ui_kits/alpr-app/**",
              "ui_kits/redactor-app/**",
              "ui_kits/sighthound-marketing/**",
              "ui_kits/video-app/**"
            ],
            "message": "Import design-system components from 'index.js', not component internals."
          }
        ]
      }
    ],
    "no-restricted-syntax": [
      "warn",
      {
        "selector": "Literal[value=/#[0-9a-fA-F]{3,8}\\b/]",
        "message": "Raw hex color — use a design-system color token via var()."
      },
      {
        "selector": "Literal[value=/\\b\\d+px\\b/]",
        "message": "Raw px value — use a design-system spacing token via var()."
      },
      {
        "selector": "Literal[value=/font-family\\s*:\\s*(?!['\\\"]?(?:Lexend))/i]",
        "message": "Font not provided by the design system. Available: Lexend."
      }
    ]
  },
  "overrides": [
    {
      "files": [
        "**/index.js"
      ],
      "rules": {
        "no-restricted-imports": "off"
      }
    }
  ],
  "x-omelette": {
    "components": {},
    "tokens": [
      "--bg-brand",
      "--bg-canvas",
      "--bg-inverse",
      "--bg-raised",
      "--bg-surface",
      "--border-default",
      "--border-focus",
      "--border-strong",
      "--border-subtle",
      "--dur-base",
      "--dur-fast",
      "--dur-slow",
      "--ease-out",
      "--ease-standard",
      "--fg-1",
      "--fg-2",
      "--fg-3",
      "--fg-accent",
      "--fg-inverse",
      "--fg-link",
      "--font-fallback",
      "--font-mono",
      "--font-sans",
      "--fs-body",
      "--fs-button",
      "--fs-caption",
      "--fs-h1",
      "--fs-h2",
      "--fs-h3",
      "--fs-h4",
      "--fs-h5",
      "--fs-overline",
      "--fw-bold",
      "--fw-light",
      "--fw-medium",
      "--fw-regular",
      "--fw-semibold",
      "--pattern-detection",
      "--pattern-dot-grid",
      "--pattern-dot-size",
      "--pattern-scan",
      "--pattern-square-grid",
      "--pattern-square-size",
      "--pattern-topo",
      "--radius-button",
      "--radius-lg",
      "--radius-md",
      "--radius-pill",
      "--radius-sm",
      "--sh-blurple",
      "--sh-blurple-100",
      "--sh-blurple-300",
      "--sh-blurple-50",
      "--sh-blurple-700",
      "--sh-blurple-800",
      "--sh-gradient-brand",
      "--sh-gradient-cool",
      "--sh-gradient-mist",
      "--sh-gradient-soft",
      "--sh-gradient-surface",
      "--sh-gradient-warm",
      "--sh-gray",
      "--sh-gray-200",
      "--sh-gray-400",
      "--sh-gray-600",
      "--sh-navy",
      "--sh-navy-500",
      "--sh-navy-700",
      "--sh-orange-light",
      "--sh-orange-medium",
      "--sh-orange-red",
      "--sh-white",
      "--shadow-focus",
      "--shadow-lg",
      "--shadow-md",
      "--shadow-sm",
      "--shadow-xs",
      "--space-1",
      "--space-10",
      "--space-12",
      "--space-16",
      "--space-2",
      "--space-20",
      "--space-24",
      "--space-3",
      "--space-4",
      "--space-5",
      "--space-6",
      "--space-8",
      "--status-danger",
      "--status-info",
      "--status-success",
      "--status-warning"
    ],
    "tokenKinds": {
      "--sh-blurple": "color",
      "--sh-blurple-700": "color",
      "--sh-blurple-800": "color",
      "--sh-blurple-300": "color",
      "--sh-blurple-100": "color",
      "--sh-blurple-50": "color",
      "--sh-white": "color",
      "--sh-navy": "color",
      "--sh-navy-700": "color",
      "--sh-navy-500": "color",
      "--sh-gray": "color",
      "--sh-gray-200": "color",
      "--sh-gray-400": "color",
      "--sh-gray-600": "color",
      "--sh-orange-light": "color",
      "--sh-orange-medium": "color",
      "--sh-orange-red": "color",
      "--sh-gradient-brand": "other",
      "--sh-gradient-warm": "other",
      "--sh-gradient-cool": "other",
      "--sh-gradient-surface": "color",
      "--sh-gradient-soft": "other",
      "--sh-gradient-mist": "other",
      "--pattern-dot-grid": "other",
      "--pattern-dot-size": "spacing",
      "--pattern-square-grid": "other",
      "--pattern-square-size": "spacing",
      "--pattern-topo": "other",
      "--pattern-scan": "other",
      "--pattern-detection": "other",
      "--fg-1": "color",
      "--fg-2": "color",
      "--fg-3": "color",
      "--fg-inverse": "color",
      "--fg-accent": "color",
      "--fg-link": "color",
      "--bg-canvas": "color",
      "--bg-surface": "color",
      "--bg-raised": "color",
      "--bg-inverse": "color",
      "--bg-brand": "color",
      "--border-subtle": "color",
      "--border-default": "color",
      "--border-strong": "color",
      "--border-focus": "color",
      "--status-success": "color",
      "--status-warning": "color",
      "--status-danger": "color",
      "--status-info": "color",
      "--font-sans": "font",
      "--font-fallback": "font",
      "--font-mono": "font",
      "--fw-light": "other",
      "--fw-regular": "other",
      "--fw-medium": "other",
      "--fw-semibold": "other",
      "--fw-bold": "other",
      "--fs-h1": "spacing",
      "--fs-h2": "spacing",
      "--fs-h3": "spacing",
      "--fs-h4": "spacing",
      "--fs-h5": "spacing",
      "--fs-body": "spacing",
      "--fs-button": "spacing",
      "--fs-caption": "spacing",
      "--fs-overline": "spacing",
      "--space-1": "spacing",
      "--space-2": "spacing",
      "--space-3": "spacing",
      "--space-4": "spacing",
      "--space-5": "spacing",
      "--space-6": "spacing",
      "--space-8": "spacing",
      "--space-10": "spacing",
      "--space-12": "spacing",
      "--space-16": "spacing",
      "--space-20": "spacing",
      "--space-24": "spacing",
      "--radius-sm": "radius",
      "--radius-md": "radius",
      "--radius-lg": "radius",
      "--radius-button": "radius",
      "--radius-pill": "radius",
      "--shadow-xs": "shadow",
      "--shadow-sm": "shadow",
      "--shadow-md": "shadow",
      "--shadow-lg": "shadow",
      "--shadow-focus": "shadow",
      "--ease-standard": "other",
      "--ease-out": "other",
      "--dur-fast": "other",
      "--dur-base": "other",
      "--dur-slow": "other"
    },
    "fontFamilies": [
      "Lexend"
    ]
  }
}