Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: Create eslint plugin package (#13444)

Ben Bachemf3a901c005ea
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index b9e9a73f1c..7945acd4ba 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -147,6 +147,29 @@ jobs:
echo "No JS/TS/CSS files changed - skipping prettier check"
fi
+ tests-eslint-plugin:
+ runs-on: blacksmith-4vcpu-ubuntu-2404
+ needs:
+ - pre-job
+ if: needs.pre-job.outputs.should_skip != 'true'
+ steps:
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
+ with:
+ version: 10.33.0
+ - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 # zizmor: ignore[cache-poisoning] eslint-plugin test dependency cache only; no published artifacts are built from this cached state
+ with:
+ node-version: 24
+ cache: "pnpm"
+ cache-dependency-path: "pnpm-lock.yaml"
+ - name: install dependencies
+ run: |
+ pnpm install
+ - name: run eslint-plugin tests
+ run: pnpm --filter @repo/eslint-plugin run test
+
test-docker-build:
timeout-minutes: 20
runs-on: blacksmith-4vcpu-ubuntu-2404
@@ -659,6 +682,7 @@ jobs:
[
lint,
prettier-check,
+ tests-eslint-plugin,
tests-web,
tests-worker,
test-worker-llm-connections,
diff --git a/packages/config-eslint/next.js b/packages/config-eslint/next.js
index b4514cd055..d112a9db23 100644
--- a/packages/config-eslint/next.js
+++ b/packages/config-eslint/next.js
@@ -2,6 +2,7 @@ import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
import turboConfig from "eslint-config-turbo/flat";
import "eslint-plugin-only-warn";
+import langfusePlugin from "@repo/eslint-plugin";
export default [
// Global ignores - include config files
@@ -77,23 +78,12 @@ export default [
},
},
},
+ plugins: {
+ "@repo": langfusePlugin,
+ },
rules: {
"no-unused-vars": "off", // Use @typescript-eslint/no-unused-vars instead
- "no-restricted-syntax": [
- "warn",
- {
- selector:
- "Literal[value=/\\boverflow-scroll\\b|\\boverflow-x-scroll\\b|\\boverflow-y-scroll\\b/]",
- message:
- "Avoid Tailwind's forced scrollbars (`overflow-scroll`, `overflow-x-scroll`, `overflow-y-scroll`). Prefer an auto/hidden/clip variant instead.",
- },
- {
- selector:
- "TemplateElement[value.raw=/\\boverflow-scroll\\b|\\boverflow-x-scroll\\b|\\boverflow-y-scroll\\b/]",
- message:
- "Avoid Tailwind's forced scrollbars (`overflow-scroll`, `overflow-x-scroll`, `overflow-y-scroll`). Prefer an auto/hidden/clip variant instead.",
- },
- ],
+ "@repo/no-tailwind-overflow-scroll": "warn",
// Custom rules from old config
"@typescript-eslint/consistent-type-imports": [
"warn",
diff --git a/packages/config-eslint/package.json b/packages/config-eslint/package.json
index 6ccfa3a284..80ca4486ff 100644
--- a/packages/config-eslint/package.json
+++ b/packages/config-eslint/package.json
@@ -16,6 +16,7 @@
],
"dependencies": {
"@eslint/js": "^9.39.2",
+ "@repo/eslint-plugin": "workspace:*",
"eslint-config-next": "16.2.4",
"eslint-config-prettier": "^10.1.8",
"eslint-config-turbo": "2.9.5",
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
new file mode 100644
index 0000000000..8dae1431e8
--- /dev/null
+++ b/packages/eslint-plugin/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "@repo/eslint-plugin",
+ "version": "0.0.0",
+ "license": "MIT",
+ "private": true,
+ "type": "module",
+ "main": "dist/index.js",
+ "scripts": {
+ "test": "vitest run",
+ "build": "tsc"
+ },
+ "devDependencies": {
+ "@repo/typescript-config": "workspace:*",
+ "@types/node": "^24.3.0",
+ "@typescript-eslint/parser": "^8.59.0",
+ "@typescript-eslint/rule-tester": "^8.59.0",
+ "@typescript-eslint/utils": "^8.59.0",
+ "typescript": "^5.9.2",
+ "vitest": "^4.1.4"
+ }
+}
diff --git a/packages/eslint-plugin/src/index.ts b/packages/eslint-plugin/src/index.ts
new file mode 100644
index 0000000000..a35dbbe8ab
--- /dev/null
+++ b/packages/eslint-plugin/src/index.ts
@@ -0,0 +1,9 @@
+import { default as noTailwindOverflowScroll } from "./rules/no-tailwind-overflow-scroll.js";
+
+export const plugin = {
+ rules: {
+ "no-tailwind-overflow-scroll": noTailwindOverflowScroll,
+ },
+};
+
+export default plugin;
diff --git a/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.test.ts b/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.test.ts
new file mode 100644
index 0000000000..9fb7c2a9b4
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.test.ts
@@ -0,0 +1,93 @@
+import { RuleTester } from "@typescript-eslint/rule-tester";
+import * as typescriptEslintParser from "@typescript-eslint/parser";
+import { describe, expect, it, vi } from "vitest";
+import rule from "./no-tailwind-overflow-scroll.js";
+
+const ruleTester = new RuleTester({
+ languageOptions: {
+ parser: typescriptEslintParser,
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true,
+ },
+ },
+ },
+});
+
+ruleTester.run("no-tailwind-overflow-scroll", rule, {
+ valid: [
+ `<div className="button" />`,
+ `<div className="overflow-auto" />`,
+ `<div className="overflow-x-auto" />`,
+ `<div className="overflow-y-auto" />`,
+ `<div className="overflow-scrollbar" />`,
+ `const value = 42;`,
+ ],
+ invalid: [
+ {
+ code: `<div className="overflow-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="overflow-y-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="overflow-x-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="flex h-full overflow-x-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `const className = "flex h-full overflow-y-scroll";`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `const className = cn("text-muted-foreground flex h-full overflow-x-scroll", className);`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="md:overflow-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className={\`flex overflow-x-scroll\`} />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="!overflow-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="overflow-scroll!" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="md:!overflow-scroll" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ {
+ code: `<div className="md:overflow-scroll!" />`,
+ errors: [{ messageId: "unexpected" }],
+ },
+ ],
+});
+
+describe("no-tailwind-overflow-scroll", () => {
+ it("ignores template elements with non-string raw values", () => {
+ const report = vi.fn();
+ const listeners = rule.create({
+ report,
+ } as never);
+
+ listeners.TemplateElement?.({
+ value: {
+ raw: null,
+ },
+ } as never);
+
+ expect(report).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.ts b/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.ts
new file mode 100644
index 0000000000..876f94734e
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/no-tailwind-overflow-scroll.ts
@@ -0,0 +1,75 @@
+import { createRule } from "../util.js";
+
+const FORBIDDEN_TAILWIND_UTILITIES = new Set([
+ "overflow-scroll",
+ "overflow-x-scroll",
+ "overflow-y-scroll",
+]);
+
+// Tailwind important modifiers can wrap a utility token in either position,
+// for example `!overflow-scroll` or `overflow-scroll!`.
+function normalizeTailwindToken(token: string): string {
+ return token.replace(/^!|!$/g, "");
+}
+
+// Yield normalized utility tokens, for example `md:overflow-scroll!` ->
+// `overflow-scroll`.
+function* extractTailwindUtilityTokens(value: string): Generator<string> {
+ for (const match of value.matchAll(/\S+/g)) {
+ const normalizedToken = normalizeTailwindToken(match[0]);
+ const variantSeparatorIndex = normalizedToken.lastIndexOf(":");
+ yield variantSeparatorIndex === -1
+ ? normalizedToken
+ : normalizeTailwindToken(
+ normalizedToken.slice(variantSeparatorIndex + 1),
+ );
+ }
+}
+
+const rule = createRule({
+ name: "no-tailwind-overflow-scroll",
+ meta: {
+ type: "suggestion",
+ docs: {
+ description:
+ "Avoid Tailwind's forced scrollbars (`overflow-scroll`, `overflow-x-scroll`, `overflow-y-scroll`). Use `overflow-auto`, `overflow-x-auto`, `overflow-y-auto` instead to show scrollbars only when necessary.",
+ },
+ schema: [],
+ messages: {
+ unexpected:
+ "Avoid Tailwind's forced scrollbars (`overflow-scroll`, `overflow-x-scroll`, `overflow-y-scroll`). Use `overflow-auto`, `overflow-x-auto`, `overflow-y-auto` instead to show scrollbars only when necessary.",
+ },
+ },
+ defaultOptions: [],
+ create(context) {
+ return {
+ // Define AST listeners here
+ Literal(node) {
+ if (typeof node.value === "string") {
+ for (const candidateToken of extractTailwindUtilityTokens(
+ node.value,
+ )) {
+ if (FORBIDDEN_TAILWIND_UTILITIES.has(candidateToken)) {
+ context.report({ node, messageId: "unexpected" });
+ break;
+ }
+ }
+ }
+ },
+ TemplateElement(node) {
+ if (typeof node.value.raw === "string") {
+ for (const candidateToken of extractTailwindUtilityTokens(
+ node.value.raw,
+ )) {
+ if (FORBIDDEN_TAILWIND_UTILITIES.has(candidateToken)) {
+ context.report({ node, messageId: "unexpected" });
+ break;
+ }
+ }
+ }
+ },
+ };
+ },
+});
+
+export default rule;
diff --git a/packages/eslint-plugin/src/util.ts b/packages/eslint-plugin/src/util.ts
new file mode 100644
index 0000000000..b8d3b55d23
--- /dev/null
+++ b/packages/eslint-plugin/src/util.ts
@@ -0,0 +1,4 @@
+import { ESLintUtils } from "@typescript-eslint/utils";
+
+// There is no hosted documentation for our internal rules
+export const createRule = ESLintUtils.RuleCreator((name) => `#${name}`);
diff --git a/packages/eslint-plugin/tsconfig.json b/packages/eslint-plugin/tsconfig.json
new file mode 100644
index 0000000000..3e49bfd3d1
--- /dev/null
+++ b/packages/eslint-plugin/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "extends": "@repo/typescript-config/base",
+ "compilerOptions": {
+ "declaration": false,
+ "declarationMap": false,
+ "rootDir": "src",
+ "outDir": "dist",
+ "target": "ES2022",
+ "strictNullChecks": true,
+ "types": ["node", "vitest/globals"]
+ },
+ "exclude": ["node_modules"],
+ "include": ["src"]
+}
diff --git a/packages/eslint-plugin/vitest.config.ts b/packages/eslint-plugin/vitest.config.ts
new file mode 100644
index 0000000000..734d3715f1
--- /dev/null
+++ b/packages/eslint-plugin/vitest.config.ts
@@ -0,0 +1,19 @@
+import { defineConfig } from "vitest/config";
+
+export default defineConfig({
+ test: {
+ setupFiles: ["./vitest.setup.ts"],
+ coverage: {
+ enabled: true,
+ provider: "v8",
+ include: ["src/**/*.ts"],
+ exclude: ["src/**/*.test.ts", "src/index.ts"],
+ thresholds: {
+ statements: 100,
+ branches: 100,
+ functions: 100,
+ lines: 100,
+ },
+ },
+ },
+});
diff --git a/packages/eslint-plugin/vitest.setup.ts b/packages/eslint-plugin/vitest.setup.ts
new file mode 100644
index 0000000000..8e8ab823e1
--- /dev/null
+++ b/packages/eslint-plugin/vitest.setup.ts
@@ -0,0 +1,8 @@
+import { RuleTester } from "@typescript-eslint/rule-tester";
+import { afterAll, describe, it } from "vitest";
+
+// Required for RuleTester to work with Vitest
+RuleTester.afterAll = afterAll;
+RuleTester.it = it;
+RuleTester.itOnly = it.only;
+RuleTester.describe = describe;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index dea14cdce9..84cecebb46 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -27,7 +27,7 @@ importers:
devDependencies:
'@release-it/bumper':
specifier: ^7.0.5
braces:
specifier: 3.0.3
version: 3.0.3
@@ -42,7 +42,7 @@ importers:
version: 3.8.3
release-it:
specifier: ^19.2.4
- version: 19.2.4(@types/[email protected])([email protected])
+ version: 19.2.4(@types/[email protected])([email protected])
turbo:
specifier: 2.9.5
version: 2.9.5
@@ -101,6 +101,9 @@ importers:
'@eslint/js':
specifier: ^9.39.2
version: 9.39.4
+ '@repo/eslint-plugin':
+ specifier: workspace:*
+ version: link:../eslint-plugin
eslint:
specifier: ^9.39.0
version: 9.39.4([email protected])
@@ -131,6 +134,30 @@ importers:
packages/config-typescript: {}
+ packages/eslint-plugin:
+ devDependencies:
+ '@repo/typescript-config':
+ specifier: workspace:*
+ version: link:../config-typescript
+ '@types/node':
+ specifier: ^24.3.0
+ version: 24.3.0
+ '@typescript-eslint/parser':
+ specifier: ^8.59.0
+ '@typescript-eslint/rule-tester':
+ specifier: ^8.59.0
+ '@typescript-eslint/utils':
+ specifier: ^8.59.0
+ typescript:
+ specifier: ^5.9.2
+ version: 5.9.2
+ vitest:
+ specifier: ^4.1.4
+
packages/shared:
dependencies:
'@anthropic-ai/tokenizer':
@@ -5060,12 +5087,12 @@ packages:
resolution: {integrity: sha512-K7DIaHnh0mzVxreCR9qwgNxp3MH9dltPNIEddW9MYUlcKAzm+3grKNSTe2vCJHI1FaLpvpL5JGJrz1UZDKYvDg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg==}
-
resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==}
+
resolution: {integrity: sha512-E+U4RzR2dKrx+u3N4DlsmLaDC6mMZOM/TPROxA0UAPiTgI0y4CEFBmZE+coGWTjakDriRsXG368lNk1u9Q0a2g==}
@@ -5168,22 +5195,51 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-TI1XGwKbDpo9tRW8UDIXCOeLk55qe9ZFGs8MTKU6/M08HWTw52DD/IYhfQtOEhEdPhLMT26Ka/x7p70nd3dzDg==}
+ 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-8Q/wBPWLQP1j16NxoPNIKpDZFMaxl7yWIoqXWYeWO+Bbd2mjgvoF0dxP2jKZg5+x49rgKdf7Ck473M8PC3V9lg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Lw5ITrR5s5TbC19YSvlr63ZfLaJoU6vtKTHyB0GQOpX0W7d5/Ir6vUahWi/8Sps/nOukZQ0IB3SmlxZnjaKVnw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.1.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-2Ej6W28DqObFuEUQ+puEpDZFWFXAW7jIZ4TsgfLUCTNz1FID0NMfp1sXc+fQq8m5ysfPdhXAPjti6jYEu1oRcg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-W1Lur1oF50FxSnNdGp3Vs6P+yBRSmZiw4IIjEeYxd8UQJwhUF0gDgDD/W/Tgmh73mxgEU3qX0Bzdl/NGuSPEpQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-UzR16Ut8IpA3Mc4DbgAShlPPkVm8xXMWafXxB0BocaVRHs8ZGakAxGRskF7FId3sdk9lgGD73GSFaWmWFDE4dg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-doNSZEVJsWEu4htiVC+PR6NpM+pa+a4ClH9INRWOWCUzMst/VA9c4gXq92F8GUD1rwhNvRLkgjfYtFXegXQF7A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-91Sbl3s4Kb3SybliIY6muFBmHVv+pYXfybC4Oolp3dvk8BvIE3wOPc+403CWIT7mJNkfQRGtdqghzs2+Z91Tqg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-aGsCQImkDIqMyx1u4PrVlbi/krmDsQUs4zAcCV6M7yPcPev+RqVlndsJy9kJ8TLihW9TZ0kbDAzctpLn5o+lOg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5195,12 +5251,22 @@ packages:
resolution: {integrity: sha512-O9CjxypDT89fbHxRfETNoAnHj/i6IpRK0CvbVN3qibxlLdo5p5hcLmUuCCrHMpxiWSwKyI8mCP7qRNYuOJ0Uww==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-nLzdsT1gdOgFxxxwrlNVUBzSNBEEHJ86bblmk4QAS6stfig7rcJzWKqCyxFy3YRRHXDWEkb2NralA1nOYkkm/A==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-7vv5UWbHqew/dvs+D3e1RvLv1v2eeZ9txRHPnEEBUgSNLx5ghdzjHa0sgLWYVKssH+lYmV0JaWdoubo0ncGYLA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-O9Re9P1BmBLFJyikRbQpLku/QA3/AueZNO9WePLBwQrvkixTmDe8u76B6CYUAITRl/rHawggEqUGn5QIkVRLMw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.1.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-RfeSqcFeHMHlAWzt4TBjWOAtoW9lnsAGiP3GbaX9uVgTYYrMbVnGONEfUCiSss+xMHFl+eHZiipmA8WkQ7FuNA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5208,10 +5274,21 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-I1R/K7V07XsMJ12Oaxg/O9GfrysGTmCRhvZJBv0RE0NcULMzjqVpR5kRRQjHsz3J/bElU7HwCO7zkqL+MSUz+g==}
+ 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-XJ9UD9+bbDo4a4epraTwG3TsNPeiB9aShrUneAVXy8q4LuwowN+qu89/6ByLMINqvIMeI9H9hOHQtg/ijrYXzQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-/uejZt4dSere1bx12WLlPfv8GktzcaDtuJ7s42/HEZ5zGj9oxRaD4bj7qwSunXkf+pbAhFt2zjpHYUiT5lHf0Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript/[email protected]':
resolution: {integrity: sha512-VVr3SHMzQTeQhtSlLnSjMK8kaE3f2SmOOkvuC8qGHQ2W28RF2ZvIFhbJgCAI++8S/L0GufF+ISA50M41yRiNOA==}
cpu: [arm64]
@@ -5284,6 +5361,9 @@ packages:
react: '>=17.0.0'
react-dom: '>=17.0.0'
+ '@ungap/[email protected]':
+ resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
+
resolution: {integrity: sha512-mUFwbeTqrVgDQxFveS+df2yfap6iuP20NAKAsBt5jDEoOTDew+zwLAOilHCeQJOVSvmgCX4ogqIrA0mnyr08yQ==}
@@ -10101,8 +10181,8 @@ packages:
resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==}
- resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
+ resolution: {integrity: sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==}
resolution: {integrity: sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==}
@@ -12217,22 +12297,15 @@ snapshots:
'@inquirer/[email protected]': {}
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
-
- '@inquirer/[email protected](@types/[email protected])':
- dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
- optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
dependencies:
@@ -12241,129 +12314,136 @@ snapshots:
optionalDependencies:
'@types/node': 24.3.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
+ optionalDependencies:
+ '@types/node': 25.6.0
+
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
cli-width: 4.1.0
mute-stream: 2.0.0
signal-exit: 4.1.0
wrap-ansi: 6.2.0
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 24.3.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
cli-width: 4.1.0
mute-stream: 2.0.0
signal-exit: 4.1.0
wrap-ansi: 6.2.0
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.3.0
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/external-editor': 1.0.3(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/external-editor': 1.0.3(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
chardet: 2.1.1
iconv-lite: 0.7.2
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
'@inquirer/[email protected]': {}
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 24.10.4
-
- '@inquirer/[email protected](@types/[email protected])':
- dependencies:
- '@inquirer/checkbox': 4.3.2(@types/[email protected])
- '@inquirer/confirm': 5.1.21(@types/[email protected])
- '@inquirer/editor': 4.2.23(@types/[email protected])
- '@inquirer/expand': 4.0.23(@types/[email protected])
- '@inquirer/input': 4.3.1(@types/[email protected])
- '@inquirer/number': 3.0.23(@types/[email protected])
- '@inquirer/password': 4.0.23(@types/[email protected])
- '@inquirer/rawlist': 4.1.11(@types/[email protected])
- '@inquirer/search': 3.2.2(@types/[email protected])
- '@inquirer/select': 4.4.2(@types/[email protected])
+ '@types/node': 25.6.0
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/checkbox': 4.3.2(@types/[email protected])
+ '@inquirer/confirm': 5.1.21(@types/[email protected])
+ '@inquirer/editor': 4.2.23(@types/[email protected])
+ '@inquirer/expand': 4.0.23(@types/[email protected])
+ '@inquirer/input': 4.3.1(@types/[email protected])
+ '@inquirer/number': 3.0.23(@types/[email protected])
+ '@inquirer/password': 4.0.23(@types/[email protected])
+ '@inquirer/rawlist': 4.1.11(@types/[email protected])
+ '@inquirer/search': 3.2.2(@types/[email protected])
+ '@inquirer/select': 4.4.2(@types/[email protected])
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 24.10.4
-
- '@inquirer/[email protected](@types/[email protected])':
- optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
optionalDependencies:
'@types/node': 24.3.0
+ '@inquirer/[email protected](@types/[email protected])':
+ optionalDependencies:
+ '@types/node': 25.6.0
+
'@ioredis/[email protected]': {}
'@isaacs/[email protected]':
@@ -14450,7 +14530,7 @@ snapshots:
react: 19.2.4
dependencies:
'@iarna/toml': 3.0.0
cheerio: 1.2.0
@@ -14459,7 +14539,7 @@ snapshots:
ini: 5.0.0
js-yaml: 4.1.1
lodash-es: 4.18.1
- release-it: 19.2.4(@types/[email protected])([email protected])
+ release-it: 19.2.4(@types/[email protected])([email protected])
semver: 7.7.4
'@rolldown/[email protected]': {}
@@ -15560,15 +15640,15 @@ snapshots:
dependencies:
undici-types: 5.26.5
- '@types/[email protected]':
- dependencies:
- undici-types: 7.16.0
- optional: true
-
dependencies:
undici-types: 7.10.0
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 7.19.2
+ optional: true
+
dependencies:
'@types/node': 24.3.0
@@ -15692,24 +15772,68 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.59.0
+ '@typescript-eslint/types': 8.59.0
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.59.0
+ debug: 4.4.3
+ eslint: 9.39.4([email protected])
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.58.0([email protected])
- '@typescript-eslint/types': 8.58.0
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/types': 8.59.0
+ debug: 4.4.3
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/types': 8.59.0
debug: 4.4.3
typescript: 5.9.2
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ ajv: 6.15.0
+ eslint: 9.39.4([email protected])
+ json-stable-stringify-without-jsonify: 1.0.1
+ lodash.merge: 4.6.2
+ semver: 7.7.4
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.58.0
'@typescript-eslint/visitor-keys': 8.58.0
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.59.0
+ '@typescript-eslint/visitor-keys': 8.59.0
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
typescript: 5.9.2
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ typescript: 5.9.2
+
dependencies:
'@typescript-eslint/types': 8.58.0
@@ -15724,6 +15848,8 @@ snapshots:
'@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/project-service': 8.58.0([email protected])
@@ -15739,6 +15865,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/project-service': 8.59.0([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/types': 8.59.0
+ '@typescript-eslint/visitor-keys': 8.59.0
+ debug: 4.4.3
+ minimatch: 10.2.5
+ semver: 7.7.4
+ tinyglobby: 0.2.16
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
@@ -15750,11 +15891,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@typescript-eslint/scope-manager': 8.59.0
+ '@typescript-eslint/types': 8.59.0
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ eslint: 9.39.4([email protected])
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.58.0
eslint-visitor-keys: 5.0.1
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.59.0
+ eslint-visitor-keys: 5.0.1
+
'@typescript/[email protected]':
optional: true
@@ -15827,6 +15984,9 @@ snapshots:
- '@codemirror/lint'
- '@codemirror/search'
+ '@ungap/[email protected]':
+ optional: true
+
'@ungap/[email protected]': {}
@@ -18197,17 +18357,17 @@ snapshots:
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/prompts': 7.10.1(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/prompts': 7.10.1(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
mute-stream: 2.0.0
run-async: 4.0.6
rxjs: 7.8.2
optionalDependencies:
- '@types/node': 24.10.4
+ '@types/node': 25.6.0
dependencies:
@@ -18848,7 +19008,7 @@ snapshots:
dependencies:
'@types/node': 24.3.0
- '@ungap/structured-clone': 1.3.1
+ '@ungap/structured-clone': 1.3.0
jest-util: 30.2.0
merge-stream: 2.0.0
supports-color: 8.1.1
@@ -20717,7 +20877,7 @@ snapshots:
gopd: 1.2.0
set-function-name: 2.0.2
dependencies:
'@nodeutils/defaults-deep': 1.1.0
'@octokit/rest': 22.0.1
@@ -20727,7 +20887,7 @@ snapshots:
ci-info: 4.4.0
eta: 4.5.0
git-url-parse: 16.1.0
- inquirer: 12.11.1(@types/[email protected])
+ inquirer: 12.11.1(@types/[email protected])
issue-parser: 7.0.1
lodash.merge: 4.6.2
mime-types: 3.0.2
@@ -21636,7 +21796,7 @@ snapshots:
optional: true
diff --git a/turbo.json b/turbo.json
index 269c78d368..6acfdf9418 100644
--- a/turbo.json
+++ b/turbo.json
@@ -52,6 +52,7 @@
"dependsOn": ["^db:generate"]
},
"lint": {
+ "dependsOn": ["@repo/eslint-plugin#build"],
"cache": true,
"outputs": []
},
@@ -69,6 +70,11 @@
"dependsOn": ["^test", "db:generate"],
"cache": true
},
+ "@repo/eslint-plugin#build": {
+ "dependsOn": [],
+ "outputs": ["dist/**"],
+ "cache": true
+ },
"worker#dev": {
"cache": false,
"persistent": true