Improve custom no jquery rule to catch jquery chaining#3038
Improve custom no jquery rule to catch jquery chaining#3038Crabcyborg merged 1 commit intomasterfrom
Conversation
📝 WalkthroughWalkthroughThe no-jquery-variable-methods linting rule was refactored to improve detection of jQuery collection-returning method calls. The logic now better tracks jQuery collections through constructor calls and chained methods by introducing a new helper function and restructuring how method call detection validates its inputs. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Summary by CodeRabbit