🪢 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
chore: Migrate to oxlint (#19613)
Ben Bachem1a1a1990c662
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERSindex 159f7be90e..c3b8a3b23f 100644--- a/.github/CODEOWNERS+++ b/.github/CODEOWNERS@@ -5,10 +5,10 @@/web/src/components/design-system/ @bezbac/web/.storybook/ @bezbac-# ESLint-/packages/config-eslint/ @bezbac+# Linting+/packages/config-oxlint/ @bezbac/packages/eslint-plugin/ @bezbac-**/eslint.config.mjs @bezbac+**/oxlint.config.mts @bezbac# Skills for langfuse assistant/packages/langfuse-skills/ @LysanderKie @bezbacdiff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 9df55fd85e..72663e9961 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -294,15 +294,7 @@ jobs:run: |cp .env.dev.example .env- name: lint web- # Web's typed linting duplicates its TypeScript project state in each- # worker (about 6.5 GB each), above Node's default heap limit. The- # 64 GB runner fits four workers; local `pnpm lint` stays- # single-process with an 8 GB heap for smaller machines. Web's script- # passes its own heap flag, which overrides NODE_OPTIONS.- env:- NODE_OPTIONS: --max_old_space_size=12288- WEB_LINT_MAX_OLD_SPACE_SIZE: "12288"- run: pnpm turbo run lint --filter=!ai-gateway --filter=!@langfuse/native --concurrency=3 -- --concurrency=4+ run: pnpm turbo run lint --filter=!ai-gateway --filter=!@langfuse/native --concurrency=3 -- --threads=4# Rust packages lint separately (ai-gateway in its own job).- name: lint native addon (rustfmt, clippy)run: pnpm --filter @langfuse/native run lintdiff --git a/.vscode/extensions.json b/.vscode/extensions.jsonindex 46f9f7d490..5cb32ea2a3 100644--- a/.vscode/extensions.json+++ b/.vscode/extensions.json@@ -1,7 +1,7 @@{"recommendations": ["esbenp.prettier-vscode",- "dbaeumer.vscode-eslint",+ "oxc.oxc-vscode","bradlc.vscode-tailwindcss","unifiedjs.vscode-mdx","yoavbls.pretty-ts-errors",diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 6101f71abf..379c48feca 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -1,21 +1,12 @@{"editor.codeActionsOnSave": {- "source.fixAll.eslint": "explicit"+ "source.fixAll.oxc": "explicit"},"editor.defaultFormatter": "esbenp.prettier-vscode","editor.formatOnSave": true,"editor.rulers": [100],"editor.tabSize": 2,- "eslint.validate": [- "javascript",- "javascriptreact",- "astro",- "typescript",- "typescriptreact"- ],-- "eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }],"typescript.tsdk": "node_modules/typescript/lib","prettier.documentSelectors": ["**/*.{cjs,mjs,ts,tsx,astro,md,mdx,json,yaml,yml}"@@ -27,12 +18,10 @@"[prisma]": {"editor.defaultFormatter": "Prisma.prisma"},- "eslint.lintTask.enable": true,- "eslint.workingDirectories": [+ "oxc.workingDirectories": [{ "pattern": "./web" },{ "pattern": "./worker" },{ "pattern": "./packages/shared" },{ "pattern": "./ee" }- ],- "eslint.useFlatConfig": true+ ]}diff --git a/ee/eslint.config.mjs b/ee/eslint.config.mjsdeleted file mode 100644index 2f597ef7e1..0000000000--- a/ee/eslint.config.mjs+++ /dev/null@@ -1,11 +0,0 @@-import baseConfig from "@repo/eslint-config";--export default [- ...baseConfig,- {- name: "langfuse/ee/package-entrypoints",- // Public index entrypoints declared in this package's exports map.- files: ["src/index.ts", "src/sso/index.ts"],- rules: { "@repo/no-internal-barrel-files": "off" },- },-];diff --git a/ee/oxlint.config.mts b/ee/oxlint.config.mtsnew file mode 100644index 0000000000..4b4ba84d48--- /dev/null+++ b/ee/oxlint.config.mts@@ -0,0 +1,16 @@+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/sso/index.ts"],+ rules: { "@repo/no-internal-barrel-files": "off" },+ },+ ],+};++export default config;diff --git a/ee/package.json b/ee/package.jsonindex b5866da806..4ef011bddc 100644--- a/ee/package.json+++ b/ee/package.json@@ -21,18 +21,17 @@"build": "tsc","typecheck": "dotenv -e ../../.env -- tsc --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo","dev": "tsc --watch",- "lint": "eslint --cache --cache-location dist/.eslintcache --max-warnings 0 --concurrency 2",- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix --concurrency 2"+ "lint": "oxlint --max-warnings 0",+ "lint:fix": "oxlint --fix ."},"dependencies": {"@langfuse/shared": "workspace:*","zod": "^4.6.6"},"devDependencies": {- "@repo/eslint-config": "workspace:*",+ "@repo/oxlint-config": "workspace:*","@repo/typescript-config": "workspace:*","@types/node": "^24.3.0",- "eslint": "catalog:","typescript": "catalog:"}}diff --git a/knip.jsonc b/knip.jsoncindex 76ff4e64ac..bdd70ab0b1 100644--- a/knip.jsonc+++ b/knip.jsonc@@ -20,6 +20,9 @@"ignoreBinaries": ["change"],},"packages/shared": {+ "oxlint": { "config": ["oxlint.config.mts"] },+ // Loaded through the inherited config; declared by @repo/oxlint-config.+ "ignoreDependencies": ["eslint-plugin-turbo"],"entry": [// Compile-time type assertions: `tsc` checks their `@ts-expect-error` cases, nothing imports them."src/**/*types.assert.ts",@@ -30,6 +33,9 @@],},"worker": {+ "oxlint": { "config": ["oxlint.config.mts"] },+ // Loaded through the inherited config; declared by @repo/oxlint-config.+ "ignoreDependencies": ["eslint-plugin-turbo"],"entry": [// Migration implementations are loaded dynamically from script names persisted in the database."src/backgroundMigrations/*.ts",@@ -50,6 +56,7 @@],},"web": {+ "oxlint": { "config": ["oxlint.config.mts"] },"entry": [// Components imported by MDX documentation, which Knip does not trace.".storybook/docs/**/*.tsx",@@ -67,6 +74,12 @@// Include runtime JavaScript modules such as src/env.mjs in dependency analysis."project": ["src/**/*.{ts,tsx,mjs}", ".storybook/docs/*.{ts,tsx}"],"ignoreDependencies": [+ // Loaded through the inherited config; declared by @repo/oxlint-config.+ "@next/eslint-plugin-next",+ "eslint-plugin-react",+ "eslint-plugin-turbo",+ // Boundaries loads this resolver from the name in oxlint.config.mts settings.+ "eslint-import-resolver-typescript",// Tailwind loads this plugin from an @plugin directive in globals.css."@tailwindcss/forms",// Tailwind loads this plugin from an @plugin directive in globals.css.@@ -80,19 +93,18 @@],},"ee": {+ "oxlint": { "config": ["oxlint.config.mts"] },+ // Loaded through the inherited config; declared by @repo/oxlint-config.+ "ignoreDependencies": ["eslint-plugin-turbo"],"project": ["src/**/*.ts"],},"packages/in-app-agent-sandbox-runtime": {"entry": ["src/server.ts"],"project": ["src/**/*.ts", "tests/**/*.ts"],},- "packages/config-eslint": {+ "packages/config-oxlint": {+ "oxlint": { "config": ["library.js", "next.js"] },"project": ["*.js"],- // eslint-plugin-import loads these from the resolver names in next.js settings.- "ignoreDependencies": [- "eslint-import-resolver-node",- "eslint-import-resolver-typescript",- ],},"packages/eslint-plugin": {"project": ["src/**/*.ts"],diff --git a/package.json b/package.jsonindex af32e617fe..e7dce5bf2a 100644--- a/package.json+++ b/package.json@@ -63,6 +63,8 @@"globals": "^16.5.0","husky": "^9.1.7","knip": "^6.22.0",+ "oxlint": "^1.90.0",+ "oxlint-tsgolint": "^7.0.2005","prettier": "^3.8.3","release-it": "^20.2.0","ts7": "npm:typescript@^7.0.2",diff --git a/packages/config-eslint/index.d.ts b/packages/config-eslint/index.d.tsdeleted file mode 100644index 0b3dadaf26..0000000000--- a/packages/config-eslint/index.d.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { Linter } from "eslint";--declare const config: Linter.Config[];--export default config;diff --git a/packages/config-eslint/index.js b/packages/config-eslint/index.jsdeleted file mode 100644index 61e8fa9491..0000000000--- a/packages/config-eslint/index.js+++ /dev/null@@ -1,2 +0,0 @@-// @ts-check-export { default } from "./library.js";diff --git a/packages/config-eslint/library.d.ts b/packages/config-eslint/library.d.tsdeleted file mode 100644index 0b3dadaf26..0000000000--- a/packages/config-eslint/library.d.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { Linter } from "eslint";--declare const config: Linter.Config[];--export default config;diff --git a/packages/config-eslint/library.js b/packages/config-eslint/library.jsdeleted file mode 100644index 2bc5c455f3..0000000000--- a/packages/config-eslint/library.js+++ /dev/null@@ -1,65 +0,0 @@-import js from "@eslint/js";-import globals from "globals";-import tseslint from "typescript-eslint";-import sharedConfig from "./shared.js";--export default tseslint.config(- // Global ignores- {- name: "langfuse/ignores",- ignores: ["**/build/", "**/.next/", "**/.*"],- },-- // Library JS rules (same as eslint v8 library.js)- js.configs.recommended,-- ...sharedConfig,-- // Global settings- {- name: "langfuse/library/globals",- languageOptions: {- ecmaVersion: 2022,- sourceType: "module",- globals: {- ...globals.node,- ...globals.es2021,- React: "readonly",- JSX: "readonly",- },- },- rules: {- "no-redeclare": "off",- "import/order": "off",- },- },-- // TypeScript-specific - parser only + custom rules- // Note: Old library.js had no TS rules, only eslint:recommended- // Adding parser + plugin to support custom rules, but not extending recommended- {- name: "langfuse/library/typescript",- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],- plugins: {- "@typescript-eslint": tseslint.plugin,- },- languageOptions: {- parser: tseslint.parser,- parserOptions: {- projectService: true,- },- },- rules: {- "no-undef": "off", // TypeScript handles this- "no-dupe-class-members": "off", // TypeScript handles this (and supports overloads)- "no-restricted-globals": [- "error",- {- name: "redis",- message: "Import redis explicitly from '@langfuse/shared/src/server'",- },- ],- "@typescript-eslint/no-deprecated": "warn",- },- },-);diff --git a/packages/config-eslint/next.d.ts b/packages/config-eslint/next.d.tsdeleted file mode 100644index 0b3dadaf26..0000000000--- a/packages/config-eslint/next.d.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { Linter } from "eslint";--declare const config: Linter.Config[];--export default config;diff --git a/packages/config-eslint/next.js b/packages/config-eslint/next.jsdeleted file mode 100644index c1efe6a882..0000000000--- a/packages/config-eslint/next.js+++ /dev/null@@ -1,224 +0,0 @@-import { fixupPluginRules } from "@eslint/compat";-import nextPlugin from "@next/eslint-plugin-next";-import importPlugin from "eslint-plugin-import";-import jsxA11yPlugin from "eslint-plugin-jsx-a11y";-import reactPlugin from "eslint-plugin-react";-import reactHooksPlugin from "eslint-plugin-react-hooks";-import globals from "globals";-import tseslint from "typescript-eslint";-import sharedConfig from "./shared.js";--export default [- // Global ignores - include config files- {- name: "langfuse/ignores",- ignores: ["**/.next/"],- },-- // Use the plugins directly because this repo owns its parser and import resolver setup.- {- name: "langfuse/next/base",- files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],- plugins: {- react: fixupPluginRules(reactPlugin),- "react-hooks": fixupPluginRules(reactHooksPlugin),- import: fixupPluginRules(importPlugin),- "jsx-a11y": fixupPluginRules(jsxA11yPlugin),- "@next/next": nextPlugin,- },- languageOptions: {- parserOptions: {- ecmaFeatures: {- jsx: true,- },- },- globals: {- ...globals.browser,- ...globals.node,- },- },- settings: {- react: {- version: "detect",- },- "import/parsers": {- "@typescript-eslint/parser": [".ts", ".mts", ".cts", ".tsx", ".d.ts"],- },- "import/resolver": {- node: {- extensions: [".js", ".jsx", ".ts", ".tsx"],- },- typescript: {- alwaysTryTypes: true,- },- },- },- rules: {- ...nextPlugin.configs["core-web-vitals"].rules,- "import/no-anonymous-default-export": "warn",- "import/no-duplicates": ["error", { "prefer-inline": true }],- "jsx-a11y/alt-text": ["warn", { elements: ["img"], img: ["Image"] }],- "jsx-a11y/aria-props": "warn",- "jsx-a11y/aria-proptypes": "warn",- "jsx-a11y/aria-unsupported-elements": "warn",- "jsx-a11y/role-has-required-aria-props": "warn",- "jsx-a11y/role-supports-aria-props": "warn",- },- },-- {- name: "langfuse/next/react",- files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],- ignores: ["**/*.servertest.{ts,tsx}"],- rules: {- ...reactPlugin.configs.recommended.rules,- ...reactHooksPlugin.configs.recommended.rules,- "react/no-unknown-property": "off",- "react/react-in-jsx-scope": "off",- "react/prop-types": "off",- "react/jsx-no-target-blank": "off",- "react/jsx-no-useless-fragment": "error",- "react/no-unstable-nested-components": "error",- "react-hooks/static-components": "error",- },- },-- {- name: "langfuse/next/typescript-parser",- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],- plugins: {- "@typescript-eslint": tseslint.plugin,- },- languageOptions: {- parser: tseslint.parser,- parserOptions: {- sourceType: "module",- },- },- },-- {- name: "langfuse/next/ignores",- ignores: [".next/**", "out/**", "build/**", "next-env.d.ts"],- },-- // Keep the pre-React-Compiler hooks baseline used by this repo.- {- name: "langfuse/next/react-hooks-overrides",- ignores: ["**/*.servertest.{ts,tsx}"],- rules: {- "react-hooks/component-hook-factories": "off",- "react-hooks/config": "off",- "react-hooks/error-boundaries": "off",- "react-hooks/gating": "off",- "react-hooks/globals": "off",- "react-hooks/immutability": "off",- "react-hooks/incompatible-library": "off",- "react-hooks/preserve-manual-memoization": "off",- "react-hooks/purity": "off",- "react-hooks/refs": "off",- "react-hooks/set-state-in-effect": "off",- "react-hooks/set-state-in-render": "off",- "react-hooks/unsupported-syntax": "off",- "react-hooks/use-memo": "off",- },- },-- ...sharedConfig,-- // Next.js discovers routes by filename, not imports.- {- name: "langfuse/next/route-entrypoints",- files: ["src/pages/**/*.{js,jsx,ts,tsx}"],- rules: { "@repo/no-internal-barrel-files": "off" },- },-- {- name: "langfuse/next/no-let-assign-in-react",- files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],- rules: {- "@repo/no-let-assign-in-react": "error",- },- },-- // Disable noisy turbo env var rule - project has many env vars not in turbo.json- {- name: "langfuse/next/turbo-overrides",- rules: {- "turbo/no-undeclared-env-vars": "off",- },- },-- // Layer repo-specific TS rules on top of Next's built-in flat TS config.- // Next already provides the parser and @typescript-eslint plugin here.- {- name: "langfuse/next/typescript",- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],- ignores: ["**/vitest.config.mts"],- languageOptions: {- parserOptions: {- projectService: true,- },- globals: {- React: "readonly",- JSX: "readonly",- },- },- settings: {- "import/resolver": {- typescript: {- project: "./tsconfig.json",- },- },- },- rules: {- "@repo/no-tailwind-overflow-scroll": "warn",- // Custom rules from old config- "@typescript-eslint/consistent-type-imports": [- "warn",- {- prefer: "type-imports",- fixStyle: "inline-type-imports",- },- ],- "@typescript-eslint/no-deprecated": "warn",- },- },- {- name: "langfuse/next/typescript-react",- files: ["**/*.{ts,tsx,mts,cts}"],- ignores: ["**/*.servertest.{ts,tsx}"],- rules: {- "react/jsx-curly-brace-presence": [- "warn",- {- props: "never",- children: "ignore",- propElementValues: "always",- },- ],- "react/jsx-key": ["error", { warnOnDuplicates: true }],- "react/no-unused-prop-types": "warn",- },- },- {- name: "langfuse/next/tests-and-stories",- files: [- "**/*.clienttest.{ts,tsx}",- "**/*.servertest.{ts,tsx}",- "**/*.test.{ts,tsx}",- "**/*.story.{ts,tsx}",- "**/*.stories.{ts,tsx}",- ],- rules: {- "@repo/no-tailwind-overflow-scroll": "off",- },- },- {- name: "langfuse/next/prefer-stories-over-client-tests",- files: ["**/*.clienttest.{ts,tsx}"],- rules: {- "@repo/prefer-stories-over-client-tests": "warn",- },- },-];diff --git a/packages/config-eslint/package.json b/packages/config-eslint/package.jsondeleted file mode 100644index d59e3cf561..0000000000--- a/packages/config-eslint/package.json+++ /dev/null@@ -1,47 +0,0 @@-{- "name": "@repo/eslint-config",- "version": "0.0.0",- "license": "MIT",- "private": true,- "type": "module",- "exports": {- ".": "./index.js",- "./library": "./library.js",- "./shared": "./shared.js",- "./next": "./next.js"- },- "files": [- "index.js",- "index.d.ts",- "library.js",- "library.d.ts",- "shared.js",- "shared.d.ts",- "next.js",- "next.d.ts"- ],- "dependencies": {- "@eslint/compat": "^2.1.0",- "@eslint/js": "^10.0.1",- "@next/eslint-plugin-next": "16.4.2",- "@repo/eslint-plugin": "workspace:*",- "eslint-config-prettier": "^10.1.8",- "eslint-config-turbo": "2.11.9",- "eslint-import-resolver-node": "^0.3.6",- "eslint-import-resolver-typescript": "^3.5.2",- "eslint-plugin-import": "^2.32.0",- "eslint-plugin-jsx-a11y": "^6.10.0",- "eslint-plugin-only-warn": "^1.1.0",- "eslint-plugin-react": "^7.37.0",- "eslint-plugin-react-hooks": "^7.0.0",- "globals": "^16.0.0",- "typescript-eslint": "^8.67.0"- },- "peerDependencies": {- "eslint": "^10.0.0",- "typescript": ">=5.0.0"- },- "devDependencies": {- "typescript": "catalog:"- }-}diff --git a/packages/config-eslint/shared.d.ts b/packages/config-eslint/shared.d.tsdeleted file mode 100644index 0b3dadaf26..0000000000--- a/packages/config-eslint/shared.d.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { Linter } from "eslint";--declare const config: Linter.Config[];--export default config;diff --git a/packages/config-eslint/shared.js b/packages/config-eslint/shared.jsdeleted file mode 100644index 6f9e7233a0..0000000000--- a/packages/config-eslint/shared.js+++ /dev/null@@ -1,114 +0,0 @@-import eslintConfigPrettier from "eslint-config-prettier";-import turboConfig from "eslint-config-turbo/flat";-import tseslint from "typescript-eslint";-import langfusePlugin from "@repo/eslint-plugin";-import "eslint-plugin-only-warn";--// Files allowed to create each Prisma model's rows; globs match trailing path segments.-const prismaWriters = {- apiKey: ["packages/shared/src/server/auth/apiKeys.ts"],- roleAssignment: [- "packages/shared/src/features/rbac/roleAssignmentService.ts",- ],-};--export default [- {- name: "langfuse/shared/ignores",- ignores: [- "**/node_modules/",- "**/dist/",- "**/coverage/",- "**/generated/",- "eslint.config.mjs",- ],- },-- // Turbo monorepo rules- ...turboConfig,-- // Disable ESLint rules that conflict with Prettier formatting.- eslintConfigPrettier,-- {- name: "langfuse/shared/rules",- rules: {- // Preserve the ESLint 9 recommended baseline during the v10 upgrade.- "no-unassigned-vars": "off",- "no-useless-assignment": "off",- "preserve-caught-error": "off",- "no-shadow-restricted-names": ["error", { reportGlobalThis: false }],- "no-void": "warn",- "no-else-return": "warn",- "no-unneeded-ternary": "warn",- "no-nested-ternary": "error",- "no-use-before-define": ["warn", { functions: false, classes: false }],- "@repo/no-exotic-operators": "warn",- "@repo/no-restricted-prisma-writes": ["error", { models: prismaWriters }],- },- },-- {- name: "langfuse/shared/no-internal-barrel-files",- files: ["**/index.{js,jsx,mjs,cjs,ts,tsx,mts,cts}"],- ignores: [- "**/*.{test,spec,clienttest,servertest,stories,story}.{js,jsx,mjs,cjs,ts,tsx,mts,cts}",- "**/{__tests__,__mocks__,tests,test,__stories__,stories}/**",- ],- rules: {- "@repo/no-internal-barrel-files": "error",- },- },-- {- name: "langfuse/shared/typescript-rules",- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],- plugins: {- "@typescript-eslint": tseslint.plugin,- },- rules: {- "no-use-before-define": "off",- "@typescript-eslint/no-use-before-define": [- "warn",- { functions: false, classes: false },- ],- "no-unused-vars": "off", // Use @typescript-eslint/no-unused-vars instead- "@typescript-eslint/no-unused-vars": [- "warn",- {- argsIgnorePattern: "^_",- varsIgnorePattern: "^_",- caughtErrorsIgnorePattern: "^_",- destructuredArrayIgnorePattern: "^_",- ignoreRestSiblings: true,- },- ],- "@typescript-eslint/no-inferrable-types": "warn",- },- },-- // Prisma `contains`/`startsWith`/`endsWith` and raw `LIKE` treat `_`, `%` and `\` as wildcards.- {- name: "langfuse/shared/no-unescaped-prisma-like-pattern",- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],- ignores: ["**/*.test.ts", "**/*.servertest.ts", "**/__tests__/**"],- rules: {- "@repo/no-unescaped-prisma-like-pattern": "warn",- },- },-- {- name: "langfuse/shared/repo-plugin",- plugins: {- "@repo": langfusePlugin,- },- },-- // Vitest in-source testing should only be used while developing, not in committed code.- {- name: "langfuse/no-in-source-vitest",- rules: {- "@repo/no-in-source-vitest": "warn",- },- },-];diff --git a/packages/config-oxlint/eslint-rules.js b/packages/config-oxlint/eslint-rules.jsnew file mode 100644index 0000000000..ed426064fd--- /dev/null+++ b/packages/config-oxlint/eslint-rules.js@@ -0,0 +1,18 @@+import { builtinRules } from "eslint/use-at-your-own-risk";++// ESLint's internal rule API is unsupported; keep ESLint pinned.+const noRestrictedSyntax = builtinRules.get("no-restricted-syntax");+if (!noRestrictedSyntax) {+ throw new Error("ESLint no-restricted-syntax is unavailable");+}+const noRestrictedImports = builtinRules.get("no-restricted-imports");+if (!noRestrictedImports) {+ throw new Error("ESLint no-restricted-imports is unavailable");+}++export default {+ rules: {+ "no-restricted-syntax": noRestrictedSyntax,+ "no-restricted-imports": noRestrictedImports,+ },+};diff --git a/packages/config-oxlint/library.d.ts b/packages/config-oxlint/library.d.tsnew file mode 100644index 0000000000..778b262fa9--- /dev/null+++ b/packages/config-oxlint/library.d.ts@@ -0,0 +1,5 @@+import type { OxlintConfig } from "oxlint";+declare const config: OxlintConfig & {+ overrides: NonNullable<OxlintConfig["overrides"]>;+};+export default config;diff --git a/packages/config-oxlint/library.js b/packages/config-oxlint/library.jsnew file mode 100644index 0000000000..ac9e161c3d--- /dev/null+++ b/packages/config-oxlint/library.js@@ -0,0 +1,217 @@+export default {+ categories: { correctness: "off" },+ plugins: ["typescript", "react", "import", "jsx-a11y", "nextjs", "unicorn"],+ options: { typeAware: true, reportUnusedDisableDirectives: "warn" },+ ignorePatterns: [+ "**/build/",+ "**/.next/",+ "**/.*",+ "**/node_modules/",+ "**/dist/",+ "**/coverage/",+ "**/generated/",+ "oxlint.config.*",+ ],+ overrides: [+ {+ files: ["**/index.{js,jsx,mjs,cjs,ts,tsx,mts,cts}"],+ excludeFiles: [+ "**/*.{test,spec,clienttest,servertest,stories,story}.{js,jsx,mjs,cjs,ts,tsx,mts,cts}",+ "**/{__tests__,__mocks__,tests,test,__stories__,stories}/**",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-internal-barrel-files": "warn",+ },+ },+ {+ files: ["**/*"],+ rules: {+ "constructor-super": "warn",+ "for-direction": "warn",+ "getter-return": "warn",+ "no-async-promise-executor": "warn",+ "no-case-declarations": "warn",+ "no-class-assign": "warn",+ "no-compare-neg-zero": "warn",+ "no-cond-assign": "warn",+ "no-const-assign": "warn",+ "no-constant-binary-expression": "warn",+ "no-constant-condition": "warn",+ "no-control-regex": "warn",+ "no-debugger": "warn",+ "no-delete-var": "warn",+ "no-dupe-class-members": "warn",+ "no-dupe-else-if": "warn",+ "no-dupe-keys": "warn",+ "no-duplicate-case": "warn",+ "no-empty": "warn",+ "no-empty-character-class": "warn",+ "no-empty-pattern": "warn",+ "no-empty-static-block": "warn",+ "no-ex-assign": "warn",+ "no-extra-boolean-cast": "warn",+ "no-fallthrough": "warn",+ "no-func-assign": "warn",+ "no-global-assign": "warn",+ "no-import-assign": "warn",+ "no-invalid-regexp": "warn",+ "no-irregular-whitespace": "warn",+ "no-loss-of-precision": "warn",+ "no-misleading-character-class": "warn",+ "no-new-native-nonconstructor": "warn",+ "no-nonoctal-decimal-escape": "warn",+ "no-obj-calls": "warn",+ "no-prototype-builtins": "warn",+ "no-redeclare": "warn",+ "no-regex-spaces": "warn",+ "no-self-assign": "warn",+ "no-setter-return": "warn",+ "no-shadow-restricted-names": "warn",+ "no-sparse-arrays": "warn",+ "no-this-before-super": "warn",+ "no-unassigned-vars": "warn",+ "no-undef": "warn",+ "no-unexpected-multiline": "warn",+ "no-unreachable": "warn",+ "no-unsafe-finally": "warn",+ "no-unsafe-negation": "warn",+ "no-unsafe-optional-chaining": "warn",+ "no-unused-labels": "warn",+ "no-unused-private-class-members": "warn",+ "no-unused-vars": "warn",+ "no-useless-assignment": "warn",+ "no-useless-backreference": "warn",+ "no-useless-catch": "warn",+ "no-useless-escape": "warn",+ "no-with": "warn",+ "preserve-caught-error": "warn",+ "require-yield": "warn",+ "use-isnan": "warn",+ "valid-typeof": "warn",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["eslint-plugin-turbo"],+ rules: {+ "turbo/no-undeclared-env-vars": "warn",+ },+ },+ {+ files: ["**/*"],+ rules: {+ curly: "off",+ "no-unexpected-multiline": "off",+ "unicorn/empty-brace-spaces": "off",+ "unicorn/no-nested-ternary": "off",+ "unicorn/number-literal-case": "off",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "no-unassigned-vars": "off",+ "no-useless-assignment": "off",+ "preserve-caught-error": "off",+ "no-shadow-restricted-names": [+ "warn",+ {+ reportGlobalThis: false,+ },+ ],+ "no-void": "warn",+ "no-else-return": "warn",+ "no-unneeded-ternary": "warn",+ "no-nested-ternary": "warn",+ "no-use-before-define": [+ "warn",+ {+ functions: false,+ classes: false,+ },+ ],+ "@repo/no-exotic-operators": "warn",+ "@repo/no-restricted-prisma-writes": [+ "warn",+ {+ models: {+ apiKey: ["packages/shared/src/server/auth/apiKeys.ts"],+ roleAssignment: [+ "packages/shared/src/features/rbac/roleAssignmentService.ts",+ ],+ },+ },+ ],+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ rules: {+ "no-use-before-define": [+ "warn",+ {+ functions: false,+ classes: false,+ },+ ],+ "no-unused-vars": [+ "warn",+ {+ argsIgnorePattern: "^_",+ varsIgnorePattern: "^_",+ caughtErrorsIgnorePattern: "^_",+ destructuredArrayIgnorePattern: "^_",+ ignoreRestSiblings: true,+ },+ ],+ "typescript/no-inferrable-types": "warn",+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ excludeFiles: ["**/*.test.ts", "**/*.servertest.ts", "**/__tests__/**"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-unescaped-prisma-like-pattern": "warn",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-in-source-vitest": "warn",+ },+ },+ {+ files: ["**/*"],+ env: {+ node: true,+ },+ globals: {+ React: "readonly",+ JSX: "readonly",+ },+ rules: {+ "no-redeclare": "off",+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ rules: {+ "no-undef": "off",+ "no-dupe-class-members": "off",+ "no-restricted-globals": [+ "warn",+ {+ name: "redis",+ message:+ "Import redis explicitly from '@langfuse/shared/src/server'",+ },+ ],+ "typescript/no-deprecated": "warn",+ },+ },+ ],+};diff --git a/packages/config-oxlint/next.d.ts b/packages/config-oxlint/next.d.tsnew file mode 100644index 0000000000..778b262fa9--- /dev/null+++ b/packages/config-oxlint/next.d.ts@@ -0,0 +1,5 @@+import type { OxlintConfig } from "oxlint";+declare const config: OxlintConfig & {+ overrides: NonNullable<OxlintConfig["overrides"]>;+};+export default config;diff --git a/packages/config-oxlint/next.js b/packages/config-oxlint/next.jsnew file mode 100644index 0000000000..8173c5032c--- /dev/null+++ b/packages/config-oxlint/next.js@@ -0,0 +1,323 @@+export default {+ categories: { correctness: "off" },+ plugins: ["typescript", "react", "import", "jsx-a11y", "nextjs", "unicorn"],+ options: { typeAware: true, reportUnusedDisableDirectives: "warn" },+ ignorePatterns: [+ "**/.next/",+ ".next/**",+ "out/**",+ "build/**",+ "next-env.d.ts",+ "**/node_modules/",+ "**/dist/",+ "**/coverage/",+ "**/generated/",+ "oxlint.config.*",+ ],+ overrides: [+ {+ files: ["**/index.{js,jsx,mjs,cjs,ts,tsx,mts,cts}"],+ excludeFiles: [+ "**/*.{test,spec,clienttest,servertest,stories,story}.{js,jsx,mjs,cjs,ts,tsx,mts,cts}",+ "**/{__tests__,__mocks__,tests,test,__stories__,stories}/**",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-internal-barrel-files": "warn",+ },+ },+ {+ // Next.js discovers routes by filename, not imports.+ files: ["src/pages/**/*.{js,jsx,ts,tsx}"],+ rules: { "@repo/no-internal-barrel-files": "off" },+ },+ {+ files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],+ jsPlugins: [{ name: "next-js", specifier: "@next/eslint-plugin-next" }],+ env: {+ node: true,+ browser: true,+ },+ rules: {+ "next-js/no-location-assign-relative-destination": "warn",+ "nextjs/google-font-display": "warn",+ "nextjs/google-font-preconnect": "warn",+ "nextjs/next-script-for-ga": "warn",+ "nextjs/no-async-client-component": "warn",+ "nextjs/no-before-interactive-script-outside-document": "warn",+ "nextjs/no-css-tags": "warn",+ "nextjs/no-head-element": "warn",+ "nextjs/no-html-link-for-pages": "warn",+ "nextjs/no-img-element": "warn",+ "nextjs/no-page-custom-font": "warn",+ "nextjs/no-styled-jsx-in-document": "warn",+ "nextjs/no-sync-scripts": "warn",+ "nextjs/no-title-in-document-head": "warn",+ "nextjs/no-typos": "warn",+ "nextjs/no-unwanted-polyfillio": "warn",+ "nextjs/inline-script-id": "warn",+ "nextjs/no-assign-module-variable": "warn",+ "nextjs/no-document-import-in-page": "warn",+ "next-js/no-duplicate-head": "warn",+ "nextjs/no-head-import-in-document": "warn",+ "nextjs/no-script-component-in-head": "warn",+ "import/no-anonymous-default-export": "warn",+ "import/no-duplicates": [+ "warn",+ {+ preferInline: true,+ },+ ],+ "jsx-a11y/alt-text": [+ "warn",+ {+ elements: ["img"],+ img: ["Image"],+ },+ ],+ "jsx-a11y/aria-props": "warn",+ "jsx-a11y/aria-proptypes": "warn",+ "jsx-a11y/aria-unsupported-elements": "warn",+ "jsx-a11y/role-has-required-aria-props": "warn",+ "jsx-a11y/role-supports-aria-props": "warn",+ },+ },+ {+ files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],+ excludeFiles: ["**/*.servertest.{ts,tsx}"],+ jsPlugins: [{ name: "react-js", specifier: "eslint-plugin-react" }],+ rules: {+ "react-js/no-deprecated": "warn",+ "react/display-name": "warn",+ "react/jsx-key": [+ "warn",+ {+ checkFragmentShorthand: false,+ checkKeyMustBeforeSpread: false,+ warnOnDuplicates: false,+ },+ ],+ "react/jsx-no-comment-textnodes": "warn",+ "react/jsx-no-duplicate-props": "warn",+ "react/jsx-no-target-blank": "off",+ "react/jsx-no-undef": "warn",+ "react/no-children-prop": "warn",+ "react/no-danger-with-children": "warn",+ "react/no-direct-mutation-state": "warn",+ "react/no-find-dom-node": "warn",+ "react/no-is-mounted": "warn",+ "react/no-render-return-value": "warn",+ "react/no-string-refs": "warn",+ "react/no-unescaped-entities": "warn",+ "react/no-unknown-property": "off",+ "react/no-unsafe": "off",+ "react/react-in-jsx-scope": "off",+ "react/require-render-return": "warn",+ "react/rules-of-hooks": "warn",+ "react/exhaustive-deps": "warn",+ "react/static-components": "warn",+ "react/use-memo": "warn",+ "react/preserve-manual-memoization": "warn",+ "react/incompatible-library": "warn",+ "react/immutability": "warn",+ "react/globals": "warn",+ "react/refs": "warn",+ "react/set-state-in-effect": "warn",+ "react/error-boundaries": "warn",+ "react/purity": "warn",+ "react/set-state-in-render": "warn",+ "react/unsupported-syntax": "warn",+ "react/jsx-no-useless-fragment": "warn",+ "react/no-unstable-nested-components": "warn",+ },+ },+ {+ files: ["**/*"],+ excludeFiles: ["**/*.servertest.{ts,tsx}"],+ rules: {+ "react/error-boundaries": "off",+ "react/globals": "off",+ "react/immutability": "off",+ "react/incompatible-library": "off",+ "react/preserve-manual-memoization": "off",+ "react/purity": "off",+ "react/refs": "off",+ "react/set-state-in-effect": "off",+ "react/set-state-in-render": "off",+ "react/unsupported-syntax": "off",+ "react/use-memo": "off",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["eslint-plugin-turbo"],+ rules: {+ "turbo/no-undeclared-env-vars": "warn",+ },+ },+ {+ files: ["**/*"],+ rules: {+ curly: "off",+ "no-unexpected-multiline": "off",+ "unicorn/empty-brace-spaces": "off",+ "unicorn/no-nested-ternary": "off",+ "unicorn/number-literal-case": "off",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "no-unassigned-vars": "off",+ "no-useless-assignment": "off",+ "preserve-caught-error": "off",+ "no-shadow-restricted-names": [+ "warn",+ {+ reportGlobalThis: false,+ },+ ],+ "no-void": "warn",+ "no-else-return": "warn",+ "no-unneeded-ternary": "warn",+ "no-nested-ternary": "warn",+ "no-use-before-define": [+ "warn",+ {+ functions: false,+ classes: false,+ },+ ],+ "@repo/no-exotic-operators": "warn",+ "@repo/no-restricted-prisma-writes": [+ "warn",+ {+ models: {+ apiKey: ["packages/shared/src/server/auth/apiKeys.ts"],+ roleAssignment: [+ "packages/shared/src/features/rbac/roleAssignmentService.ts",+ ],+ },+ },+ ],+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ rules: {+ "no-use-before-define": [+ "warn",+ {+ functions: false,+ classes: false,+ },+ ],+ "no-unused-vars": [+ "warn",+ {+ argsIgnorePattern: "^_",+ varsIgnorePattern: "^_",+ caughtErrorsIgnorePattern: "^_",+ destructuredArrayIgnorePattern: "^_",+ ignoreRestSiblings: true,+ },+ ],+ "typescript/no-inferrable-types": "warn",+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ excludeFiles: ["**/*.test.ts", "**/*.servertest.ts", "**/__tests__/**"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-unescaped-prisma-like-pattern": "warn",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-in-source-vitest": "warn",+ },+ },+ {+ files: ["**/*.{js,jsx,mjs,ts,tsx,mts,cts}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-let-assign-in-react": "warn",+ },+ },+ {+ files: ["**/*"],+ jsPlugins: ["eslint-plugin-turbo"],+ rules: {+ "turbo/no-undeclared-env-vars": "off",+ },+ },+ {+ files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],+ excludeFiles: ["**/vitest.config.mts"],+ globals: {+ React: "readonly",+ JSX: "readonly",+ },+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-tailwind-overflow-scroll": "warn",+ "typescript/consistent-type-imports": [+ "warn",+ {+ prefer: "type-imports",+ fixStyle: "inline-type-imports",+ },+ ],+ "typescript/no-deprecated": "warn",+ },+ },+ {+ files: ["**/*.{ts,tsx,mts,cts}"],+ excludeFiles: ["**/*.servertest.{ts,tsx}"],+ jsPlugins: [{ name: "react-js", specifier: "eslint-plugin-react" }],+ rules: {+ "react-js/no-unused-prop-types": "warn",+ "react/jsx-curly-brace-presence": [+ "warn",+ {+ props: "never",+ children: "ignore",+ propElementValues: "always",+ },+ ],+ "react/jsx-key": [+ "warn",+ {+ warnOnDuplicates: true,+ checkFragmentShorthand: false,+ checkKeyMustBeforeSpread: false,+ },+ ],+ },+ },+ {+ files: [+ "**/*.clienttest.{ts,tsx}",+ "**/*.servertest.{ts,tsx}",+ "**/*.test.{ts,tsx}",+ "**/*.story.{ts,tsx}",+ "**/*.stories.{ts,tsx}",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-tailwind-overflow-scroll": "off",+ },+ },+ {+ files: ["**/*.clienttest.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/prefer-stories-over-client-tests": "warn",+ },+ },+ ],+};diff --git a/packages/config-oxlint/package.json b/packages/config-oxlint/package.jsonnew file mode 100644index 0000000000..9a8cea7d0b--- /dev/null+++ b/packages/config-oxlint/package.json@@ -0,0 +1,23 @@+{+ "name": "@repo/oxlint-config",+ "version": "0.0.0",+ "private": true,+ "license": "MIT",+ "type": "module",+ "exports": {+ ".": "./library.js",+ "./library": "./library.js",+ "./next": "./next.js",+ "./eslint-rules": "./eslint-rules.js"+ },+ "dependencies": {+ "@next/eslint-plugin-next": "16.4.2",+ "@repo/eslint-plugin": "workspace:*",+ "eslint-plugin-turbo": "2.11.9",+ "eslint-plugin-react": "^7.37.0",+ "eslint": "10.8.0"+ },+ "peerDependencies": {+ "oxlint": "^1.90.0"+ }+}diff --git a/packages/shared/eslint.config.mjs b/packages/shared/eslint.config.mjsdeleted file mode 100644index ca27f1e199..0000000000--- a/packages/shared/eslint.config.mjs+++ /dev/null@@ -1,31 +0,0 @@-import baseConfig from "@repo/eslint-config";--export default [- ...baseConfig,- {- name: "langfuse/shared/package-entrypoints",- // 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" },- },-];diff --git a/packages/shared/oxlint.config.mts b/packages/shared/oxlint.config.mtsnew file mode 100644index 0000000000..6031c491ee--- /dev/null+++ b/packages/shared/oxlint.config.mts@@ -0,0 +1,36 @@+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" },+ },+ ],+};++export default config;diff --git a/packages/shared/package.json b/packages/shared/package.jsonindex 3eb0f9db6f..9427ef8fc8 100644--- a/packages/shared/package.json+++ b/packages/shared/package.json@@ -200,8 +200,8 @@"build": "tsc","typecheck": "dotenv -e ../../.env -- tsc --noEmit --incremental --tsBuildInfoFile .tsbuildinfo","dev": "tsc --watch",- "lint": "eslint --cache --cache-location dist/.eslintcache --max-warnings 0 --concurrency 2",- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix --concurrency 2",+ "lint": "oxlint --max-warnings 0",+ "lint:fix": "oxlint --fix .","test": "dotenv -e ../../.env -- vitest run","db:migrate": "DISABLE_ERD=false dotenv -e ../../.env -- npx prisma migrate dev","db:push": "DISABLE_ERD=false dotenv -e ../../.env -- npx prisma db push",@@ -290,14 +290,13 @@},"devDependencies": {"@opentelemetry/context-async-hooks": "^2.9.0",- "@repo/eslint-config": "workspace:*",+ "@repo/oxlint-config": "workspace:*","@repo/typescript-config": "workspace:*","@types/lodash": "^4.17.24","@types/node": "^24.3.0","@types/nodemailer": "^8.0.1","@types/react": "19.2.14","dotenv-cli": "^7.4.4",- "eslint": "catalog:","prisma": "^6.19.3","tsx": "^4.20.5","typescript": "catalog:",diff --git a/packages/shared/src/server/auth/apiKeys.test.ts b/packages/shared/src/server/auth/apiKeys.test.tsindex 4f5a241980..31818b1ac3 100644--- a/packages/shared/src/server/auth/apiKeys.test.ts+++ b/packages/shared/src/server/auth/apiKeys.test.ts@@ -271,6 +271,7 @@ describe("createApiKey assignment rows", () => {scope: OrganizationId(ORG_ID),role: SystemRoleId("LEGACY_ORGANIZATION_API_KEY"),createdBy: "system",+ // eslint-disable-next-line @typescript-eslint/no-deprecatednote,});diff --git a/packages/shared/src/server/llm/ai-sdk/providers/vertex.ts b/packages/shared/src/server/llm/ai-sdk/providers/vertex.tsindex d0da206c74..6bd510546a 100644--- a/packages/shared/src/server/llm/ai-sdk/providers/vertex.ts+++ b/packages/shared/src/server/llm/ai-sdk/providers/vertex.ts@@ -94,6 +94,7 @@ async function resolveVertexConnection(params: {: GCPServiceAccountKeySchema.parse(JSON.parse(apiKey));const googleAuthOptions: GoogleAuthOptions | undefined = serviceAccountKey? {+ // eslint-disable-next-line @typescript-eslint/no-deprecatedcredentials: serviceAccountKey,projectId: serviceAccountKey.project_id,}diff --git a/packages/shared/src/server/repositories/events.test.ts b/packages/shared/src/server/repositories/events.test.tsindex 324c0f4344..2cef977ac9 100644--- a/packages/shared/src/server/repositories/events.test.ts+++ b/packages/shared/src/server/repositories/events.test.ts@@ -55,6 +55,7 @@ const inputContainsFilter: EventsTableFilterState = [const captureQuery = () => {const call = mockQueryClickhouse.mock.calls.at(0);+ // eslint-disable-next-line no-unsafe-optional-chainingreturn (call?.[0] as { query: string }).query;};diff --git a/packages/shared/src/server/services/blockEvaluators.test.ts b/packages/shared/src/server/services/blockEvaluators.test.tsindex 92d4eb2786..9e2afef868 100644--- a/packages/shared/src/server/services/blockEvaluators.test.ts+++ b/packages/shared/src/server/services/blockEvaluators.test.ts@@ -208,12 +208,14 @@ describe("model-usage selection", () => {};};+ /* eslint-disable no-unsafe-optional-chaining */const claimedIds = (evaluatorFindMany: ReturnType<typeof vi.fn>) =>(evaluatorFindMany.mock.calls.at(-1)?.[0] as {where: { id?: { in: string[] } };}).where.id?.in;+ /* eslint-enable no-unsafe-optional-chaining */it("selects evaluators whose current version pins the deleted provider", async () => {const { tx, evaluatorFindMany } = txFor();diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex eea48eb5e5..857734f593 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -33,9 +33,6 @@ catalogs:'@aws-sdk/s3-request-presigner':specifier: 3.1074.0version: 3.1074.0- eslint:- specifier: ^10.8.0- version: 10.8.0typescript:specifier: npm:@typescript/typescript6@^6.0.2version: 6.0.2@@ -107,6 +104,12 @@ importers:knip:specifier: ^6.22.0version: 6.22.0+ oxlint:+ specifier: ^1.90.0+ version: 1.90.0([email protected])+ oxlint-tsgolint:+ specifier: ^7.0.2005+ version: 7.0.2005prettier:specifier: ^3.8.3version: 3.8.3@@ -135,30 +138,21 @@ importers:specifier: 4.6.6version: 4.6.6devDependencies:- '@repo/eslint-config':+ '@repo/oxlint-config':specifier: workspace:*- version: link:../packages/config-eslint+ version: link:../packages/config-oxlint'@repo/typescript-config':specifier: workspace:*version: link:../packages/config-typescript'@types/node':specifier: ^24.3.0version: 24.3.0- eslint:- specifier: 'catalog:'- version: 10.8.0([email protected])([email protected])typescript:specifier: 'catalog:'version: '@typescript/[email protected]'- packages/config-eslint:+ packages/config-oxlint:dependencies:- '@eslint/compat':- specifier: ^2.1.0- '@eslint/js':- specifier: ^10.0.1'@next/eslint-plugin-next':specifier: 16.4.2@@ -166,45 +160,17 @@ importers:specifier: workspace:*version: link:../eslint-plugineslint:- specifier: ^10.0.0+ specifier: 10.8.0version: 10.8.0([email protected])([email protected])- eslint-config-prettier:- specifier: ^10.1.8- eslint-config-turbo:- specifier: 2.11.9- eslint-import-resolver-node:- specifier: ^0.3.6- version: 0.3.10([email protected])- eslint-import-resolver-typescript:- specifier: ^3.5.2- version: 3.10.1([email protected])([email protected]([email protected])([email protected]))([email protected])- eslint-plugin-import:- specifier: ^2.32.0- version: 2.32.0(@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected])- eslint-plugin-jsx-a11y:- specifier: ^6.10.0- eslint-plugin-only-warn:- specifier: ^1.1.0- version: 1.2.1eslint-plugin-react:specifier: ^7.37.0- eslint-plugin-react-hooks:- specifier: ^7.0.0- globals:- specifier: ^16.0.0- version: 16.5.0- typescript-eslint:- specifier: ^8.67.0- version: 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- devDependencies:- typescript:- specifier: 'catalog:'- version: '@typescript/[email protected]'+ eslint-plugin-turbo:+ specifier: 2.11.9+ oxlint:+ specifier: ^1.90.0+ version: 1.90.0([email protected])packages/config-typescript: {}@@ -498,9 +464,9 @@ importers:'@opentelemetry/context-async-hooks':specifier: ^2.9.0version: 2.9.0(@opentelemetry/[email protected])- '@repo/eslint-config':+ '@repo/oxlint-config':specifier: workspace:*- version: link:../config-eslint+ version: link:../config-oxlint'@repo/typescript-config':specifier: workspace:*version: link:../config-typescript@@ -519,9 +485,6 @@ importers:dotenv-cli:specifier: ^7.4.4version: 7.4.4- eslint:- specifier: 'catalog:'- version: 10.8.0([email protected])([email protected])prisma:specifier: ^6.19.3version: 6.19.3(@typescript/[email protected])([email protected])@@ -979,9 +942,9 @@ importers:'@playwright/test':specifier: ^1.57.0version: 1.57.0- '@repo/eslint-config':+ '@repo/oxlint-config':specifier: workspace:*- version: link:../packages/config-eslint+ version: link:../packages/config-oxlint'@repo/typescript-config':specifier: workspace:*version: link:../packages/config-typescript@@ -1072,12 +1035,12 @@ importers:esbuild:specifier: 0.28.1version: 0.28.1- eslint:- specifier: 'catalog:'- version: 10.8.0([email protected])([email protected])+ eslint-import-resolver-typescript:+ specifier: ^3.5.2eslint-plugin-boundaries:specifier: 7.2.0- version: 7.2.0([email protected])([email protected]([email protected])([email protected]))([email protected])+ version: 7.2.0([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected])eslint-plugin-check-file:specifier: 3.3.2@@ -1286,9 +1249,9 @@ importers:specifier: 4.6.6version: 4.6.6devDependencies:- '@repo/eslint-config':+ '@repo/oxlint-config':specifier: workspace:*- version: link:../packages/config-eslint+ version: link:../packages/config-oxlint'@repo/typescript-config':specifier: workspace:*version: link:../packages/config-typescript@@ -1310,9 +1273,6 @@ importers:'@vitest/coverage-v8':specifier: ^4.1.12version: 4.1.12(@vitest/[email protected])([email protected])- eslint:- specifier: 'catalog:'- version: 10.8.0([email protected])([email protected])fast-check:specifier: 3.23.2version: 3.23.2@@ -2284,15 +2244,6 @@ packages:resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}- '@eslint/[email protected]':- resolution: {integrity: sha512-LgaSCymEpw7tF53xvDw9SNsraPb1IBHxpdABIOM0hW8UAlP8znrjYtuxfR58FSJ3L9BhwD+FaPRFQpZq84Nh6g==}- engines: {node: ^20.19.0 || ^22.13.0 || >=24}- peerDependencies:- eslint: ^8.40 || 9 || 10- peerDependenciesMeta:- eslint:- optional: true-'@eslint/[email protected]':resolution: {integrity: sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==}engines: {node: ^20.19.0 || ^22.13.0 || >=24}@@ -2305,15 +2256,6 @@ packages:resolution: {integrity: sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==}engines: {node: ^20.19.0 || ^22.13.0 || >=24}- '@eslint/[email protected]':- resolution: {integrity: sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==}- engines: {node: ^20.19.0 || ^22.13.0 || >=24}- peerDependencies:- eslint: ^10.0.0- peerDependenciesMeta:- eslint:- optional: true-'@eslint/[email protected]':resolution: {integrity: sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==}engines: {node: ^20.19.0 || ^22.13.0 || >=24}@@ -4650,6 +4592,158 @@ packages:cpu: [x64]os: [win32]+ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-VqDZxcZVjlonNLuuvraVNgDQt+1ndwa4yJo8OqsK4HYh/61ba9IlMStCVfi/aaIqRoDhNbAKC8gdcTrXqnb+Ug==}+ cpu: [arm64]+ os: [darwin]++ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-4kUfLRNYoVpv0Tm3jPYrvxyfOc/LmdvFC3pKZ4tL6K7lA7K/VS81SAtmxRzbYXYSyb3SBWhwsuX+df4neqzxxA==}+ cpu: [x64]+ os: [darwin]++ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-rhUNcPsBlKvhXtrbhbBUidtRBRdJ8fbEHN9H5Q5N59gby18ruGuDA7KUxl7oRnUzp797uykYQhkBDm+0KpfK/Q==}+ cpu: [arm64]+ os: [linux]++ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-tKs9yinDQZOHygM0e8EJnjTU3mzJtdfkOZP6Udu82iLMePUSHOhTJ9zzU/mSd1hQxURI4LTRRiFhfzC+PzwdNA==}+ cpu: [x64]+ os: [linux]++ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-VYPnu1gjfbSv+ROhuyNfMs382D4zQU2ZRc8Uc3nuEZo1k2kf+1KfTrg4hrlWh73h9GI+dUWyo+DYCQzUBlPwcQ==}+ cpu: [arm64]+ os: [win32]++ '@oxlint-tsgolint/[email protected]':+ resolution: {integrity: sha512-ekU89cTGy9fpQzuvxIsFHrnoP8XoFjGIRgPEW6eqgY2NYjGy9pwpjF79o04WXRMJFKRrcaVqkZXUUBdLsqpQDw==}+ cpu: [x64]+ os: [win32]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-sgfalb1HuxYjiAa4wESZ626z1FGusqNcXYHyB5oIOEprS2sbPg0UYEfo83uF1GNG70DIfZxHkXuE6KFrlSdn8Q==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm]+ os: [android]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-RcKhz1ETMq+fazE9TKS2+5NIRGwigm/nW8egqF0LI+A8Yw2iW5r0E/C3XAPRiwIm/vcPiutIRIa6IQCIKhZsTQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [android]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-PSrxMvP6mx+p1karZcUxLdy9lpaP+JWQPti4al9FgTaPhxE+pT/BjhGExloVVSWgZgIfOlLOjVyyq8BXlodhLQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [darwin]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-OLbU9qsrV2Q8QxT2OEzOPdO8zCCpyI8qB+hDI8yr6RsYELtkf0FAZhJdfjM/RnLHKzt44HWwAPnk92vBtKofvw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [darwin]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-fBA4pWyVDARmNucQqpyFuPC49xYf1r+sX7dxPL5fNPQrSMLum39Sn56tZ9JPleWC7FzLPwSQ7plYYfirYBHF8A==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [freebsd]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-zhxH78eP2nR6/pGdhBc7MIfjhhcgATeu8fkmkFJbuzfk6Cj0FzBxyEhL85yDqrCybjx+G2YDzZGsxIO9kvO4Iw==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm]+ os: [linux]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-MvYmpHyJqUJjEvkZbJHdwfdL45cGn8EVBkYmoXFiaYFW9suoD3dbJl5mBdpy0DVgdjlyddmldbRtk3cCgETadQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm]+ os: [linux]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-L13Sy+Kg0nZhwTsToniqjUFPA2TuM6962qCZ5Wp5KeB517Tw7ApdLTTtlb+bF86fcZZa2EtvCVvAJxk4Dya/MQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-wFDdZWGpzIPFdJFjSLWnKB0TGzFriTKUIrl04iMqMyM9BBIJTuerfCHYa0WpDSjr5x3lcW/CHLyacSt886WpGg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-FRywfn+MoKn8xpBSzgNwNVliSKRI2QXkxi/iF7o6FEQs8Bh8z2RpVTaFAcO3pchXjvB2eGNFIoLLQABIQ+u7VA==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [ppc64]+ os: [linux]+ libc: [glibc]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-IS2PaUgpc/qeLADTyhUNmdx3x4ijs9pjJdPKBYHaT+mAE7k3FsjnHPTjhpsak1b++h6CIPhv6WX9Z+y7Pw0voQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [riscv64]+ os: [linux]+ libc: [glibc]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-s7JFKRkGS8O7i2ZVODfuO++NC7sH6HDqpMn8lYxw91w0SXJOxnAVjQ8utvmDwLMMT0jaSkuOKuUYJDGDtu4sHQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [riscv64]+ os: [linux]+ libc: [musl]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-b0GxrOQr5VONCkd7KLSqmP6b6nqZuTpuS8QPQHzltmqdXP5bY0Jl0CZ0QmlCTrS3ExaLYbioFYOARzNbYvcApQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [s390x]+ os: [linux]+ libc: [glibc]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-iaJeShJtgUp8rZbt9YUdTAGOpmX5KogCLba17Jp1tWdJ3F4M3D2g2TKUyI1FMTHxKH9NNHuQcuC2kZRg6IV7yQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-/aZoXnL5WBLCXuzfHqvEFXcm4iwYmr/cYByHDTXzLFzJdE5DC7bm6phpWqHv6BeqpVgY9IpBAxGDv2WEkl5JCg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-SMhk7ozwoxYDKfYqGZCQEfULOKDneF9uhaoIf2neoDLWvNtjY9yVeL7YHmE5L9WdKvMpWNwwZxhenxBu6AgfOg==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [openharmony]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-KBvR3A9fO7fCi2vCP8ifWvlia7tGEQV9NaYh+IGwa/7Groy48Mt/UaYqMK9/zOtAWl20BUCf6RPqzJ32fRw33Q==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [arm64]+ os: [win32]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-+x42rDHQGbTCuT3EzpWAzhP3NoVPE/cJsG4gnrakOSg0olV+GCdMpPU23Nvrl3zZMnXxFZdTtDv4D3SuaA5ZeQ==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [ia32]+ os: [win32]++ '@oxlint/[email protected]':+ resolution: {integrity: sha512-30JiaFEBUB9peEOcvVM8ggo88SoN/IdSr9DW505JdBji/R6dM66gKEiG65hw6qcaF2f4mO0cEJ+RwRZprmun9g==}+ engines: {node: ^20.19.0 || >=22.12.0}+ cpu: [x64]+ os: [win32]+'@panva/[email protected]':resolution: {integrity: sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw==}@@ -5715,9 +5809,6 @@ packages:cpu: [x64]os: [win32]- '@rtsao/[email protected]':- resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}-'@scalar/[email protected]':resolution: {integrity: sha512-N1ZEIKHrOhbB6mSUuaeMbNEK8G0lhXu8aHj8RqPMjKAkm0IbZVGCEkFgRCzaqDMcdsXKqQKygzx2a5pV5gX6Ow==}engines: {node: '>=22'}@@ -6567,9 +6658,6 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}- '@types/[email protected]':- resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}-'@types/[email protected]':resolution: {integrity: sha512-asx5hIG9Qmf/1oStypjanR7iKTv0gXQ1Ov/jfrX6kS/EO0OFni8orbmGCn0672NHR3kXHwpAwR+B368ZGN/2rA==}@@ -6675,14 +6763,6 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-Un7Heoyj65NREbKAyIrFxeM143NZpExWmy1Nep4DLeQOeLlTeumPjoNKnBrU5D5moWXbPJgRa5Uwcdu0faVNGQ==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- '@typescript-eslint/parser': ^8.67.0- eslint: ^8.57.0 || ^9.0.0 || ^10.0.0- typescript: '>=4.8.4 <6.1.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-fUBfTuuEulWqX6V8+O3PtScV01tzYYRUDTAirHFKoRAt7nOzoGiPt0M/bB47wWNy0coOOcgEwAMUtBpykMxl6w==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -6713,13 +6793,6 @@ packages:peerDependencies:typescript: '>=4.8.4 <6.1.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-aVWDXbRmdXO9siTfX4ditQI1T9+zVcNazT48EJCD0v40/9RIFoUgZ05CmGEq9H2gixRpjUn/iplwvlcvutJW/Q==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0 || ^10.0.0- typescript: '>=4.8.4 <6.1.0'-'@typescript-eslint/[email protected]':resolution: {integrity: sha512-sBtgslww8nsMYUjhdPBiSyUqSzT8uR6g93A2QXnQC8+cGdjz0CyaOdqHDRJb1AtORbZCNUJBBeFA/tNR2uQmww==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -7375,18 +7448,14 @@ packages:resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==}+ resolution: {integrity: sha512-VXY5eFRarnXcYxwBjJzPmEhH55+rmP79/+ueDhi0F+TuqfHCItagIHqxeUZrmgrOPa31QTh9H85DjX3FfJ0FTg==}engines: {node: '>= 0.4'}resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}- engines: {node: '>= 0.4'}-resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}engines: {node: '>= 0.4'}@@ -7418,9 +7487,6 @@ packages:resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}engines: {node: '>=12'}- resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}-resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==}engines: {node: '>=4'}@@ -7466,10 +7532,6 @@ packages:resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==}- resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}- engines: {node: '>= 0.4'}-resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}@@ -7584,8 +7646,8 @@ packages:resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==}+ resolution: {integrity: sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==}engines: {node: '>= 0.4'}@@ -7963,9 +8025,6 @@ packages:resolution: {integrity: sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==}engines: {node: '>=12'}- resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}-resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==}engines: {node: '>=0.10'}@@ -8268,8 +8327,12 @@ packages:resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}engines: {node: '>=0.12'}- resolution: {integrity: sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw==}+ resolution: {integrity: sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==}engines: {node: '>= 0.4'}@@ -8280,8 +8343,8 @@ packages:resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-zWwRvqWiuBPr0muUG/78cW3aHROFCNIQ3zpmYDpwdbnt2m+xlNyRWpHBpa2lJjSBit7BQ+RXA1iwbSmu5yJ/EQ==}+ resolution: {integrity: sha512-c/A0P0oxkACDc+cKWw8evLXK83oBKgn0qPOqCYT4x9uolpCIJAcYvJC9QYKNDRPsTeGyCrQ326jrvgZWdCdK5Q==}engines: {node: '>= 0.4'}@@ -8293,8 +8356,8 @@ packages:resolution: {integrity: sha512-BldNY5mwkVu+cQ5Ymn3e6hB9Sx8XHx4ZevWbiUyZbfKxJxYO27Hf0wfzkxIaD5CAJMaGl3YspKELj0ff/7nCMA==}- resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}+ resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==}engines: {node: '>= 0.4'}@@ -8305,8 +8368,8 @@ packages:resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}+ resolution: {integrity: sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==}engines: {node: '>= 0.4'}@@ -8340,21 +8403,6 @@ packages:engines: {node: '>=6.0'}hasBin: true- resolution: {integrity: sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==}- hasBin: true- peerDependencies:- eslint: '>=7.0.0'-- resolution: {integrity: sha512-yoKkc09YZlmsXp3T+RgmDmWM+5wEEMSYCrKC4GJAm00StEQ2nt1IvBMMGbo9Ob7MVNpuZD+K67wSKWq7tYy6hA==}- peerDependencies:- eslint: '>6.6.0'- turbo: '>2.0.0'-- resolution: {integrity: sha512-tRrKqFyCaKict5hOd244sL6EQFNycnMQnBe+j8uqGNXYzsImGbGUU4ibtoaBmv5FLwJwcFJNeg1GeVjQfbMrDQ==}-resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}@@ -8404,31 +8452,6 @@ packages:peerDependencies:eslint: '>=9.0.0'- resolution: {integrity: sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==}- engines: {node: '>=4'}- peerDependencies:- '@typescript-eslint/parser': '*'- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9- peerDependenciesMeta:- '@typescript-eslint/parser':- optional: true-- resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==}- engines: {node: '>=4.0'}- peerDependencies:- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9-- resolution: {integrity: sha512-j37hwfaQDEOfkZ1Dpvu/HnWLavlzQxQxfbrU/9Jb4R9qzrE1eTYuRJyrxq7LzLRI8miG5FOV6veoUVhx7AI84w==}-- resolution: {integrity: sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==}- engines: {node: '>=18'}- peerDependencies:- eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0-resolution: {integrity: sha512-oOhQTYhor88Xp8RVytq25tvBfiAjU0r9SCDC51Qop+3Wg5BR1xGMAkM+/dV4MZbcMhdaU1L9bkv6LC95JmiTig==}engines: {node: '>=14.0.0'}@@ -8794,8 +8817,8 @@ packages:resolution: {integrity: sha512-939eZS4gJ3htTHAldmyyuzlrD58P03fHG49v2JfFXbV6OhvZKRC9j2yAtdHw/zrp2zXHuv05zMIy40F0ge7spA==}engines: {node: '>=18'}- resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}+ resolution: {integrity: sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==}engines: {node: '>= 0.4'}@@ -9044,12 +9067,6 @@ packages:resolution: {integrity: sha512-g+HZqgfbpXdCkme/Cd/mZkV0aV3BZZZSugecH03kl38m/Kmdx8jKjBikpDj2cr+Iynv4KpYEviojNdTJActJAg==}engines: {node: '>=16.0.0'}- resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==}-- resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}-resolution: {integrity: sha512-oaXMACAU0kzOMXBjWpNcX+vlwSBCIAiZ9BHa7gA15NOTtT2L/l8OSZDuqS2XppOhZBPJ7hm4o8ep2kyuip2uEQ==}engines: {node: '>=12.0.0'}@@ -9294,6 +9311,10 @@ packages:engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}hasBin: true+ resolution: {integrity: sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg==}@@ -9592,10 +9613,6 @@ packages:resolution: {integrity: sha512-eq/4KP6K34kwa7TcFdtvnftvHCD9KvHOGGICWwMFc4dOOKF5t4iYqnfLK8otCRCRv06FXOzGGyqE8h8ElMvvdw==}- resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}- hasBin: true-resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}engines: {node: '>=6'}@@ -9661,13 +9678,6 @@ packages:resolution: {integrity: sha512-2UqMeHLl3DGNX1Nh/cO4jGhk7TzDJ6gjQLlyS9rwFCKVO81xot6b58yeTsTB5YrWupWsOxQtMNoQYIQGOUlH9Q==}engines: {node: '>=18'}- resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}-- resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}- engines: {node: '>=0.10'}-resolution: {integrity: sha512-qMrZeyEekgdRQ9o6a4NAB2EQZrv827GJdn1vnapwSJ90hWRB4TzUSunvacPkxQ2TnNqHNI1/zSt0hlo0crG8Jw==}@@ -10292,8 +10302,8 @@ packages:resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==}engines: {node: '>=18'}- resolution: {integrity: sha512-pyFS63ptit/P5WqUkt+UUfe+4oevH+bFeIiPPdfb0pFeYEu/1ELnJu5l+5EcTKYL5M7zaAa7S8ddywgXypqKCw==}+ resolution: {integrity: sha512-kXs9Go0cah0qHVV2v389IXQLdLCeE1xfFtjOAF+iobu0OIoG1pje8At2vMHyaPMiPMnG/LWP50twML21eMcAag==}engines: {node: '>= 0.4'}@@ -10390,10 +10400,6 @@ packages:resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}- engines: {node: '>= 0.4'}-resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}engines: {node: '>= 0.4'}@@ -10466,8 +10472,8 @@ packages:resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==}- resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}+ resolution: {integrity: sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==}engines: {node: '>= 0.4'}@@ -10492,6 +10498,23 @@ packages:resolution: {integrity: sha512-2Mx3fKQz7+xgrBONjsxOgCGtMHOn38/HxMzW1I5efwXB5a4lRN0Vp40gYUJFBWJslcrvwoofTrqoTnLbwTd3pA==}+ resolution: {integrity: sha512-6ccPGu4u4J9bwYPHXBFPee3RZrX3BboRdU7k14zRDDB1lvN3O7J/vPRFdaEfa1+CWx4xnQQOp4ctoaF66oO0uw==}+ hasBin: true++ resolution: {integrity: sha512-RkTN9EmgIUpLuhNoLhO3OliMGJlvb3Dk7XVjBZnfoMCHrVpuz5ESd97klfiyYeV7XfA2lNLnDCPMkUI+Qw5How==}+ engines: {node: ^20.19.0 || >=22.12.0}+ hasBin: true+ peerDependencies:+ oxlint-tsgolint: '>=7.0.2005'+ vite-plus: '*'+ peerDependenciesMeta:+ oxlint-tsgolint:+ optional: true+ vite-plus:+ optional: true+resolution: {integrity: sha512-Q6Bekk5wpzW5qIyUP4gdMEujObYstZl6DMMOSenwBvV0BlE5LkDwkjs5yHbZmdCEq2o4RJx4tE1vwxFVf2FG1w==}engines: {node: '>=16.17'}@@ -11162,8 +11185,8 @@ packages:engines: {node: '>= 0.4'}hasBin: true- resolution: {integrity: sha512-3JmVl5hMGtJ3kMmB3zi3DL25KfkCEyy3Tw7Gmw7z5w8M9WlwoPFnIvwChzu1+cF3iaK3sp18hhPz8ANeimdJfA==}+ resolution: {integrity: sha512-tqt+NBWwyaMgw3zDsnygx4CByWjQEJHOPMdslYhppaQSJUtL/D4JO9CcBBlhPoI8lz9oJIDXkwXfhF4aWqP8xQ==}engines: {node: '>= 0.4'}hasBin: true@@ -11209,8 +11232,8 @@ packages:resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}- resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}+ resolution: {integrity: sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==}engines: {node: '>=0.4'}@@ -11517,23 +11540,19 @@ packages:resolution: {integrity: sha512-IIaP0g3iy9Cyy18w3M9YcaDudujEAVHKt3a3QJg1+sr/oX96TbaGUubG0hJyCjCBThFH+tFpcIyoUHUn1ogaLA==}engines: {node: '>=20'}- resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}- engines: {node: '>= 0.4'}-- resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==}+ resolution: {integrity: sha512-tHNHTxInrYLCga9O9YGxWA3G9/nnzQw8UGAyqGx3Ar1pSTTzIuM4woFSq4SowkXCjJIwq5sIiQvEfRI9tCH1qQ==}engines: {node: '>= 0.4'}resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==}- resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}+ resolution: {integrity: sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==}+ resolution: {integrity: sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==}engines: {node: '>= 0.4'}@@ -11860,9 +11879,6 @@ packages:resolution: {integrity: sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==}engines: {node: '>=10.13.0'}- resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}-resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}engines: {node: '>=6'}@@ -11921,21 +11937,14 @@ packages:resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}+ resolution: {integrity: sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}+ resolution: {integrity: sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-S2udFs8tCKEKffuJ4TB1idGUZiXdCPGi3IPBGWXarbLQ5UPXORV8QEVzJ4gCRduURMb5EkpNCdjbk0eDIuI8Yg==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- peerDependencies:- eslint: ^8.57.0 || ^9.0.0 || ^10.0.0- typescript: '>=4.8.4 <6.1.0'-resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}engines: {node: '>=14.17'}@@ -12365,8 +12374,8 @@ packages:resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==}+ resolution: {integrity: sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==}engines: {node: '>= 0.4'}@@ -12496,12 +12505,6 @@ packages:peerDependencies:zod: 4.6.6- resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}- engines: {node: '>=18.0.0'}- peerDependencies:- zod: 4.6.6-resolution: {integrity: sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==}@@ -13425,10 +13428,10 @@ snapshots:'@blazediff/[email protected]': {}- '@boundaries/[email protected]([email protected])([email protected]([email protected])([email protected]))([email protected])':+ '@boundaries/[email protected]([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected])':dependencies:eslint-import-resolver-node: 0.3.9([email protected])- eslint-module-utils: 2.12.1([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected])+ eslint-module-utils: 2.12.1([email protected]([email protected]))([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected])handlebars: 4.7.10is-core-module: 2.16.1micromatch: 4.0.8@@ -13844,12 +13847,6 @@ snapshots:'@eslint-community/[email protected]': {}- dependencies:- '@eslint/core': 1.2.1- optionalDependencies:- eslint: 10.8.0([email protected])([email protected])-'@eslint/[email protected]([email protected])':dependencies:'@eslint/object-schema': 3.0.5@@ -13866,10 +13863,6 @@ snapshots:dependencies:'@types/json-schema': 7.0.15- optionalDependencies:- eslint: 10.8.0([email protected])([email protected])-'@eslint/[email protected]': {}'@eslint/[email protected]':@@ -15876,6 +15869,81 @@ snapshots:'@oxc-resolver/[email protected]':optional: true+ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint-tsgolint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true++ '@oxlint/[email protected]':+ optional: true+'@panva/[email protected]': {}'@paralleldrive/[email protected]':@@ -16843,8 +16911,6 @@ snapshots:'@rollup/[email protected]':optional: true- '@rtsao/[email protected]': {}-'@scalar/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])':dependencies:@@ -17938,8 +18004,6 @@ snapshots:'@types/[email protected]': {}- '@types/[email protected]': {}-'@types/[email protected]':dependencies:'@types/ms': 2.1.0@@ -18046,22 +18110,6 @@ snapshots:'@types/[email protected]': {}- '@typescript-eslint/[email protected](@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])':- dependencies:- '@eslint-community/regexpp': 4.12.2- '@typescript-eslint/parser': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- '@typescript-eslint/scope-manager': 8.67.0- '@typescript-eslint/type-utils': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- '@typescript-eslint/utils': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- '@typescript-eslint/visitor-keys': 8.67.0- eslint: 10.8.0([email protected])([email protected])- ignore: 7.0.6- natural-compare: 1.4.0- ts-api-utils: 2.5.0(@typescript/[email protected])- typescript: '@typescript/[email protected]'- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])':dependencies:'@typescript-eslint/scope-manager': 8.67.0@@ -18119,18 +18167,6 @@ snapshots:dependencies:typescript: 7.0.2- '@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])':- dependencies:- '@typescript-eslint/types': 8.67.0- '@typescript-eslint/typescript-estree': 8.67.0(@typescript/[email protected])([email protected])- '@typescript-eslint/utils': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- debug: 4.4.3([email protected])- eslint: 10.8.0([email protected])([email protected])- ts-api-utils: 2.5.0(@typescript/[email protected])- typescript: '@typescript/[email protected]'- transitivePeerDependencies:- - supports-color-'@typescript-eslint/[email protected]': {}@@ -18861,64 +18897,54 @@ snapshots:call-bound: 1.0.4is-array-buffer: 3.0.5dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-abstract: 1.24.1- es-object-atoms: 1.1.1- get-intrinsic: 1.3.0+ es-abstract: 1.24.2+ es-object-atoms: 1.1.2+ es-shim-unscopables: 1.1.0is-string: 1.1.1math-intrinsics: 1.1.0dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0- es-object-atoms: 1.1.1- es-shim-unscopables: 1.1.0-- dependencies:- call-bind: 1.0.8- call-bound: 1.0.4- define-properties: 1.2.1- es-abstract: 1.24.1- es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2es-shim-unscopables: 1.1.0dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-shim-unscopables: 1.1.0dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-shim-unscopables: 1.1.0dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0es-shim-unscopables: 1.1.0dependencies:array-buffer-byte-length: 1.0.2- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0get-intrinsic: 1.3.0is-array-buffer: 3.0.5@@ -18933,8 +18959,6 @@ snapshots:- [email protected]: {}-dependencies:tslib: 2.8.1@@ -18981,8 +19005,6 @@ snapshots:- debug- supports-color- [email protected]: {}-@@ -19124,7 +19146,7 @@ snapshots:es-errors: 1.3.0function-bind: 1.1.2dependencies:call-bind-apply-helpers: 1.0.2es-define-property: 1.0.1@@ -19484,8 +19506,6 @@ snapshots:d3-selection: 3.0.0d3-transition: 3.0.1([email protected])- [email protected]: {}-dependencies:assert-plus: 1.0.0@@ -19791,22 +19811,29 @@ snapshots:+ dependencies:+ es-errors: 1.3.0+ es-object-atoms: 1.1.2+ is-callable: 1.2.7+ object-inspect: 1.13.4+dependencies:array-buffer-byte-length: 1.0.2arraybuffer.prototype.slice: 1.0.4available-typed-arrays: 1.0.7- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4data-view-buffer: 1.0.2data-view-byte-length: 1.0.2data-view-byte-offset: 1.0.1es-define-property: 1.0.1es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2es-set-tostringtag: 2.1.0- es-to-primitive: 1.3.0- function.prototype.name: 1.1.8+ es-to-primitive: 1.3.4+ function.prototype.name: 1.2.0get-intrinsic: 1.3.0get-proto: 1.0.1get-symbol-description: 1.1.0@@ -19831,33 +19858,33 @@ snapshots:object-inspect: 1.13.4object-keys: 1.1.1object.assign: 4.1.7- own-keys: 1.0.1+ own-keys: 1.0.2regexp.prototype.flags: 1.5.4- safe-array-concat: 1.1.3+ safe-array-concat: 1.1.4safe-push-apply: 1.0.0safe-regex-test: 1.1.0set-proto: 1.0.0stop-iteration-iterator: 1.1.0- string.prototype.trim: 1.2.10- string.prototype.trimend: 1.0.9+ string.prototype.trim: 1.2.11+ string.prototype.trimend: 1.0.10string.prototype.trimstart: 1.0.8typed-array-buffer: 1.0.3typed-array-byte-length: 1.0.3- typed-array-byte-offset: 1.0.4- typed-array-length: 1.0.7+ typed-array-byte-offset: 1.0.5+ typed-array-length: 1.0.8unbox-primitive: 1.1.0- which-typed-array: 1.1.20+ which-typed-array: 1.1.24dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0es-set-tostringtag: 2.1.0function-bind: 1.1.2@@ -19870,7 +19897,6 @@ snapshots:internal-slot: 1.1.0iterator.prototype: 1.1.5math-intrinsics: 1.1.0- safe-array-concat: 1.1.3@@ -19878,7 +19904,7 @@ snapshots:dependencies:es-errors: 1.3.0@@ -19893,8 +19919,11 @@ snapshots:dependencies:hasown: 2.0.4dependencies:+ es-abstract-get: 1.0.0+ es-define-property: 1.0.1+ es-errors: 1.3.0is-callable: 1.2.7is-date-object: 1.1.0is-symbol: 1.1.1@@ -19948,24 +19977,6 @@ snapshots:optionalDependencies:source-map: 0.6.1- dependencies:- eslint: 10.8.0([email protected])([email protected])-- dependencies:- eslint: 10.8.0([email protected])([email protected])- eslint-plugin-turbo: 2.11.9([email protected]([email protected])([email protected]))([email protected])- turbo: 2.11.9-- dependencies:- debug: 3.2.7([email protected])- is-core-module: 2.16.2- resolve: 2.0.0-next.6- transitivePeerDependencies:- - supports-color-dependencies:debug: 3.2.7([email protected])@@ -19974,7 +19985,7 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected]([email protected])([email protected]([email protected])([email protected]))([email protected]):dependencies:'@nolyfill/is-core-module': 1.0.39debug: 4.4.3([email protected])@@ -19984,39 +19995,26 @@ snapshots:stable-hash: 0.0.5tinyglobby: 0.2.17unrs-resolver: 1.11.1- optionalDependencies:- eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected])transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected]):- dependencies:- debug: 3.2.7([email protected])- optionalDependencies:- '@typescript-eslint/parser': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- eslint: 10.8.0([email protected])([email protected])- eslint-import-resolver-node: 0.3.10([email protected])- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected])([email protected]))([email protected])- transitivePeerDependencies:- - supports-color-- [email protected]([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected]):+ [email protected]([email protected]([email protected]))([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected]):dependencies:debug: 3.2.7([email protected])optionalDependencies:eslint: 10.8.0([email protected])([email protected])eslint-import-resolver-node: 0.3.9([email protected])- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected])([email protected]))([email protected])+ eslint-import-resolver-typescript: 3.10.1([email protected]([email protected])([email protected]))([email protected])transitivePeerDependencies:- supports-color- [email protected]([email protected])([email protected]([email protected])([email protected]))([email protected]):+ [email protected]([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected]):dependencies:- '@boundaries/elements': 3.1.1([email protected])([email protected]([email protected])([email protected]))([email protected])+ '@boundaries/elements': 3.1.1([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected])chalk: 4.1.2eslint: 10.8.0([email protected])([email protected])eslint-import-resolver-node: 0.3.9([email protected])- eslint-module-utils: 2.12.1([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected])+ eslint-module-utils: 2.12.1([email protected]([email protected]))([email protected]([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected])([email protected]))([email protected])handlebars: 4.7.10micromatch: 4.0.8transitivePeerDependencies:@@ -20031,67 +20029,6 @@ snapshots:is-glob: 4.0.3micromatch: 4.0.8- [email protected](@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected]):- dependencies:- '@rtsao/scc': 1.1.0- array-includes: 3.1.9- array.prototype.findlastindex: 1.2.6- array.prototype.flat: 1.3.3- array.prototype.flatmap: 1.3.3- debug: 3.2.7([email protected])- doctrine: 2.1.0- eslint: 10.8.0([email protected])([email protected])- eslint-import-resolver-node: 0.3.10([email protected])- eslint-module-utils: 2.12.1(@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected])([email protected]))([email protected])- hasown: 2.0.4- is-core-module: 2.16.2- is-glob: 4.0.3- minimatch: 3.1.5- object.fromentries: 2.0.8- object.groupby: 1.0.3- object.values: 1.2.1- semver: 6.3.1- string.prototype.trimend: 1.0.9- tsconfig-paths: 3.15.0- optionalDependencies:- '@typescript-eslint/parser': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- transitivePeerDependencies:- - eslint-import-resolver-typescript- - eslint-import-resolver-webpack- - supports-color-- dependencies:- aria-query: 5.3.2- array-includes: 3.1.9- array.prototype.flatmap: 1.3.3- ast-types-flow: 0.0.8- axe-core: 4.13.0- axobject-query: 4.1.0- damerau-levenshtein: 1.0.8- emoji-regex: 9.2.2- eslint: 10.8.0([email protected])([email protected])- hasown: 2.0.4- jsx-ast-utils: 3.3.5- language-tags: 1.0.9- minimatch: 3.1.5- object.fromentries: 2.0.8- safe-regex-test: 1.1.0- string.prototype.includes: 2.0.1-- [email protected]: {}-- dependencies:- '@babel/core': 7.29.7([email protected])- '@babel/parser': 7.29.8- eslint: 10.8.0([email protected])([email protected])- hermes-parser: 0.25.1- zod: 4.6.6- zod-validation-error: 4.0.2([email protected])- transitivePeerDependencies:- - supports-color-dependencies:eslint: 10.8.0([email protected])([email protected])@@ -20099,12 +20036,12 @@ snapshots:dependencies:- array-includes: 3.1.9+ array-includes: 3.2.0array.prototype.findlast: 1.2.5array.prototype.flatmap: 1.3.3array.prototype.tosorted: 1.1.4doctrine: 2.1.0- es-iterator-helpers: 1.3.1+ es-iterator-helpers: 1.4.0eslint: 10.8.0([email protected])([email protected])estraverse: 5.3.0hasown: 2.0.4@@ -20114,9 +20051,9 @@ snapshots:object.fromentries: 2.0.8object.values: 1.2.1prop-types: 15.8.1- resolve: 2.0.0-next.6+ resolve: 2.0.0-next.7semver: 6.3.1- string.prototype.matchall: 4.0.12+ string.prototype.matchall: 4.1.0string.prototype.repeat: 1.0.0[email protected]([email protected]([email protected])([email protected]))([email protected])([email protected]):@@ -20510,14 +20447,17 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4- define-properties: 1.2.1+ es-define-property: 1.0.1+ es-errors: 1.3.0functions-have-names: 1.2.3+ has-property-descriptors: 1.0.2hasown: 2.0.4is-callable: 1.2.7+ is-document.all: 1.0.0@@ -20572,7 +20512,7 @@ snapshots:call-bind-apply-helpers: 1.0.2es-define-property: 1.0.1es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2function-bind: 1.1.2get-proto: 1.0.1gopd: 1.2.0@@ -20587,7 +20527,7 @@ snapshots:dependencies:dunder-proto: 1.0.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2dependencies:@@ -20903,12 +20843,6 @@ snapshots:- [email protected]: {}-- dependencies:- hermes-estree: 0.25.1-@@ -21102,7 +21036,7 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4get-intrinsic: 1.3.0@@ -21154,6 +21088,10 @@ snapshots:+ dependencies:+ call-bound: 1.0.4+@@ -21263,7 +21201,7 @@ snapshots:dependencies:- which-typed-array: 1.1.20+ which-typed-array: 1.1.24@@ -21319,7 +21257,7 @@ snapshots:dependencies:define-data-property: 1.1.4- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2get-intrinsic: 1.3.0get-proto: 1.0.1has-symbols: 1.1.0@@ -21424,10 +21362,6 @@ snapshots:- dependencies:- minimist: 1.2.8-@@ -21462,7 +21396,7 @@ snapshots:dependencies:- array-includes: 3.1.9+ array-includes: 3.2.0array.prototype.flat: 1.3.3object.assign: 4.1.7object.values: 1.2.1@@ -21514,12 +21448,6 @@ snapshots:dependencies:langfuse-core: 3.38.20- [email protected]: {}-- dependencies:- language-subtag-registry: 0.3.23-@@ -22345,7 +22273,7 @@ snapshots:emojilib: 2.4.0skin-tone: 2.0.0dependencies:array.prototype.flatmap: 1.3.3es-errors: 1.3.0@@ -22424,39 +22352,33 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2has-symbols: 1.1.0object-keys: 1.1.1dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2dependencies:- call-bind: 1.0.8- define-properties: 1.2.1- es-abstract: 1.24.1- es-object-atoms: 1.1.1-- dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2+ es-object-atoms: 1.1.2dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2@@ -22562,8 +22484,9 @@ snapshots:dependencies:+ call-bound: 1.0.4get-intrinsic: 1.3.0object-keys: 1.1.1safe-push-apply: 1.0.0@@ -22712,6 +22635,38 @@ snapshots:'@oxc-resolver/binding-win32-arm64-msvc': 11.21.3'@oxc-resolver/binding-win32-x64-msvc': 11.21.3+ optionalDependencies:+ '@oxlint-tsgolint/darwin-arm64': 7.0.2005+ '@oxlint-tsgolint/darwin-x64': 7.0.2005+ '@oxlint-tsgolint/linux-arm64': 7.0.2005+ '@oxlint-tsgolint/linux-x64': 7.0.2005+ '@oxlint-tsgolint/win32-arm64': 7.0.2005+ '@oxlint-tsgolint/win32-x64': 7.0.2005++ optionalDependencies:+ '@oxlint/binding-android-arm-eabi': 1.90.0+ '@oxlint/binding-android-arm64': 1.90.0+ '@oxlint/binding-darwin-arm64': 1.90.0+ '@oxlint/binding-darwin-x64': 1.90.0+ '@oxlint/binding-freebsd-x64': 1.90.0+ '@oxlint/binding-linux-arm-gnueabihf': 1.90.0+ '@oxlint/binding-linux-arm-musleabihf': 1.90.0+ '@oxlint/binding-linux-arm64-gnu': 1.90.0+ '@oxlint/binding-linux-arm64-musl': 1.90.0+ '@oxlint/binding-linux-ppc64-gnu': 1.90.0+ '@oxlint/binding-linux-riscv64-gnu': 1.90.0+ '@oxlint/binding-linux-riscv64-musl': 1.90.0+ '@oxlint/binding-linux-s390x-gnu': 1.90.0+ '@oxlint/binding-linux-x64-gnu': 1.90.0+ '@oxlint/binding-linux-x64-musl': 1.90.0+ '@oxlint/binding-openharmony-arm64': 1.90.0+ '@oxlint/binding-win32-arm64-msvc': 1.90.0+ '@oxlint/binding-win32-ia32-msvc': 1.90.0+ '@oxlint/binding-win32-x64-msvc': 1.90.0+ oxlint-tsgolint: 7.0.2005+dependencies:p-timeout: 6.1.4@@ -23298,11 +23253,11 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2get-intrinsic: 1.3.0get-proto: 1.0.1which-builtin-type: 1.2.1@@ -23318,7 +23273,7 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1es-errors: 1.3.0get-proto: 1.0.1@@ -23458,11 +23413,11 @@ snapshots:path-parse: 1.0.7supports-preserve-symlinks-flag: 1.0.0dependencies:es-errors: 1.3.0is-core-module: 2.16.2- node-exports-info: 1.6.0+ node-exports-info: 1.6.2object-keys: 1.1.1path-parse: 1.0.7supports-preserve-symlinks-flag: 1.0.0@@ -23540,9 +23495,9 @@ snapshots:dependencies:tslib: 2.8.1dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4get-intrinsic: 1.3.0has-symbols: 1.1.0@@ -23662,7 +23617,7 @@ snapshots:dependencies:dunder-proto: 1.0.1es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2@@ -23940,20 +23895,14 @@ snapshots:get-east-asian-width: 1.5.0strip-ansi: 7.2.0- dependencies:- call-bind: 1.0.8- define-properties: 1.2.1- es-abstract: 1.24.1-dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2es-errors: 1.3.0- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2get-intrinsic: 1.3.0gopd: 1.2.0has-symbols: 1.1.0@@ -23965,30 +23914,31 @@ snapshots:dependencies:define-properties: 1.2.1- es-abstract: 1.24.1+ es-abstract: 1.24.2dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-data-property: 1.1.4define-properties: 1.2.1- es-abstract: 1.24.1- es-object-atoms: 1.1.1+ es-abstract: 1.24.2+ es-object-atoms: 1.1.2has-property-descriptors: 1.0.2+ safe-regex-test: 1.1.0dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4define-properties: 1.2.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9define-properties: 1.2.1- es-object-atoms: 1.1.1+ es-object-atoms: 1.1.2dependencies:@@ -24259,13 +24209,6 @@ snapshots:tapable: 2.3.3tsconfig-paths: 4.2.0- dependencies:- '@types/json5': 0.0.29- json5: 1.0.2- minimist: 1.2.8- strip-bom: 3.0.0-dependencies:json5: 2.2.3@@ -24327,42 +24270,30 @@ snapshots:dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9for-each: 0.3.5gopd: 1.2.0has-proto: 1.2.0is-typed-array: 1.1.15dependencies:available-typed-arrays: 1.0.7- call-bind: 1.0.8+ call-bind: 1.0.9for-each: 0.3.5gopd: 1.2.0- has-proto: 1.2.0is-typed-array: 1.1.15reflect.getprototypeof: 1.0.10dependencies:- call-bind: 1.0.8+ call-bind: 1.0.9for-each: 0.3.5gopd: 1.2.0is-typed-array: 1.1.15possible-typed-array-names: 1.1.0reflect.getprototypeof: 1.0.10- [email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]):- dependencies:- '@typescript-eslint/eslint-plugin': 8.67.0(@typescript-eslint/[email protected](@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected]))(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- '@typescript-eslint/parser': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- '@typescript-eslint/typescript-estree': 8.67.0(@typescript/[email protected])([email protected])- '@typescript-eslint/utils': 8.67.0(@typescript/[email protected])([email protected]([email protected])([email protected]))([email protected])- eslint: 10.8.0([email protected])([email protected])- typescript: '@typescript/[email protected]'- transitivePeerDependencies:- - supports-color-@@ -24862,7 +24793,7 @@ snapshots:dependencies:call-bound: 1.0.4- function.prototype.name: 1.1.8+ function.prototype.name: 1.2.0has-tostringtag: 1.0.2is-async-function: 2.1.1is-date-object: 1.1.0@@ -24873,7 +24804,7 @@ snapshots:isarray: 2.0.5which-boxed-primitive: 1.1.1which-collection: 1.0.2- which-typed-array: 1.1.20+ which-typed-array: 1.1.24dependencies:@@ -24882,10 +24813,10 @@ snapshots:is-weakmap: 2.0.2is-weakset: 2.0.4dependencies:available-typed-arrays: 1.0.7- call-bind: 1.0.8+ call-bind: 1.0.9call-bound: 1.0.4for-each: 0.3.5get-proto: 1.0.1@@ -25008,10 +24939,6 @@ snapshots:dependencies:zod: 4.6.6- dependencies:- zod: 4.6.6-[email protected](@types/[email protected])([email protected])([email protected])([email protected]([email protected])):diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex f04fbe84b0..ea93f5faf6 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -40,7 +40,6 @@ catalog:"@aws-sdk/credential-providers": 3.1074.0"@aws-sdk/lib-storage": 3.1074.0"@aws-sdk/s3-request-presigner": 3.1074.0- eslint: ^10.8.0# The official TS 6 side-by-side wrapper (resolves to typescript 6.0.3):# provides the JS compiler API for tooling that still needs it but# ships no `tsc` bin, so package scripts fall through to the workspace-root@@ -188,7 +187,6 @@ minimumReleaseAgeExclude:# Next.js security upgrade; eligible after 2026-10-20 20:58 UTC.- "@next/[email protected]"- - "@next/[email protected]"- "@next/[email protected]"- "@next/[email protected]"- "@next/[email protected]"@@ -199,7 +197,6 @@ minimumReleaseAgeExclude:- "@next/[email protected]"# Companion toolchain upgrade; eligible after 2026-10-21 19:10 UTC.- "@turbo/[email protected]"- "@turbo/[email protected]"diff --git a/scripts/check.mjs b/scripts/check.mjsindex 23333ca61a..77f97e6d8f 100644--- a/scripts/check.mjs+++ b/scripts/check.mjs@@ -58,7 +58,7 @@ export function createOutput(const checkTasks = [{ name: "typecheck", label: "Types" },- { name: "lint", label: "Lint", runner: "eslint" },+ { name: "lint", label: "Lint", runner: "oxlint" },{name: "test",label: "Tests",@@ -367,26 +367,17 @@ function planPackageChecks();for (const task of checks) {if (- task.runner === "eslint" &&- pkg.scripts[task.name].includes("eslint")+ task.runner === "oxlint" &&+ pkg.scripts[task.name].includes("oxlint")) {- // Turbo cannot append ESLint-only flags to a mixed task batch.- // Keep dependency preparation in Turbo; ESLint retains its own cache.+ // Keep dependency preparation in Turbo before file-specific linting.const prerequisites = prepare(`${pkg.name}#${task.name}`);const details = related? planNarrowedCheck(task, pkg, ownFiles, base, exists): { label: `${task.label} · ${pkg.name}`, args: [] };packageChecks.push({...details,- args: [- "--filter",- pkg.name,- "run",- task.name,- ...details.args,- "--concurrency",- "off",- ],+ args: ["--filter", pkg.name, "run", task.name, ...details.args],requiresTurbo: true,prerequisites,});@@ -551,7 +542,7 @@ function planNarrowedCheck(task, pkg, ownFiles, base, exists) {return {label: `Lint · ${pkg.name} · ${lintFiles.size} file${lintFiles.size === 1 ? "" : "s"}`,args: [- "--no-warn-ignored",+ "--no-error-on-unmatched-pattern",...[...lintFiles].map((file) => `./${relative(pkg.path, file)}`),],};diff --git a/scripts/check.test.mjs b/scripts/check.test.mjsindex 89363e5989..7d0e664ba6 100644--- a/scripts/check.test.mjs+++ b/scripts/check.test.mjs@@ -78,7 +78,7 @@ test("split-out lint records transitive prerequisites, excluding scriptless task{name: "web",path: "web",- scripts: { lint: "eslint" },+ scripts: { lint: "oxlint --max-warnings 0" },dependencies: [],},],@@ -94,6 +94,38 @@ test("split-out lint records transitive prerequisites, excluding scriptless task]);});+test("Oxlint narrows source changes without ESLint-only flags", () => {+ const plan = createPlan(+ ["web/src/example.ts"],+ [+ {+ name: "web",+ path: "web",+ scripts: { lint: "dotenv -e ../.env -- oxlint --max-warnings 0" },+ dependencies: [],+ },+ ],+ { only: ["lint"] },+ "HEAD",+ {+ tasks: new Map([+ ["web#lint", { dependencies: [], inputFiles: new Set() }],+ ]),+ affected: new Set(["web#lint"]),+ },+ () => true,+ );+ assert.equal(plan.length, 1);+ assert.deepEqual(plan[0].args, [+ "--filter",+ "web",+ "run",+ "lint",+ "--no-error-on-unmatched-pattern",+ "./src/example.ts",+ ]);+});+for (const cpus of [1, 2, 4]) {test(`unrelated Turbo failures do not skip lint (cpus=${cpus})`, async () => {const plan = [diff --git a/turbo.json b/turbo.jsonindex b07e4c6110..6764559d39 100644--- a/turbo.json+++ b/turbo.json@@ -110,6 +110,16 @@"outputLogs": "errors-only","outputs": []},+ "web#typecheck": {+ "dependsOn": ["db:generate", "^build"],+ "cache": true,+ "outputLogs": "errors-only",+ "outputs": [],+ "inputs": [+ "$TURBO_DEFAULT$",+ "$TURBO_ROOT$/scripts/vitest/ci-reporter.ts"+ ]+ },"test-client": {"dependsOn": ["db:generate", "^build"],"cache": true@@ -192,11 +202,11 @@"$TURBO_ROOT$/scripts/vitest/ci-reporter.ts"]},- // ESLint does not load the native addon, so avoid compiling it during lint.+ // Oxlint does not load the native addon, so avoid compiling it during lint."worker#lint": {"dependsOn": ["@langfuse/shared#build",- "@repo/eslint-config#build",+ "@repo/oxlint-config#build","@repo/eslint-plugin#build","@repo/langfuse-skills#build","@repo/typescript-config#build"diff --git a/web/.storybook/tsconfig.json b/web/.storybook/tsconfig.jsonindex d401111c23..3c43903cfd 100644--- a/web/.storybook/tsconfig.json+++ b/web/.storybook/tsconfig.json@@ -1,3 +1,3 @@{- "extends": "../tsconfig.tests.json"+ "extends": "../tsconfig.json"}diff --git a/web/Dockerfile b/web/Dockerfileindex 73c40b33f5..13cc485bda 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -222,6 +222,9 @@ ENV SENTRY_RELEASE=$NEXT_PUBLIC_BUILD_ID# Copy source code of isolated subworkspaceCOPY --from=pruner /app/out/full/ .+# The web tsconfig includes Vitest config, whose reporter lives outside the pruned workspace.+COPY scripts/vitest/ci-reporter.ts ./scripts/vitest/ci-reporter.ts+# Keep the documented direct golang-migrate recovery paths available in the# production image while maintaining canonical/ as the only authored tree.RUN set -eu; \diff --git a/web/eslint.config.mjs b/web/eslint.config.mjsdeleted file mode 100644index 09c771909b..0000000000--- a/web/eslint.config.mjs+++ /dev/null@@ -1,689 +0,0 @@-import { globalIgnores } from "eslint/config";-import { globSync } from "node:fs";-import boundaries from "eslint-plugin-boundaries";-import checkFile from "eslint-plugin-check-file";-import reactYouMightNotNeedAnEffect from "eslint-plugin-react-you-might-not-need-an-effect";-import storybook from "eslint-plugin-storybook";-import eslintPluginTailwindcss from "eslint-plugin-tailwindcss";--import nextConfig from "@repo/eslint-config/next";--// Restricted import patterns that apply everywhere. Flat config replaces (not-// merges) a rule that is configured twice, so every block that configures-// no-restricted-imports must spread the full pattern list it wants.-const restrictedImportPatterns = [- {- regex: "^(lucide-react|react-icons)(/|$)",- message:- "Import typed icons from @langfuse/icons, @langfuse/icons/si, or @langfuse/icons/tb instead.",- },- {- // Relative paths escaping web/ bypass @langfuse/shared's exports- // map (which points at dist/) and pull shared *source* into the- // Next.js typecheck program, where web's next-auth augmentation- // breaks it — this failed production deploys (PR #15031).- // Note: only static imports are checked. Dynamic import() is not- // covered by this rule, which also leaves room for the one- // legitimate use: tests that need a Vite-transformed source copy- // of a shared module to observe env mutations (vitest loads the- // CJS dist through Node's require cache as a second instance —- // see blob-storage-integration-trpc.servertest.ts).- regex: "^(\\.\\./)+(packages|ee|worker)/",- message:- "Do not import other workspace packages via relative paths. Use the package entrypoints instead (e.g. @langfuse/shared/src/db, @langfuse/shared/src/server).",- },-];--// One seam owns error capture: raw Sentry capture APIs are restricted to the-// reportError seam (src/utils/reportError.ts) so classification (`expected`),-// `area` tagging, and non-Error coercion live in exactly one place. The-// capture contract lives in the seam's doc comment and in-// .agents/skills/sentry-instrumentation/SKILL.md (human-facing version:-// web/OBSERVABILITY.md, landing separately). Exempted files get a dedicated-// config block below without this pattern — never an inline eslint-disable.-const sentryCapturePattern = {- regex: "^@sentry/nextjs$",- importNames: ["captureException", "captureMessage"],- message:- "Do not capture directly — route through the reportError seam (@/src/utils/reportError) or a helper that wraps it (captureUnknownError, reportParserWorkerError), so one seam owns error classification. See the reportError doc comment and .agents/skills/sentry-instrumentation/SKILL.md.",-};--const toastImportPattern = {- regex: "^sonner(?:/|$)",- importNames: ["toast", "default"],- message:- "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",-};--const designSystemInternalPattern = {- regex: "(^|/)design-system/internal(?:/|$)",- message:- "Design-system internals may only be imported by other design-system components.",-};--// eslint-plugin-tailwindcss types this as Config | ConfigArray, but the-// recommended export is a single flat config object with rules at runtime.-const tailwindcssRecommendedConfig =- /** @type {import("eslint").Linter.Config} */ (- eslintPluginTailwindcss.configs.recommended- );--export default [- globalIgnores(["**/storybook-static/"]),-- ...nextConfig,- {- name: "langfuse/web/test-and-story-typescript-project",- files: [- "**/__tests__/**/*.{ts,tsx,mts,cts}",- "**/__e2e__/**/*.{ts,tsx,mts,cts}",- "**/*.{test,spec,clienttest,servertest,story,stories}.{ts,tsx,mts,cts}",- ".storybook/**/*.{ts,tsx,mts,cts}",- "vitest.config.mts",- "playwright.config.ts",- ],- languageOptions: {- parserOptions: {- // Project service discovers tsconfig.json, not sibling named configs.- projectService: false,- project: "./tsconfig.tests.json",- tsconfigRootDir: import.meta.dirname,- },- },- },- {- name: "langfuse/web/non-react-tests",- files: [- "**/*.clienttest.ts",- "**/*.test.ts",- "**/*.spec.ts",- "**/__tests__/**/*.ts",- ],- rules: {- // Compiler analysis serializes the AST through Babel, including large- // JSON fixtures. These non-JSX tests do not define React components.- "react-hooks/static-components": "off",- },- },- {- name: "langfuse/web/client-test-story-cache-key",- files: ["src/**/*.clienttest.{ts,tsx}"],- settings: {- // ESLint caches unchanged client tests; changing the story set must invalidate them.- clientTestStoryFiles: [- ...globSync("src/**/*.stories.ts"),- ...globSync("src/**/*.stories.tsx"),- ].sort(),- },- },- ...storybook.configs["flat/recommended"],- {- name: "langfuse/web/storybook-test-story-names",- files: ["src/**/*.stories.{ts,tsx}"],- rules: {- "@repo/storybook-play-requires-test-name": "error",- "@repo/storybook-play-no-implementation-detail-assertions": "warn",- },- },- {- name: "langfuse/web/no-abstracted-overlay-trigger",- files: ["src/**/*.{ts,tsx}"],- ignores: [- "src/**/*.clienttest.{ts,tsx}",- "src/**/*.servertest.{ts,tsx}",- "src/**/*.test.{ts,tsx}",- "src/**/*.story.{ts,tsx}",- "src/**/*.stories.{ts,tsx}",- ],- rules: {- "@repo/no-abstracted-overlay-trigger": [- "warn",- {- overlayFamilies: [- {- module: "@/src/components/ui/dialog",- root: "Dialog",- trigger: "DialogTrigger",- contents: ["DialogContent"],- },- {- module: "@/src/components/ui/alert-dialog",- root: "AlertDialog",- trigger: "AlertDialogTrigger",- contents: ["AlertDialogContent"],- },- {- module: "@/src/components/ui/dropdown-menu",- root: "DropdownMenu",- trigger: "DropdownMenuTrigger",- contents: ["DropdownMenuContent", "DropdownMenuSubContent"],- },- {- module: "@/src/components/ui/drawer",- root: "Drawer",- trigger: "DrawerTrigger",- contents: ["DrawerContent"],- },- {- module: "@/src/components/ui/popover",- root: "Popover",- trigger: "PopoverTrigger",- contents: ["PopoverContent"],- },- {- module: "@/src/components/ui/sheet",- root: "Sheet",- trigger: "SheetTrigger",- contents: ["SheetContent"],- },- ],- overlayControllerFamilies: [- {- module:- "@/src/components/design-system/ConfirmationDialogController/ConfirmationDialogController",- root: "ConfirmationDialogController",- },- {- module:- "@/src/components/design-system/DialogController/DialogController",- root: "DialogController",- },- ],- },- ],- },- },- {- ...tailwindcssRecommendedConfig,- ignores: [- ".storybook/**/*",- "src/**/__tests__/**",- "src/**/__e2e__/**",- "src/**/*.clienttest.{ts,tsx}",- "src/**/*.servertest.{ts,tsx}",- ],- settings: {- tailwindcss: {- cssConfigPath: "src/styles/globals.css",- },- },- rules: {- ...tailwindcssRecommendedConfig.rules,- "tailwindcss/no-custom-classname": [- "warn",- {- whitelist: [- // Used by parent arbitrary selectors to tune IO preview section spacing.- "io-message-header",- // Used by parent arbitrary selectors to tune IO preview body spacing and borders.- "io-message-content",- // posthog-js block class: elements carrying it are excluded from session recordings.- "ph-no-capture",- // Component-level selector hook for code block wrappers, not a Tailwind utility.- "codeblock",- // Sonner root hook used by group-[.toaster] descendant variants.- "toaster",- // Sonner toast hook used by group-[.toast] descendant variants.- "toast",- // Playground window selector hook used for page/window coordination.- "playground-window",- // react-grid-layout requires this wrapper class for grid layout behavior.- "layout",- // react-grid-layout draggableHandle points at this selector.- "drag-handle",- // Valid Tailwind peer marker; eslint-plugin-tailwindcss v4 misses it with Tailwind v4.- "peer",- // Valid named Tailwind peer marker; eslint-plugin-tailwindcss v4 misses it with Tailwind v4.- "peer/menu-button",- // Component hooks used by the command and dialog primitives.- "cmdk-input-wrapper",- "dialog-header",- "dialog-footer",- ],- },- ],- "tailwindcss/enforces-negative-arbitrary-values": "warn",- // TODO: Enable these rule later- "tailwindcss/classnames-order": "off",- "tailwindcss/enforces-canonical-classname": "off",- "tailwindcss/enforces-shorthand": "off",- "tailwindcss/no-unnecessary-arbitrary-value": "off",- "tailwindcss/no-contradicting-classname": "off",- },- },-- {- name: "langfuse/web/no-unnecessary-cn",- files: ["src/**/*.{ts,tsx}"],- rules: {- "@repo/no-unnecessary-cn": [- "warn",- { importPath: "@/src/utils/tailwind" },- ],- },- },-- {- name: "langfuse/web/require-title-with-truncate",- files: ["src/**/*.{ts,tsx}"],- ignores: ["src/**/*.stories.{ts,tsx}"],- rules: {- "@repo/require-title-with-truncate": [- "error",- { classNameFunctions: ["cn", "clsx"] },- ],- },- },-- // Components should always render. Returning null/undefined hides the- // condition that owns visibility and makes composition unpredictable — the- // parent should branch, or the logic should live in a hook/HOC. Headless- // children/portal passthroughs (gates, createPortal wrappers) may return- // null; anything that owns markup may not. Existing violations use a- // file-level eslint-disable; do not add new ones.- {- name: "langfuse/web/no-null-render",- files: ["src/**/*.{ts,tsx}"],- ignores: [- "src/__tests__/**",- "src/__e2e__/**",- "src/**/*.clienttest.{ts,tsx}",- "src/**/*.servertest.{ts,tsx}",- "src/**/*.stories.{ts,tsx}",- "src/components/layouts/**",- ],- rules: {- "@repo/no-null-render": "error",- },- },-- // Next.js pages are the route composition root: the router, not a parent- // component, owns whether they mount. Returning null for auth, missing- // params, or SSR is a page-level concern, so this rule does not apply.- {- name: "langfuse/web/no-null-render-pages",- files: ["src/pages/**/*.{ts,tsx}"],- rules: {- "@repo/no-null-render": "off",- },- },-- // Component APIs should expose explicit variants instead of className, style,- // or prefixed variants such as badgeClassName. New file-level overrides are- // only acceptable for headless components that do not apply any internal- // styling themselves.- {- name: "langfuse/web/no-style-props",- files: ["src/**/*.{ts,tsx}"],- ignores: [- "src/__tests__/**",- "src/__e2e__/**",- "src/**/*.clienttest.{ts,tsx}",- "src/**/*.servertest.{ts,tsx}",- ],- rules: {- "@repo/no-style-props": "error",- },- },-- // Root design-system components follow `Name/Name.tsx`, optionally alongside- // `Name/Name.stories.tsx`. Files must be directly inside a PascalCase folder,- // match that folder's name, and expose a matching named runtime export. The- // charts, factories, table, and internal subtrees are domain-specific exceptions- // with their own structure.- {- name: "langfuse/web/design-system-component-structure",- files: ["src/components/design-system/**/*.{ts,tsx}"],- ignores: [- "src/components/design-system/charts/**",- "src/components/design-system/factories/**",- "src/components/design-system/internal/**",- "src/components/design-system/table/**",- ],- plugins: {- "check-file": checkFile,- },- rules: {- "check-file/folder-match-with-fex": [- "error",- {- "*.{ts,tsx}": "src/components/design-system/*/",- },- ],- "check-file/folder-naming-convention": [- "error",- {- "src/components/design-system/*/": "PASCAL_CASE",- },- ],- "check-file/filename-naming-convention": [- "error",- {- "src/components/design-system/*/*.{ts,tsx}": "<0>",- },- {- ignoreMiddleExtensions: true,- },- ],- },- },-- {- name: "langfuse/web/component-file-structure",- files: ["**/*.{tsx,jsx}"],- ignores: [- // Next.js owns route filenames and requires framework exports, so component file structure cannot apply.- "src/pages/**",- // Next.js App Router layouts also require the framework-defined layout filename.- "src/app/**/layout.{tsx,jsx}",- "src/components/design-system/**/*.stories.{ts,tsx}",- "**/*.{test,spec,clienttest,servertest}.{tsx,jsx}",- "**/{__tests__,__e2e__,tests,test}/**",- ],- rules: {- "@repo/component-file-structure": "error",- },- },-- {- name: "langfuse/web/design-system-component-exports",- files: ["src/components/design-system/*/*.{ts,tsx}"],- ignores: [- "src/components/design-system/**/*.stories.{ts,tsx}",- "src/components/design-system/charts/**",- "src/components/design-system/table/**",- ],- rules: {- "import/no-default-export": "error",- },- },-- {- ...reactYouMightNotNeedAnEffect.configs.recommended,- name: "langfuse/web/design-system-rules",- files: ["src/components/design-system/**/*.{ts,tsx}"],- ignores: ["src/components/design-system/**/*.stories.tsx"],- plugins: {- ...reactYouMightNotNeedAnEffect.configs.recommended.plugins,- boundaries,- },- settings: {- ...reactYouMightNotNeedAnEffect.configs.recommended.settings,- // Progressive adoption: only these trees are classified. Unknown- // targets (utils, hooks, third-party) stay allowed. Design-system- // files also match `app-component`; the policy below excludes that- // overlap with `noneOf: ["design-system"]`.- "boundaries/files": [- {- category: "design-system",- pattern: "src/components/design-system/**",- },- {- category: "app-component",- pattern: "src/components/**",- },- {- category: "feature",- pattern: "src/features/**",- },- ],- },- rules: {- ...reactYouMightNotNeedAnEffect.configs.recommended.rules,- "boundaries/dependencies": [- "error",- {- default: "allow",- policies: [- {- from: { file: { categories: "design-system" } },- disallow: {- to: {- file: {- categories: {- anyOf: ["app-component", "feature"],- noneOf: ["design-system"],- },- },- },- },- message:- "Design-system files must not import from the outer `src/components` tree or from `src/features`.",- },- ],- },- ],- },- },-- {- name: "langfuse/web/component-margin-rules",- files: ["src/components/**/*.{ts,tsx}"],- ignores: ["src/components/**/*.stories.{ts,tsx}"],- rules: {- // Margin makes components harder to compose and should therefore be applied by the parent.- // See: https://mxstbr.com/thoughts/margin for a discussion of this pattern.- "@repo/no-margin-on-root-elements": [- "warn",- { classNameFunctions: ["cn", "clsx"] },- ],- },- },-- // We're using the in-app-agent directory as a testing ground for some new eslint-rules.- {- ...reactYouMightNotNeedAnEffect.configs.recommended,- name: "langfuse/web/in-app-agent",- files: ["src/features/in-app-agent/**/*.{ts,tsx}"],- rules: {- ...reactYouMightNotNeedAnEffect.configs.recommended.rules,- "@typescript-eslint/consistent-type-definitions": ["warn", "type"],- "@typescript-eslint/no-confusing-void-expression": "warn",- "@typescript-eslint/no-non-null-assertion": "warn",- "@typescript-eslint/no-meaningless-void-operator": "warn",- "@typescript-eslint/no-invalid-void-type": "warn",- "@typescript-eslint/no-unsafe-assignment": "warn",- "@typescript-eslint/return-await": ["warn", "in-try-catch"],- curly: ["error", "all"],- "@repo/no-switch-statements": "error",- },- },-- // Design-token lint wall. The type system has exactly two weights- // (`font-bold` for the bold role; text-* size tokens carry the regular- // weight), and colors must come from design tokens — palette utilities or- // token-backed arbitrary values like `bg-[hsl(var(--muted))]`. Raw weight- // utilities (font-medium, font-semibold, …) and raw colors in arbitrary- // values (bg-[#fff], shadow-[…rgb(0_0_0/0.3)]) escape the system and break- // theming.- {- name: "langfuse/web/design-tokens",- files: ["src/**/*.{ts,tsx}"],- rules: {- "@repo/no-raw-font-weight": "error",- "@repo/no-arbitrary-colors": "error",- },- },-- // App-wide guard ("overlay-content" mode): a consumer must not re-introduce a- // z-index escape on an overlay it imports (e.g. nav-user's old `z-60` on- // DropdownMenuContent, or `z-50` on a HoverCardContent). This mode flags a- // high z-index ONLY when it sits on an overlay *content* element (a component- // whose name ends in `Content`), which always routes through a layer — so- // plain page chrome (sticky headers, fixed banners/toolbars at `z-50`) inside- // the isolated `#__next` stacking context is left alone, no false positives.- // Declared BEFORE the wrapper block so the stricter "wrapper" mode is the- // final word on the nine `ui/*` primitive files (flat-config last-match wins).- {- name: "langfuse/web/overlay-content-no-zindex-escape",- files: ["src/**/*.{ts,tsx}"],- rules: {- "@repo/no-overlay-zindex": ["error", { mode: "overlay-content" }],- },- },-- // Overlay primitive wrappers must stack via the app layer system (route the- // portal into a layer container, see context/LayerContext/LayerContext.tsx), never by- // escalating z-index to escape to the top. On these wrapper files, ban a- // high/arbitrary z-index ANYWHERE (mode "wrapper") — every high z-index here- // is an escape. z-index stays a local, within-layer tool elsewhere.- {- name: "langfuse/web/overlays-no-zindex-escape",- files: [- "src/components/ui/dialog.tsx",- "src/components/ui/alert-dialog.tsx",- "src/components/ui/sheet.tsx",- "src/components/ui/drawer.tsx",- "src/components/ui/popover.tsx",- "src/components/ui/dropdown-menu.tsx",- "src/components/ui/select.tsx",- "src/components/design-system/HoverCardController/HoverCardController.tsx",- "src/components/design-system/ControlledHoverCard/ControlledHoverCard.tsx",- "src/components/ui/tooltip.tsx",- ],- rules: {- "@repo/no-overlay-zindex": ["error", { mode: "wrapper" }],- },- },-- // Tests legitimately exercise backwards-compatible (deprecated) read paths- // such as getTraceById/getObservationById, so allow them in test code.- {- name: "langfuse/web/tests-allow-deprecated",- files: ["src/__tests__/**", "src/__e2e__/**", "**/*.servertest.ts"],- rules: {- "@typescript-eslint/no-deprecated": "off",- },- },-- // Restricted import paths (patterns defined at the top of this file).- {- name: "langfuse/web/restricted-imports",- rules: {- "no-restricted-imports": [- "error",- {- patterns: [- ...restrictedImportPatterns,- sentryCapturePattern,- toastImportPattern,- designSystemInternalPattern,- ],- },- ],- },- },-- {- name: "langfuse/web/design-system-allow-internal-imports",- files: ["src/components/design-system/**/*.{ts,tsx}"],- rules: {- "no-restricted-imports": [- "error",- {- patterns: [- ...restrictedImportPatterns,- sentryCapturePattern,- toastImportPattern,- ],- },- ],- },- },-- {- name: "langfuse/web/design-system-internal-naming",- files: ["src/components/design-system/internal/**/*.{ts,tsx}"],- plugins: {- "check-file": checkFile,- },- rules: {- "check-file/folder-naming-convention": [- "warn",- {- "src/components/design-system/*/": "KEBAB_CASE",- "src/components/design-system/internal/*/": "PASCAL_CASE",- },- ],- },- },-- {- name: "langfuse/web/design-system-internal-charts-naming",- files: ["src/components/design-system/internal/charts/**/*.{ts,tsx}"],- rules: {- "check-file/folder-naming-convention": [- "warn",- {- "src/components/design-system/*/": "KEBAB_CASE",- "src/components/design-system/internal/*/": "KEBAB_CASE",- "src/components/design-system/internal/charts/*/": "PASCAL_CASE",- },- ],- },- },-- // Sanctioned homes for raw Sentry capture APIs: the reportError seam itself- // and the SDK init (`import * as Sentry` would otherwise trip the- // importNames restriction). Last-match wins in flat config, so these files- // get the shared restrictions without the Sentry capture pattern.- {- name: "langfuse/web/restricted-imports-sentry-seam",- files: ["src/utils/reportError.ts", "instrumentation-client.ts"],- rules: {- "no-restricted-imports": [- "error",- {- patterns: [- ...restrictedImportPatterns,- designSystemInternalPattern,- toastImportPattern,- ],- },- ],- },- },- {- name: "langfuse/web/toast-seam",- files: [- "src/features/notifications/showErrorToast.tsx",- "src/features/notifications/showSuccessToast.tsx",- "src/features/notifications/showToast.tsx",- ],- rules: {- "no-restricted-imports": [- "error",- {- patterns: [- ...restrictedImportPatterns,- sentryCapturePattern,- designSystemInternalPattern,- ],- },- ],- },- },- {- name: "langfuse/web/no-dynamic-toast-bypass",- files: ["src/**/*.{ts,tsx}"],- rules: {- "no-restricted-syntax": [- "error",- {- selector: "ImportExpression[source.value=/^sonner(?:\\/|$)/]",- message: toastImportPattern.message,- },- {- selector:- "CallExpression[callee.name='require'][arguments.0.value=/^sonner(?:\\/|$)/]",- message: toastImportPattern.message,- },- {- selector:- "TSImportEqualsDeclaration[moduleReference.expression.value=/^sonner(?:\\/|$)/]",- message: toastImportPattern.message,- },- ],- },- },-];diff --git a/web/oxlint.config.mts b/web/oxlint.config.mtsnew file mode 100644index 0000000000..814c4c05a6--- /dev/null+++ b/web/oxlint.config.mts@@ -0,0 +1,668 @@+import baseConfig from "@repo/oxlint-config/next";+import { globSync } from "node:fs";+import { defineConfig } from "oxlint";+export default defineConfig({+ ...baseConfig,+ ignorePatterns: [+ "**/storybook-static/",+ "**/.next/",+ ".next/**",+ "out/**",+ "build/**",+ "next-env.d.ts",+ "**/node_modules/",+ "**/dist/",+ "**/coverage/",+ "**/generated/",+ "oxlint.config.*",+ ],+ // Oxlint settings are global; consuming rules retain their original file scopes.+ settings: {+ react: { version: "19.2.4" },+ "import/resolver": { typescript: { project: "./tsconfig.json" } },+ clientTestStoryFiles: [+ ...globSync("src/**/*.stories.{ts,tsx}", { cwd: import.meta.dirname }),+ ].sort(),+ tailwindcss: { cssConfigPath: "src/styles/globals.css" },+ "boundaries/files": [+ { category: "design-system", pattern: "src/components/design-system/**" },+ { category: "app-component", pattern: "src/components/**" },+ { category: "feature", pattern: "src/features/**" },+ ],+ },+ overrides: [+ ...baseConfig.overrides,+ {+ files: [+ "**/*.clienttest.ts",+ "**/*.test.ts",+ "**/*.spec.ts",+ "**/__tests__/**/*.ts",+ ],+ rules: {+ "react/static-components": "off",+ },+ },+ {+ files: [+ "**/*.stories.{ts,tsx,js,jsx,mjs,cjs}",+ "**/*.story.{ts,tsx,js,jsx,mjs,cjs}",+ ],+ jsPlugins: ["eslint-plugin-storybook"],+ rules: {+ "react/rules-of-hooks": "off",+ "storybook/await-interactions": "warn",+ "storybook/context-in-play-function": "warn",+ "storybook/default-exports": "warn",+ "storybook/hierarchy-separator": "warn",+ "storybook/no-redundant-story-name": "warn",+ "storybook/no-renderer-packages": "warn",+ "storybook/prefer-pascal-case": "warn",+ "storybook/story-exports": "warn",+ "storybook/use-storybook-expect": "warn",+ "storybook/use-storybook-testing-library": "warn",+ },+ },+ {+ files: [".storybook/main.{js,cjs,mjs,ts}"],+ jsPlugins: ["eslint-plugin-storybook"],+ rules: {+ "storybook/no-uninstalled-addons": "warn",+ },+ },+ {+ files: ["src/**/*.stories.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/storybook-play-requires-test-name": "warn",+ "@repo/storybook-play-no-implementation-detail-assertions": "warn",+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ excludeFiles: [+ "src/**/*.clienttest.{ts,tsx}",+ "src/**/*.servertest.{ts,tsx}",+ "src/**/*.test.{ts,tsx}",+ "src/**/*.story.{ts,tsx}",+ "src/**/*.stories.{ts,tsx}",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-abstracted-overlay-trigger": [+ "warn",+ {+ overlayFamilies: [+ {+ module: "@/src/components/ui/dialog",+ root: "Dialog",+ trigger: "DialogTrigger",+ contents: ["DialogContent"],+ },+ {+ module: "@/src/components/ui/alert-dialog",+ root: "AlertDialog",+ trigger: "AlertDialogTrigger",+ contents: ["AlertDialogContent"],+ },+ {+ module: "@/src/components/ui/dropdown-menu",+ root: "DropdownMenu",+ trigger: "DropdownMenuTrigger",+ contents: ["DropdownMenuContent", "DropdownMenuSubContent"],+ },+ {+ module: "@/src/components/ui/drawer",+ root: "Drawer",+ trigger: "DrawerTrigger",+ contents: ["DrawerContent"],+ },+ {+ module: "@/src/components/ui/popover",+ root: "Popover",+ trigger: "PopoverTrigger",+ contents: ["PopoverContent"],+ },+ {+ module: "@/src/components/ui/sheet",+ root: "Sheet",+ trigger: "SheetTrigger",+ contents: ["SheetContent"],+ },+ ],+ overlayControllerFamilies: [+ {+ module:+ "@/src/components/design-system/ConfirmationDialogController/ConfirmationDialogController",+ root: "ConfirmationDialogController",+ },+ {+ module:+ "@/src/components/design-system/DialogController/DialogController",+ root: "DialogController",+ },+ ],+ },+ ],+ },+ },+ {+ files: [+ "**/*.ts",+ "**/*.tsx",+ "**/*.js",+ "**/*.jsx",+ "**/*.svelte",+ "**/*.vue",+ ],+ excludeFiles: [+ ".storybook/**/*",+ "src/**/__tests__/**",+ "src/**/__e2e__/**",+ "src/**/*.clienttest.{ts,tsx}",+ "src/**/*.servertest.{ts,tsx}",+ ],+ jsPlugins: ["eslint-plugin-tailwindcss"],+ rules: {+ "tailwindcss/classnames-order": "off",+ "tailwindcss/enforces-canonical-classname": "off",+ "tailwindcss/enforces-negative-arbitrary-values": "warn",+ "tailwindcss/enforces-shorthand": "off",+ "tailwindcss/important-modifier-suffix": "warn",+ "tailwindcss/no-arbitrary-value": "off",+ "tailwindcss/no-custom-classname": [+ "warn",+ {+ whitelist: [+ "io-message-header",+ "io-message-content",+ "ph-no-capture",+ "codeblock",+ "toaster",+ "toast",+ "playground-window",+ "layout",+ "drag-handle",+ "peer",+ "peer/menu-button",+ "cmdk-input-wrapper",+ "dialog-header",+ "dialog-footer",+ ],+ },+ ],+ "tailwindcss/no-contradicting-classname": "off",+ "tailwindcss/no-unnecessary-arbitrary-value": "off",+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-unnecessary-cn": [+ "warn",+ {+ importPath: "@/src/utils/tailwind",+ },+ ],+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ excludeFiles: ["src/**/*.stories.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/require-title-with-truncate": [+ "warn",+ {+ classNameFunctions: ["cn", "clsx"],+ },+ ],+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ excludeFiles: [+ "src/__tests__/**",+ "src/__e2e__/**",+ "src/**/*.clienttest.{ts,tsx}",+ "src/**/*.servertest.{ts,tsx}",+ "src/**/*.stories.{ts,tsx}",+ "src/components/layouts/**",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-null-render": "warn",+ },+ },+ {+ files: ["src/pages/**/*.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-null-render": "off",+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ excludeFiles: [+ "src/__tests__/**",+ "src/__e2e__/**",+ "src/**/*.clienttest.{ts,tsx}",+ "src/**/*.servertest.{ts,tsx}",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-style-props": "warn",+ },+ },+ {+ files: ["src/components/design-system/**/*.{ts,tsx}"],+ excludeFiles: [+ "src/components/design-system/charts/**",+ "src/components/design-system/factories/**",+ "src/components/design-system/internal/**",+ "src/components/design-system/table/**",+ ],+ jsPlugins: ["eslint-plugin-check-file"],+ rules: {+ "check-file/folder-match-with-fex": [+ "warn",+ {+ "*.{ts,tsx}": "src/components/design-system/*/",+ },+ ],+ "check-file/folder-naming-convention": [+ "warn",+ {+ "src/components/design-system/*/": "PASCAL_CASE",+ },+ ],+ "check-file/filename-naming-convention": [+ "warn",+ {+ "src/components/design-system/*/*.{ts,tsx}": "<0>",+ },+ {+ ignoreMiddleExtensions: true,+ },+ ],+ },+ },+ {+ files: ["**/*.{tsx,jsx}"],+ excludeFiles: [+ "src/pages/**",+ "src/app/**/layout.{tsx,jsx}",+ "src/components/design-system/**/*.stories.{ts,tsx}",+ "**/*.{test,spec,clienttest,servertest}.{tsx,jsx}",+ "**/{__tests__,__e2e__,tests,test}/**",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/component-file-structure": "warn",+ },+ },+ {+ files: ["src/components/design-system/*/*.{ts,tsx}"],+ excludeFiles: [+ "src/components/design-system/**/*.stories.{ts,tsx}",+ "src/components/design-system/charts/**",+ "src/components/design-system/table/**",+ ],+ rules: {+ "import/no-default-export": "warn",+ },+ },+ {+ files: ["src/components/design-system/**/*.{ts,tsx}"],+ excludeFiles: ["src/components/design-system/**/*.stories.tsx"],+ env: {+ browser: true,+ },+ jsPlugins: [+ "eslint-plugin-react-you-might-not-need-an-effect",+ "eslint-plugin-boundaries",+ ],+ rules: {+ "react-you-might-not-need-an-effect/no-derived-state": "warn",+ "react-you-might-not-need-an-effect/no-chain-state-updates": "warn",+ "react-you-might-not-need-an-effect/no-event-handler": "warn",+ "react-you-might-not-need-an-effect/no-adjust-state-on-prop-change":+ "warn",+ "react-you-might-not-need-an-effect/no-reset-all-state-on-prop-change":+ "warn",+ "react-you-might-not-need-an-effect/no-pass-live-state-to-parent":+ "warn",+ "react-you-might-not-need-an-effect/no-pass-data-to-parent": "warn",+ "react-you-might-not-need-an-effect/no-external-store-subscription":+ "warn",+ "react-you-might-not-need-an-effect/no-initialize-state": "warn",+ "boundaries/dependencies": [+ "warn",+ {+ default: "allow",+ policies: [+ {+ from: {+ file: {+ categories: "design-system",+ },+ },+ disallow: {+ to: {+ file: {+ categories: {+ anyOf: ["app-component", "feature"],+ noneOf: ["design-system"],+ },+ },+ },+ },+ message:+ "Design-system files must not import from the outer `src/components` tree or from `src/features`.",+ },+ ],+ },+ ],+ },+ },+ {+ files: ["src/components/**/*.{ts,tsx}"],+ excludeFiles: ["src/components/**/*.stories.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-margin-on-root-elements": [+ "warn",+ {+ classNameFunctions: ["cn", "clsx"],+ },+ ],+ },+ },+ {+ files: ["src/features/in-app-agent/**/*.{ts,tsx}"],+ env: {+ browser: true,+ },+ jsPlugins: [+ "eslint-plugin-react-you-might-not-need-an-effect",+ "@repo/eslint-plugin",+ ],+ rules: {+ "react-you-might-not-need-an-effect/no-derived-state": "warn",+ "react-you-might-not-need-an-effect/no-chain-state-updates": "warn",+ "react-you-might-not-need-an-effect/no-event-handler": "warn",+ "react-you-might-not-need-an-effect/no-adjust-state-on-prop-change":+ "warn",+ "react-you-might-not-need-an-effect/no-reset-all-state-on-prop-change":+ "warn",+ "react-you-might-not-need-an-effect/no-pass-live-state-to-parent":+ "warn",+ "react-you-might-not-need-an-effect/no-pass-data-to-parent": "warn",+ "react-you-might-not-need-an-effect/no-external-store-subscription":+ "warn",+ "react-you-might-not-need-an-effect/no-initialize-state": "warn",+ "typescript/consistent-type-definitions": ["warn", "type"],+ "typescript/no-confusing-void-expression": "warn",+ "typescript/no-non-null-assertion": "warn",+ "typescript/no-meaningless-void-operator": "warn",+ "typescript/no-invalid-void-type": "warn",+ "typescript/no-unsafe-assignment": "warn",+ "typescript/return-await": ["warn", "in-try-catch"],+ curly: ["warn", "all"],+ "@repo/no-switch-statements": "warn",+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-raw-font-weight": "warn",+ "@repo/no-arbitrary-colors": "warn",+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-overlay-zindex": [+ "warn",+ {+ mode: "overlay-content",+ },+ ],+ },+ },+ {+ files: [+ "src/components/ui/dialog.tsx",+ "src/components/ui/alert-dialog.tsx",+ "src/components/ui/sheet.tsx",+ "src/components/ui/drawer.tsx",+ "src/components/ui/popover.tsx",+ "src/components/ui/dropdown-menu.tsx",+ "src/components/ui/select.tsx",+ "src/components/design-system/HoverCardController/HoverCardController.tsx",+ "src/components/design-system/ControlledHoverCard/ControlledHoverCard.tsx",+ "src/components/ui/tooltip.tsx",+ ],+ jsPlugins: ["@repo/eslint-plugin"],+ rules: {+ "@repo/no-overlay-zindex": [+ "warn",+ {+ mode: "wrapper",+ },+ ],+ },+ },+ {+ files: ["src/__tests__/**", "src/__e2e__/**", "**/*.servertest.ts"],+ rules: {+ "typescript/no-deprecated": "off",+ },+ },+ {+ files: ["**/*"],+ // The native rule also checks dynamic imports, unlike ESLint's original.+ jsPlugins: [+ { name: "eslint-js", specifier: "@repo/oxlint-config/eslint-rules" },+ ],+ rules: {+ "eslint-js/no-restricted-imports": [+ "warn",+ {+ patterns: [+ {+ regex: "^(lucide-react|react-icons)(/|$)",+ message:+ "Import typed icons from @langfuse/icons, @langfuse/icons/si, or @langfuse/icons/tb instead.",+ },+ {+ regex: "^(\\.\\./)+(packages|ee|worker)/",+ message:+ "Do not import other workspace packages via relative paths. Use the package entrypoints instead (e.g. @langfuse/shared/src/db, @langfuse/shared/src/server).",+ },+ {+ regex: "^@sentry/nextjs$",+ importNames: ["captureException", "captureMessage"],+ message:+ "Do not capture directly — route through the reportError seam (@/src/utils/reportError) or a helper that wraps it (captureUnknownError, reportParserWorkerError), so one seam owns error classification. See the reportError doc comment and .agents/skills/sentry-instrumentation/SKILL.md.",+ },+ {+ regex: "^sonner(?:/|$)",+ importNames: ["toast", "default"],+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ {+ regex: "(^|/)design-system/internal(?:/|$)",+ message:+ "Design-system internals may only be imported by other design-system components.",+ },+ ],+ },+ ],+ },+ },+ {+ files: ["src/components/design-system/**/*.{ts,tsx}"],+ rules: {+ "eslint-js/no-restricted-imports": [+ "warn",+ {+ patterns: [+ {+ regex: "^(lucide-react|react-icons)(/|$)",+ message:+ "Import typed icons from @langfuse/icons, @langfuse/icons/si, or @langfuse/icons/tb instead.",+ },+ {+ regex: "^(\\.\\./)+(packages|ee|worker)/",+ message:+ "Do not import other workspace packages via relative paths. Use the package entrypoints instead (e.g. @langfuse/shared/src/db, @langfuse/shared/src/server).",+ },+ {+ regex: "^@sentry/nextjs$",+ importNames: ["captureException", "captureMessage"],+ message:+ "Do not capture directly — route through the reportError seam (@/src/utils/reportError) or a helper that wraps it (captureUnknownError, reportParserWorkerError), so one seam owns error classification. See the reportError doc comment and .agents/skills/sentry-instrumentation/SKILL.md.",+ },+ {+ regex: "^sonner(?:/|$)",+ importNames: ["toast", "default"],+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ ],+ },+ ],+ },+ },+ {+ files: ["src/components/design-system/internal/**/*.{ts,tsx}"],+ jsPlugins: ["eslint-plugin-check-file"],+ rules: {+ "check-file/folder-naming-convention": [+ "warn",+ {+ "src/components/design-system/*/": "KEBAB_CASE",+ "src/components/design-system/internal/*/": "PASCAL_CASE",+ },+ ],+ },+ },+ {+ files: ["src/components/design-system/internal/charts/**/*.{ts,tsx}"],+ jsPlugins: ["eslint-plugin-check-file"],+ rules: {+ "check-file/folder-naming-convention": [+ "warn",+ {+ "src/components/design-system/*/": "KEBAB_CASE",+ "src/components/design-system/internal/*/": "KEBAB_CASE",+ "src/components/design-system/internal/charts/*/": "PASCAL_CASE",+ },+ ],+ },+ },+ {+ files: ["src/utils/reportError.ts", "instrumentation-client.ts"],+ rules: {+ "eslint-js/no-restricted-imports": [+ "warn",+ {+ patterns: [+ {+ regex: "^(lucide-react|react-icons)(/|$)",+ message:+ "Import typed icons from @langfuse/icons, @langfuse/icons/si, or @langfuse/icons/tb instead.",+ },+ {+ regex: "^(\\.\\./)+(packages|ee|worker)/",+ message:+ "Do not import other workspace packages via relative paths. Use the package entrypoints instead (e.g. @langfuse/shared/src/db, @langfuse/shared/src/server).",+ },+ {+ regex: "(^|/)design-system/internal(?:/|$)",+ message:+ "Design-system internals may only be imported by other design-system components.",+ },+ {+ regex: "^sonner(?:/|$)",+ importNames: ["toast", "default"],+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ ],+ },+ ],+ },+ },+ {+ files: [+ "src/features/notifications/showErrorToast.tsx",+ "src/features/notifications/showSuccessToast.tsx",+ "src/features/notifications/showToast.tsx",+ ],+ rules: {+ "eslint-js/no-restricted-imports": [+ "warn",+ {+ patterns: [+ {+ regex: "^(lucide-react|react-icons)(/|$)",+ message:+ "Import typed icons from @langfuse/icons, @langfuse/icons/si, or @langfuse/icons/tb instead.",+ },+ {+ regex: "^(\\.\\./)+(packages|ee|worker)/",+ message:+ "Do not import other workspace packages via relative paths. Use the package entrypoints instead (e.g. @langfuse/shared/src/db, @langfuse/shared/src/server).",+ },+ {+ regex: "^@sentry/nextjs$",+ importNames: ["captureException", "captureMessage"],+ message:+ "Do not capture directly — route through the reportError seam (@/src/utils/reportError) or a helper that wraps it (captureUnknownError, reportParserWorkerError), so one seam owns error classification. See the reportError doc comment and .agents/skills/sentry-instrumentation/SKILL.md.",+ },+ {+ regex: "(^|/)design-system/internal(?:/|$)",+ message:+ "Design-system internals may only be imported by other design-system components.",+ },+ ],+ },+ ],+ },+ },+ {+ files: ["src/**/*.{ts,tsx}"],+ jsPlugins: [+ { name: "eslint-js", specifier: "@repo/oxlint-config/eslint-rules" },+ ],+ rules: {+ "eslint-js/no-restricted-syntax": [+ "warn",+ {+ selector: "ImportExpression[source.value=/^sonner(?:\\/|$)/]",+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ {+ selector:+ "CallExpression[callee.name='require'][arguments.0.value=/^sonner(?:\\/|$)/]",+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ {+ selector:+ "TSImportEqualsDeclaration[moduleReference.expression.value=/^sonner(?:\\/|$)/]",+ message:+ "Use the notifications feature's typed toast helpers. Every toast must declare its static operation and errors/warnings must declare origin and category.",+ },+ ],+ },+ },+ ],+});diff --git a/web/package.json b/web/package.jsonindex bd8a45629b..1c51539aa7 100644--- a/web/package.json+++ b/web/package.json@@ -11,11 +11,11 @@"build:test": "INLINE_RUNTIME_CHUNK=false dotenv -e ../.env -- next build --experimental-build-mode compile","build:otel-worker": "DOCKER_BUILD=1 dotenv -e ../.env -- node scripts/build-otel-ingestion-worker.mjs","build:json-parser-worker": "node scripts/build-json-parser-worker.mjs",- "typecheck": "dotenv -e ../.env -- tsc -p tsconfig.json --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo && dotenv -e ../.env -- tsc -p tsconfig.tests.json --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tests.tsbuildinfo",+ "typecheck": "dotenv -e ../.env -- tsc -p tsconfig.json --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo","dev": "dotenv -e ../.env -- next dev","dev:http": "dotenv -e ../.env -- next dev --experimental-https --experimental-https-key ./localhost+1-key.pem --experimental-https-cert ./localhost+1.pem",- "lint": "dotenv -e ../.env -- node --max-old-space-size=${WEB_LINT_MAX_OLD_SPACE_SIZE:-8192} node_modules/eslint/bin/eslint.js --cache --cache-location .next/cache/eslint/ --max-warnings 0 --concurrency off",- "lint:fix": "dotenv -e ../.env -- node --max-old-space-size=8192 node_modules/eslint/bin/eslint.js . --cache --cache-location .next/cache/eslint/ --fix --concurrency off",+ "lint": "dotenv -e ../.env -- oxlint --max-warnings 0",+ "lint:fix": "dotenv -e ../.env -- oxlint --fix .","analyze": "dotenv -e ../.env -- next analyze","clean": "rm -rf node_modules","start": "dotenv -e ../.env -- sh -c 'NEXT_MANUAL_SIG_HANDLE=true next start'",@@ -184,7 +184,7 @@"devDependencies": {"@jedmao/location": "^3.0.0","@playwright/test": "^1.57.0",- "@repo/eslint-config": "workspace:*",+ "@repo/oxlint-config": "workspace:*","@repo/typescript-config": "workspace:*","@storybook/addon-a11y": "10.6.2","@storybook/addon-docs": "10.6.2",@@ -215,7 +215,7 @@"dotenv-cli": "^7.4.2","dotenv-expand": "^10.0.0","esbuild": "0.28.1",- "eslint": "catalog:",+ "eslint-import-resolver-typescript": "^3.5.2","eslint-plugin-boundaries": "7.2.0","eslint-plugin-check-file": "3.3.2","eslint-plugin-react-you-might-not-need-an-effect": "^1.0.1",diff --git a/web/scripts/structure/README.md b/web/scripts/structure/README.mdindex 9cdc6c11df..4aa8cc5941 100644--- a/web/scripts/structure/README.md+++ b/web/scripts/structure/README.md@@ -71,13 +71,7 @@ spelling and only breaks on Linux CI.Flags: `--dry-run` (print the plan and every rewrite, change nothing),`--no-siblings`, `--no-verify` (skip the closing `tsc` + `--diff`), `--no-color`.-The rewrites come from TypeScript's own-`LanguageService.getEditsForFileRename` over the combined roots of-`web/tsconfig.json` and `web/tsconfig.tests.json` — the exact-primitive VS Code's "move file" uses — so `@/src/...` aliases, extension-less-specifiers, index resolution and literal dynamic `import()` are the compiler's-problem, not ours. Booting the service costs ~5–15s and every move after that-is instant, which is why the CLI is batch-shaped.+The rewrites come from TypeScript's own `LanguageService.getEditsForFileRename` over the roots of `web/tsconfig.json` — the exact primitive VS Code's "move file" uses — so `@/src/...` aliases, extension-less specifiers, index resolution and literal dynamic `import()` are the compiler's problem, not ours. Booting the service costs ~5–15s and every move after that is instant, which is why the CLI is batch-shaped.- **Batch moves need a live layout.** The host is mutable: each rename bumps theaffected script versions and the project version, so move #2 computes itsdiff --git a/web/scripts/structure/move.mjs b/web/scripts/structure/move.mjsindex 8020a79959..d8e0538d82 100644--- a/web/scripts/structure/move.mjs+++ b/web/scripts/structure/move.mjs@@ -327,7 +327,7 @@ console.log();// --- language service over a mutable in-memory layout ------------------------const t0 = Date.now();-const projects = ["tsconfig.json", "tsconfig.tests.json"].map((configName) => {+ const projects = ["tsconfig.json"].map((configName) => {const parsed = ts.getParsedCommandLineOfConfigFile(`${webRoot}/${configName}`,{},diff --git a/web/src/components/table/data-table-column-visibility-filter.clienttest.tsx b/web/src/components/table/data-table-column-visibility-filter.clienttest.tsxindex 216a41d4f1..c02074bb71 100644--- a/web/src/components/table/data-table-column-visibility-filter.clienttest.tsx+++ b/web/src/components/table/data-table-column-visibility-filter.clienttest.tsx@@ -181,7 +181,9 @@ describe("DataTableColumnVisibilityFilter", () => {matches: query.includes("min-width"),media: query,onchange: null,+ // eslint-disable-next-line @typescript-eslint/no-deprecatedaddListener: vi.fn(),+ // eslint-disable-next-line @typescript-eslint/no-deprecatedremoveListener: vi.fn(),addEventListener: vi.fn(),removeEventListener: vi.fn(),diff --git a/web/src/components/table/types.ts b/web/src/components/table/types.tsindex ca2d7c8f31..ee837de19f 100644--- a/web/src/components/table/types.ts+++ b/web/src/components/table/types.ts@@ -9,7 +9,6 @@ export type DataTableCellBackground = "gray" | "green";declare module "@tanstack/react-table" {// extends tanstack ColumnDef to include additional properties- // eslint-disable-next-line @typescript-eslint/no-unused-varsinterface ColumnDefBase<TData extends RowData, TValue = unknown> {defaultHidden?: boolean;headerTooltip?: {diff --git a/web/src/components/ui/Combobox.tsx b/web/src/components/ui/Combobox.tsxindex 45f922299c..017777fe95 100644--- a/web/src/components/ui/Combobox.tsx+++ b/web/src/components/ui/Combobox.tsx@@ -133,6 +133,7 @@ export function Combobox<T extends string | number | boolean | { id: string }>({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={!disabled && open}className={cn(diff --git a/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts b/web/src/ee/features/admin-api/server/organizations/apiKeys/index.tsindex dc2d403098..fb5778cba8 100644--- a/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts+++ b/web/src/ee/features/admin-api/server/organizations/apiKeys/index.ts@@ -73,6 +73,7 @@ export async function handleCreateApiKey(role: SystemRoleId(role),createdBy: "system",name,+ // eslint-disable-next-line @typescript-eslint/no-deprecatednote,expiresAt,});diff --git a/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts b/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.tsindex 92bd8761be..db2db4b8d0 100644--- a/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts+++ b/web/src/ee/features/admin-api/server/projects/projectById/apiKeys/index.ts@@ -109,6 +109,7 @@ export async function handleCreateApiKey(role: SystemRoleId(role),createdBy: ApiKeyId(createdByApiKeyId),name,+ // eslint-disable-next-line @typescript-eslint/no-deprecatednote,expiresAt,predefinedKeys:diff --git a/web/src/ee/features/billing/utils/stripeSubscriptionMetadata.ts b/web/src/ee/features/billing/utils/stripeSubscriptionMetadata.tsindex 4d1d423f1d..42c7097e32 100644--- a/web/src/ee/features/billing/utils/stripeSubscriptionMetadata.ts+++ b/web/src/ee/features/billing/utils/stripeSubscriptionMetadata.ts@@ -17,7 +17,6 @@ import { z } from "zod";* @property orgId - Links the subscription to a specific organization* @property cloudRegion - Identifies which cloud region (e.g., EU, US) handles this subscription*/-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst StripeSubscriptionMetadataSchema = z.object({orgId: z.string().optional(),cloudRegion: z.string().optional(),diff --git a/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx b/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsxindex 50c6b3292f..a6ec8ef2ec 100644--- a/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx+++ b/web/src/features/annotation-queues/components/AnnotationQueueItemsTable.tsx@@ -458,6 +458,7 @@ export function AnnotationQueueItemsTable({customRowHeight={customRowHeightMenu(rowHeights)}actionButtons={[selectedItems.length > 0 ? (+ // eslint-disable-next-line react/jsx-key<QueueItemTableMultiSelectActionselectedItems={selectedItems}projectId={projectId}diff --git a/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx b/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsxindex 7012e41cd3..0456482247 100644--- a/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx+++ b/web/src/features/automations/components/actions/GitHubDispatchActionHandler.tsx@@ -11,7 +11,6 @@ import { z } from "zod";import { areDestinationUrlsEquivalent } from "@/src/features/automations/destinationUrl";// Define the form schema for GitHub dispatch actions-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst GitHubDispatchActionFormSchema = z.object({githubDispatch: z.object({url: z.url("Invalid URL"),diff --git a/web/src/features/automations/components/actions/SlackActionHandler.ts b/web/src/features/automations/components/actions/SlackActionHandler.tsindex 6c3c7fb001..c50c86c11b 100644--- a/web/src/features/automations/components/actions/SlackActionHandler.ts+++ b/web/src/features/automations/components/actions/SlackActionHandler.ts@@ -11,7 +11,6 @@ import {import { z } from "zod";// Define the form schema for Slack actions-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst SlackActionFormSchema = z.object({slack: z.object({channelId: z.string().min(1, "Channel is required"),diff --git a/web/src/features/automations/components/actions/WebhookActionHandler.tsx b/web/src/features/automations/components/actions/WebhookActionHandler.tsxindex a1129ce8b5..b6280f2a79 100644--- a/web/src/features/automations/components/actions/WebhookActionHandler.tsx+++ b/web/src/features/automations/components/actions/WebhookActionHandler.tsx@@ -14,7 +14,6 @@ import { z } from "zod";import { areDestinationUrlsEquivalent } from "@/src/features/automations/destinationUrl";// Define the form schema for webhook actions-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst WebhookActionFormSchema = z.object({webhook: z.object({url: z.url("Invalid URL"),diff --git a/web/src/features/datasets/components/DatasetRunsTable.tsx b/web/src/features/datasets/components/DatasetRunsTable.tsxindex 0877b13688..96fc0077da 100644--- a/web/src/features/datasets/components/DatasetRunsTable.tsx+++ b/web/src/features/datasets/components/DatasetRunsTable.tsx@@ -735,6 +735,7 @@ function DatasetRunsTableInternal(Object.keys(selectedRows).filter((runId) =>runs.data?.runs.map((run) => run.id).includes(runId),).length > 0 ? (+ // eslint-disable-next-line react/jsx-key<DatasetRunTableMultiSelectAction// Exclude items that are not in the current pageselectedRunIds={Object.keys(selectedRows).filter((runId) =>diff --git a/web/src/features/datasets/contexts/DatasetCompareFieldsProvider.tsx b/web/src/features/datasets/contexts/DatasetCompareFieldsProvider.tsxindex 91de8bd7da..b6cbe6bffd 100644--- a/web/src/features/datasets/contexts/DatasetCompareFieldsProvider.tsx+++ b/web/src/features/datasets/contexts/DatasetCompareFieldsProvider.tsx@@ -1,6 +1,5 @@import { createContext, useContext, useState, type ReactNode } from "react";-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via typeofconst DATASET_RUN_FIELDS = ["output", "scores", "resourceMetrics"] as const;export type DatasetRunField = (typeof DATASET_RUN_FIELDS)[number];diff --git a/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx b/web/src/features/developer-tools/components/DeveloperToolsSettings.tsxindex e28f570958..9487f1174b 100644--- a/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx+++ b/web/src/features/developer-tools/components/DeveloperToolsSettings.tsx@@ -45,6 +45,7 @@ export function DeveloperToolsSettings({ projectId }: { projectId: string }) {</p><CodeBlocklanguage="shell"+ // eslint-disable-next-line react/jsx-curly-brace-presencevalue={`npx skills add langfuse/skills --skill "langfuse"`}/><div className="mt-4 flex items-center gap-2">diff --git a/web/src/features/entitlements/constants/entitlements.ts b/web/src/features/entitlements/constants/entitlements.tsindex 09c6d90f89..ea2f099f64 100644--- a/web/src/features/entitlements/constants/entitlements.ts+++ b/web/src/features/entitlements/constants/entitlements.ts@@ -1,7 +1,6 @@import { type Plan } from "@langfuse/shared";// Entitlements: Binary feature access-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via typeofconst entitlements = [// features"rbac-project-roles",@@ -46,7 +45,6 @@ const selfHostedEnterpriseEntitlements: Entitlement[] = [];// Entitlement Limits: Limits on the number of resources that can be created/used-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via typeofconst entitlementLimits = ["annotation-queue-count","organization-member-count",diff --git a/web/src/features/evals/components/TemplateSelector.tsx b/web/src/features/evals/components/TemplateSelector.tsxindex 21eeb2c712..5582387557 100644--- a/web/src/features/evals/components/TemplateSelector.tsx+++ b/web/src/features/evals/components/TemplateSelector.tsx@@ -161,6 +161,7 @@ export const TemplateSelector = ({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={isPopoverOpen}className={cn(diff --git a/web/src/features/experiments/components/CreateExperimentsForm.tsx b/web/src/features/experiments/components/CreateExperimentsForm.tsxindex 03960bc895..c5bab4e4c9 100644--- a/web/src/features/experiments/components/CreateExperimentsForm.tsx+++ b/web/src/features/experiments/components/CreateExperimentsForm.tsx@@ -249,6 +249,7 @@ export const CreateExperimentsForm = ({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={datasetPopoverOpen}disabled={diff --git a/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx b/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsxindex 54ce5ceb67..2ad0331df9 100644--- a/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx+++ b/web/src/features/experiments/components/RemoteExperimentDatasetStep.tsx@@ -99,6 +99,7 @@ export const RemoteExperimentDatasetStep = ({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={datasetPopoverOpen}className="w-full justify-between gap-2 px-2 font-normal"diff --git a/web/src/features/experiments/components/steps/DatasetPicker.tsx b/web/src/features/experiments/components/steps/DatasetPicker.tsxindex 324e06ab51..ff7fd137f7 100644--- a/web/src/features/experiments/components/steps/DatasetPicker.tsx+++ b/web/src/features/experiments/components/steps/DatasetPicker.tsx@@ -78,6 +78,7 @@ export function DatasetPicker({<Trigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={isOpen}className="min-w-0 flex-1 justify-between gap-2 px-2 font-normal"diff --git a/web/src/features/experiments/components/steps/PromptModelStep.tsx b/web/src/features/experiments/components/steps/PromptModelStep.tsxindex eae86bbb4b..5f337c0d67 100644--- a/web/src/features/experiments/components/steps/PromptModelStep.tsx+++ b/web/src/features/experiments/components/steps/PromptModelStep.tsx@@ -139,6 +139,7 @@ export const PromptModelStep: React.FC<PromptModelStepProps> = ({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={open}className="w-2/3 justify-between gap-2 px-2 font-normal"@@ -199,6 +200,7 @@ export const PromptModelStep: React.FC<PromptModelStepProps> = ({<Buttondisabled={!selectedPromptName}variant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"className="w-1/3 justify-between gap-2 px-2 font-normal">@@ -337,6 +339,7 @@ export const PromptModelStep: React.FC<PromptModelStepProps> = ({<PopoverTrigger asChild><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={schemaPopoverOpen}className="flex-1 justify-between gap-2 px-2 font-normal"diff --git a/web/src/features/filters/components/CompactPickerButton.tsx b/web/src/features/filters/components/CompactPickerButton.tsxindex a574151e19..63d46816fc 100644--- a/web/src/features/filters/components/CompactPickerButton.tsx+++ b/web/src/features/filters/components/CompactPickerButton.tsx@@ -27,6 +27,7 @@ export const CompactPickerButton = ({}) => (<Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"type="button"className={pickerVariants({ minWidth })}diff --git a/web/src/features/media/validation.ts b/web/src/features/media/validation.tsindex 88f3ced8dd..3b705086ae 100644--- a/web/src/features/media/validation.ts+++ b/web/src/features/media/validation.ts@@ -97,7 +97,6 @@ export const GetMediaResponseSchema = z.object({export type GetMediaResponse = z.infer<typeof GetMediaResponseSchema>;-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst MediaReturnSchema = z.object({mediaId: z.string(),contentType: z.enum(MediaContentType),diff --git a/web/src/features/posthog-analytics/usePostHogClientCapture.ts b/web/src/features/posthog-analytics/usePostHogClientCapture.tsindex f15118a030..7fe19c5bf1 100644--- a/web/src/features/posthog-analytics/usePostHogClientCapture.ts+++ b/web/src/features/posthog-analytics/usePostHogClientCapture.ts@@ -18,7 +18,6 @@ type ToastEventMap = {};// resource:action, only use snake_case-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via typeofconst events = {table: ["filter_builder_open",diff --git a/web/src/features/projects/components/TransferProjectDialogController.tsx b/web/src/features/projects/components/TransferProjectDialogController.tsxindex cc5d2b8b03..b5d816afa0 100644--- a/web/src/features/projects/components/TransferProjectDialogController.tsx+++ b/web/src/features/projects/components/TransferProjectDialogController.tsx@@ -58,7 +58,7 @@ export function TransferProjectDialogController({await new Promise((resolve) => setTimeout(resolve, 5000));session.update();// Existing hard navigation is accepted during the Next.js 16.3 migration.- // eslint-disable-next-line @next/next/no-location-assign-relative-destination+ // eslint-disable-next-line next-js/no-location-assign-relative-destinationwindow.location.href = "/";},});diff --git a/web/src/features/prompts/components/ProtectedLabelsSettings.tsx b/web/src/features/prompts/components/ProtectedLabelsSettings.tsxindex b29aaac9a4..f4f5f0b048 100644--- a/web/src/features/prompts/components/ProtectedLabelsSettings.tsx+++ b/web/src/features/prompts/components/ProtectedLabelsSettings.tsx@@ -160,6 +160,7 @@ export default function ProtectedLabelsSettings({<FormControl><Buttonvariant="outline"+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-propsrole="combobox"aria-expanded={open}className={cn(diff --git a/web/src/features/public-api/server/withMiddlewares.ts b/web/src/features/public-api/server/withMiddlewares.tsindex 40de0e391b..163ed33285 100644--- a/web/src/features/public-api/server/withMiddlewares.ts+++ b/web/src/features/public-api/server/withMiddlewares.ts@@ -28,7 +28,6 @@ import { setRetryAfterHeader } from "@/src/features/public-api/server/writeErrorimport { withDeprecationResponse } from "@/src/features/public-api/server/deprecations";import { env } from "@/src/env.mjs";-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via typeofconst httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"] as const;export type HttpMethod = (typeof httpMethods)[number];/** RouteHandler is a method handler; `deprecation` marks it as a deprecated route. */diff --git a/web/src/features/public-api/types/blob-storage-integrations.ts b/web/src/features/public-api/types/blob-storage-integrations.tsindex fe88798574..ae16ca8688 100644--- a/web/src/features/public-api/types/blob-storage-integrations.ts+++ b/web/src/features/public-api/types/blob-storage-integrations.ts@@ -179,7 +179,6 @@ export const CreateBlobStorageIntegrationRequest = z}});-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst BlobStorageIntegrationResponse = z.object({id: z.string(),@@ -221,7 +220,6 @@ const BlobStorageSyncStatus = z.enum(["error",]);-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.inferconst BlobStorageIntegrationStatusResponse = z.object({id: z.string(),diff --git a/web/src/features/sessions/ModernSessionHeaderActionsController.clienttest.tsx b/web/src/features/sessions/ModernSessionHeaderActionsController.clienttest.tsxindex 1aee3d5cc0..22b2926e08 100644--- a/web/src/features/sessions/ModernSessionHeaderActionsController.clienttest.tsx+++ b/web/src/features/sessions/ModernSessionHeaderActionsController.clienttest.tsx@@ -115,7 +115,9 @@ describe("ModernSessionHeaderActionsController", () => {mockUseSession.mockReturnValue({ data: { user: { admin: true } } });render(<ModernSessionHeaderActionsController+ // eslint-disable-next-line react/jsx-curly-brace-presenceprojectId={"project'\\id"}+ // eslint-disable-next-line react/jsx-curly-brace-presencesessionId={"session'\\id"}isPublic={false}/>,diff --git a/web/src/features/table/components/TableSelectionManager.tsx b/web/src/features/table/components/TableSelectionManager.tsxindex 84c0adb3b6..a04a79ca97 100644--- a/web/src/features/table/components/TableSelectionManager.tsx+++ b/web/src/features/table/components/TableSelectionManager.tsx@@ -209,6 +209,7 @@ export function TableSelectionManager<TData>({isFixedPosition: true,isPinnedLeft: true,loadingCell: <Skeleton className="h-4 w-4 shrink-0 rounded-sm" />,+ // eslint-disable-next-line react/no-unstable-nested-componentsheader: ({ table }: { table: Table<TData> }) => (<SelectionHeaderCheckboxtable={table}@@ -218,6 +219,7 @@ export function TableSelectionManager<TData>({setSelectAll={setSelectAll}/>),+ // eslint-disable-next-line react/no-unstable-nested-componentscell: ({ row, table }: { row: Row<TData>; table: Table<TData> }) => (<SelectionRowCheckboxrow={row}diff --git a/web/src/observability.config.ts b/web/src/observability.config.tsindex 9881b33d11..169533293b 100644--- a/web/src/observability.config.ts+++ b/web/src/observability.config.ts@@ -104,6 +104,7 @@ class ScopeFilteringTracerProvider implements TracerProvider {dd.init({runtimeMetrics: true,+ // eslint-disable-next-line @typescript-eslint/no-deprecatedplugins: false,});diff --git a/web/src/pages/_app.tsx b/web/src/pages/_app.tsxindex 796adf3a42..1efec8fa8d 100644--- a/web/src/pages/_app.tsx+++ b/web/src/pages/_app.tsx@@ -139,6 +139,7 @@ if (typeof window !== "undefined" && postHogClientConfig) {},},autocapture: false,+ // eslint-disable-next-line @typescript-eslint/no-deprecatedenable_heatmaps: true,persistence: "cookie",});diff --git a/web/src/utils/tanstack.d.ts b/web/src/utils/tanstack.d.tsindex 0c9763d4f4..642d175c59 100644--- a/web/src/utils/tanstack.d.ts+++ b/web/src/utils/tanstack.d.ts@@ -1,5 +1,4 @@export declare module "@tanstack/table-core" {- // eslint-disable-next-line @typescript-eslint/no-unused-varsexport interface ColumnMeta<TData extends RowData, TValue> {label?: string;filter: SelectFilter | NumberComparisonFilter | KeyValueFilter;diff --git a/web/tsconfig.json b/web/tsconfig.jsonindex a0baacf87a..59a602252e 100644--- a/web/tsconfig.json+++ b/web/tsconfig.json@@ -3,29 +3,26 @@"compilerOptions": {"declaration": false,"declarationMap": false,+ "plugins": [+ {+ "name": "next"+ }+ ],"paths": {"@/*": ["./*"]},"strictNullChecks": true,- "types": ["node"]+ "types": [+ "node",+ "vitest/globals",+ "vitest/importMeta",+ "@testing-library/jest-dom"+ ]},- "exclude": [- "node_modules",- "sdk",- "storybook-static",- ".storybook",- "**/__tests__/**",- "**/__e2e__/**",- "**/*.test.*",- "**/*.spec.*",- "**/*.clienttest.*",- "**/*.servertest.*",- "**/*.story.*",- "**/*.stories.*",- "vitest.config.mts",- "playwright.config.ts"- ],+ "exclude": ["node_modules", "sdk"],"include": [+ ".storybook/**/*",+ "vitest.config.mts","**/*.cjs","**/*.mjs","**/*.ts",@@ -34,6 +31,6 @@".next/types/**/*.ts","next-env.d.ts","src",- "types/**/*.d.ts"+ "types/global.d.ts"]}diff --git a/web/tsconfig.tests.json b/web/tsconfig.tests.jsondeleted file mode 100644index f3aa647f4a..0000000000--- a/web/tsconfig.tests.json+++ /dev/null@@ -1,28 +0,0 @@-{- "extends": "./tsconfig.json",- "compilerOptions": {- "types": [- "node",- "vitest/globals",- "vitest/importMeta",- "@testing-library/jest-dom"- ]- },- "exclude": ["node_modules", "sdk", "storybook-static"],- "include": [- "**/__tests__/**/*",- "**/__e2e__/**/*",- "**/*.test.*",- "**/*.spec.*",- "**/*.clienttest.*",- "**/*.servertest.*",- "**/*.story.*",- "**/*.stories.*",- ".storybook/**/*",- "vitest.config.mts",- "playwright.config.ts",- "next-env.d.ts",- "types/**/*.d.ts",- "src/**/*.d.ts"- ]-}diff --git a/worker/eslint.config.mjs b/worker/eslint.config.mjsdeleted file mode 100644index 889defb9f6..0000000000--- a/worker/eslint.config.mjs+++ /dev/null@@ -1,11 +0,0 @@-import baseConfig from "@repo/eslint-config";--export default [- ...baseConfig,-- // Worker-specific ignores- {- name: "langfuse/worker/ignores",- ignores: ["**/*test*.*", "**/worker-thread.js"],- },-];diff --git a/worker/oxlint.config.mts b/worker/oxlint.config.mtsnew file mode 100644index 0000000000..050392b057--- /dev/null+++ b/worker/oxlint.config.mts@@ -0,0 +1,10 @@+import baseConfig from "@repo/oxlint-config";++export default {+ ...baseConfig,+ ignorePatterns: [+ ...baseConfig.ignorePatterns,+ "**/*test*.*",+ "**/worker-thread.js",+ ],+};diff --git a/worker/package.json b/worker/package.jsonindex f05407c153..f92023eb41 100644--- a/worker/package.json+++ b/worker/package.json@@ -21,8 +21,8 @@"build:test": "tsc","typecheck": "dotenv -e ../.env -- tsc --noEmit --skipLibCheck --incremental --tsBuildInfoFile .tsbuildinfo","dev": "dotenv -e ../.env -- tsx watch --clear-screen=false --include '../packages/shared/dist/*' src/index.ts",- "lint": "eslint --cache --cache-location dist/.eslintcache --max-warnings 0 --concurrency 2",- "lint:fix": "eslint . --cache --cache-location dist/.eslintcache --fix --concurrency 2",+ "lint": "oxlint --max-warnings 0",+ "lint:fix": "oxlint --fix .","refill-ingestion-events": "dotenv -e ../.env -- tsx src/scripts/replayIngestionEvents/s3-ingestion-event-replay.ts","refill-billing-event": "dotenv -e ../.env -- tsx src/scripts/refill-billing-event.ts","refill-queue-event": "dotenv -e ../.env -- tsx src/scripts/refillQueueEvent/index.ts",@@ -85,7 +85,7 @@"zod": "^4.6.6"},"devDependencies": {- "@repo/eslint-config": "workspace:*",+ "@repo/oxlint-config": "workspace:*","@repo/typescript-config": "workspace:*","@types/cors": "^2.8.17","@types/dockerode": "^4.0.1",@@ -93,7 +93,6 @@"@types/lodash": "^4.17.24","@types/node": "^24.3.0","@vitest/coverage-v8": "^4.1.12",- "eslint": "catalog:","fast-check": "3.23.2","msw": "^2.6.5","tsx": "^4.20.5",diff --git a/worker/src/features/database-read-stream/observation-stream.ts b/worker/src/features/database-read-stream/observation-stream.tsindex dc3fd94101..04c8c0bc2e 100644--- a/worker/src/features/database-read-stream/observation-stream.ts+++ b/worker/src/features/database-read-stream/observation-stream.ts@@ -369,7 +369,6 @@ export const getObservationStream = async (// Convert async generator to Node.js Readable stream- // eslint-disable-next-line @typescript-eslint/no-unused-vars -- Counter for potential future instrumentationlet recordsProcessed = 0;return Readable.from(diff --git a/worker/src/instrumentation.ts b/worker/src/instrumentation.tsindex 0c7da1d490..9107dd37b2 100644--- a/worker/src/instrumentation.ts+++ b/worker/src/instrumentation.ts@@ -17,6 +17,7 @@ import { env } from "./env";dd.init({runtimeMetrics: true,+ // eslint-disable-next-line @typescript-eslint/no-deprecatedplugins: false,});