{
  "overrides": [
    {
      "files": ["src/**/*.{ts,tsx}"],
      "rules": {
        "@typescript-eslint/no-restricted-imports": [
          "error",
          {
            "patterns": [
              {
                "group": ["../../excalidraw", "../../../packages/excalidraw", "@excalidraw/excalidraw"],
                "message": "Do not import from '@excalidraw/excalidraw' package anything but types, as this package must be independent.",
                "allowTypeImports": true
              }
            ]
          }
        ]
      }
    }
  ]
}
