From fe7fd8bc79df7a601c12888256cd70fe6c534080 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Sun, 7 Sep 2025 21:36:34 -0400 Subject: [PATCH] chore: add an eslint rule to warn importing trpc package in app store package (#23665) --- .eslintrc.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index b1d415c419..8d24ded0b0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,5 +19,17 @@ module.exports = { ], }, }, + { + files: ["packages/app-store/**/*.{ts,tsx,js,jsx}"], + rules: { + "no-restricted-imports": [ + "warn", + { + paths: ["@calcom/trpc"], + patterns: ["@calcom/trpc/*"], + }, + ], + }, + }, ], };