Skip to content

Scheduling infrastructure for absolutely everyone.

chore: add an eslint rule to warn importing trpc package in app store package (#23665)

Benny Joofe7fd8bc79df
diff --git a/.eslintrc.js b/.eslintrc.js
index b1d415c4193..8d24ded0b00 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/*"],
+ },
+ ],
+ },
+ },
],
};