refactor: Remove trpc/react dependency from @calcom/atoms (#26694)
* mv useTeamMembersWithSegment * remove * fix ts error * remove * remove * remove * biome rule
This commit is contained in:
1 parent
784db75b38
commit
c826e9cea8
7 files changed
+79
-44
No files matched your search
+32
@@ -323,6 +323,38 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"includes": [
|
||||
"packages/platform/atoms/**/*.{ts,tsx,js,jsx,mts,mjs,cjs,cts}"
|
||||
],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"style": {
|
||||
"noRestrictedImports": {
|
||||
"level": "error",
|
||||
"options": {
|
||||
"patterns": [
|
||||
{
|
||||
"group": [
|
||||
"@calcom/trpc/react",
|
||||
"@calcom/trpc/react/**"
|
||||
],
|
||||
"message": "atoms package should not import from @calcom/trpc/react."
|
||||
},
|
||||
{
|
||||
"group": [
|
||||
"../../trpc/react",
|
||||
"../../trpc/react/**"
|
||||
],
|
||||
"message": "atoms package should not import from trpc/react."
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user