fix: justify empty ResizeObserver mock methods (S1186)#3403
fix: justify empty ResizeObserver mock methods (S1186)#3403arkid15r merged 3 commits intoOWASP:mainfrom
Conversation
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughAdds explanatory NOSONAR/justification comments to the empty Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@arkid15r |
|



Proposed change
Resolves #3337
This PR resolves SonarCloud rule
typescript:S1186by documenting intentionally empty methods in theResizeObservermock implementation.The following mock methods were previously empty and triggered maintainability warnings:
Clear comments were added to explicitly state that these methods are intentionally empty as part of a mock implementation. No functional behavior has been changed.
Checklist