{
  "includes": ["**/src/app/layout.tsx", "**/src/app/(cms-routes)/**", "**/src/project/**"],
  "linter": {
    "rules": {
      "style": {
        "noRestrictedImports": {
          "level": "error",
          "options": {
            "paths": {
              "next/headers": {
                "message": "Do not use next/headers in SSG surfaces (headers, cookies, draftMode break on-demand SSG in production). Use client-side window.location or createHubSpotBootstrapScript() with no args instead."
              },
              "next/server": {
                "importNames": ["connection"],
                "message": "Do not use connection() in SSG surfaces — it forces dynamic rendering and breaks on-demand SSG routes in production."
              },
              "next/cache": {
                "importNames": ["unstable_noStore"],
                "message": "Do not use unstable_noStore() in SSG surfaces — it opts out of static generation and breaks on-demand SSG routes in production."
              }
            }
          }
        }
      }
    }
  }
}
