chore: add no-console ESLint rule to prevent debug statements in production#345
chore: add no-console ESLint rule to prevent debug statements in production#345Aarti-panchal01 wants to merge 1 commit into
Conversation
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Hi @drtechie, Added the no-console ESLint rule as a follow-up to the console cleanup in PR #344. This ensures future contributors to MMU-UI can't accidentally commit console.log statements — the linter will catch it automatically. This way we don't need to manually hunt console statements in code reviews. |



📋 Description
Adds no-console ESLint rule to automatically catch console statements
in future code. Complements the console cleanup in PR #344.
Related to PSMRI/AMRIT#130 (C4GT DMP 2026)
✅ Type of Change
ℹ️ Additional Information
Rule: "no-console": ["error", { "allow": ["warn", "error"] }]
Any future console.log will now fail the ESLint check automatically.