chore: add an eslint warning for prisma default export#24031
chore: add an eslint warning for prisma default export#24031
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
WalkthroughUpdates the root ESLint configuration (.eslintrc.js) by adding a new global override for all TS/TSX/JS/JSX files that forbids default imports from @calcom/prisma and instructs using the named import { prisma }. Introduces a labeled section grouping existing circular-dependency-related overrides without changing their rules. Reorders override blocks to accommodate the new grouping and the global no-restricted-imports rule. No application/runtime code is changed. Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| ], | ||
| }, | ||
| }, | ||
| /* Rules to prevent circular dependencies ends here */ |
There was a problem hiding this comment.
just organizing rules :)
Pull request was closed
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?