Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(lint): lint generated MCP clients again with a targeted rule override (#73338)

Rafael Audibert87659f82f124
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index 8e6a326dc521..a159fd1a03dd 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -115,7 +115,6 @@
"frontend/src/layout.html",
"**/fixtures/**",
"services/mcp/**/generated.ts",
- "services/mcp/**/generated/**",
"services/mcp/src/**/*.md",
"services/mcp/worker-configuration.d.ts",
"frontend/src/taxonomy/core-filter-definitions-by-group.json",
diff --git a/.oxlintrc.json b/.oxlintrc.json
index 320b66db2ef6..e1fc923561d1 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -22,7 +22,6 @@
"frontend/src/queries/validators.js",
"frontend/src/generated/**",
"services/mcp/**/generated.ts",
- "services/mcp/**/generated/**",
"services/mcp/schema/tool-inputs.json",
"products/**/frontend/generated/**"
],
@@ -202,6 +201,12 @@
"react-hooks/rules-of-hooks": "off"
}
},
+ {
+ "files": ["services/mcp/src/generated/**/*.ts"],
+ "rules": {
+ "no-useless-escape": "off"
+ }
+ },
{
"files": ["services/mcp/src/ui-apps/**/*.{ts,tsx}"],
"rules": {