🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
import baseConfig from "@repo/oxlint-config";
import type { OxlintConfig } from "oxlint";
const config: OxlintConfig = {
...baseConfig,
overrides: [
...baseConfig.overrides,
{
// Public index entrypoints declared in this package's exports map.
files: [
"src/index.ts",
"src/server/index.ts",
"src/server/clickhouse/index.ts",
"src/server/instrumentation/bootstrap/index.ts",
"src/utils/chatml/index.ts",
"src/utils/normalized-io/index.ts",
"src/encryption/index.ts",
"src/server/ee/ingestionMasking/index.ts",
"src/server/ee/fips/index.ts",
"src/server/ee/licenseCheck/index.ts",
"src/server/ee/clickhouseBilling/index.ts",
"src/features/query/index.ts",
"src/features/rbac/index.ts",
"src/features/query/server/index.ts",
"src/features/monitors/index.ts",
"src/features/pagerduty/index.ts",
"src/in-app-agent/index.ts",
"src/topics/index.ts",
"src/server/topics/index.ts",
],
rules: { "@repo/no-internal-barrel-files": "off" },
},
{
files: ["**/*"],
rules: {
// The native rule (unlike the eslint-js port web uses) also checks
// dynamic imports and supports allowTypeImports.
"no-restricted-imports": [
"error",
{
patterns: [
{
regex: "^next-auth(/|$)",
allowTypeImports: true,
message:
"next-auth is a devDependency of @langfuse/shared, so `pnpm deploy --prod` leaves it out of the worker image. Use `import type`; a value import crashes the worker at startup.",
},
],
},
],
},
},
],
};
export default config;