-
Notifications
You must be signed in to change notification settings - Fork 199
chore: use stricter options with the TS compiler #922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds explicit Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
tsconfig.json (1)
11-14: Avoid redundant flags: noImplicitAny and noImplicitThis are already implied by "strict": trueKeeping them is harmless but duplicate. noImplicitReturns is the only new check here. If you prefer a leaner config, remove the redundancies.
- "noImplicitAny": true, "noImplicitOverride": true, "noImplicitReturns": true, - "noImplicitThis": true,
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
packages/core/src/gui/MaxLog.ts(1 hunks)packages/core/src/util/logger.ts(1 hunks)tsconfig.json(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: tbouffard
PR: maxGraph/maxGraph#849
File: packages/html/stories/DragSource.stories.js:98-101
Timestamp: 2025-06-13T07:48:10.300Z
Learning: User tbouffard prefers answers in English; avoid switching to other languages in future replies.
🔇 Additional comments (2)
packages/core/src/util/logger.ts (1)
62-68: Explicit undefined return to satisfy noImplicitReturns — LGTMMatches the declared signature and keeps control flow clear when tracing is disabled.
packages/core/src/gui/MaxLog.ts (1)
271-277: Consistent explicit undefined return — LGTMAligns with ConsoleLogger.enter and satisfies noImplicitReturns without changing behavior.
|



Summary by CodeRabbit
Refactor
Chores