feat: port eslint core rule no-ex-assign#485
Conversation
Summary of ChangesHello @eryue0220, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request integrates the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request successfully ports the no-ex-assign ESLint core rule to rslint. The changes include adding the rule to the configuration, implementing the rule logic in no_ex_assign.go, and adding corresponding test cases and documentation. The implementation appears correct and follows the intent of the original ESLint rule. I've identified a few areas for improvement regarding the test cases and documentation examples.
This comment was marked as resolved.
This comment was marked as resolved.
fansenze
left a comment
There was a problem hiding this comment.
Thanks for porting this rule and addressing the earlier feedback! I took another look at the full implementation and spotted a few remaining things — mostly around alignment with how no_class_assign and no_const_assign handle similar logic in this repo.
fansenze
left a comment
There was a problem hiding this comment.
Thanks for the updates — great progress! Most of the earlier feedback has been addressed nicely. I noticed a few remaining things worth looking at before merging, mostly around edge cases in isInDestructuringAssignment and related helpers.
Summary
Port 8 ESLint core rules to rslint.
Rules Ported
Related Links
Related Issues: #223
Checklist