Skip to content

Commit fe7fd8b

Browse files
authored
chore: add an eslint rule to warn importing trpc package in app store package (calcom#23665)
1 parent 92eb41c commit fe7fd8b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.eslintrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,17 @@ module.exports = {
1919
],
2020
},
2121
},
22+
{
23+
files: ["packages/app-store/**/*.{ts,tsx,js,jsx}"],
24+
rules: {
25+
"no-restricted-imports": [
26+
"warn",
27+
{
28+
paths: ["@calcom/trpc"],
29+
patterns: ["@calcom/trpc/*"],
30+
},
31+
],
32+
},
33+
},
2234
],
2335
};

0 commit comments

Comments
 (0)