-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Autocorrect from erb_lint #17834
base: dev
Are you sure you want to change the base?
Autocorrect from erb_lint #17834
Conversation
toy
commented
Feb 5, 2025
•
edited
Loading
edited
.../custom_fields/custom_field_projects/new_custom_field_projects_form_modal_component.html.erb
Outdated
Show resolved
Hide resolved
Good thing to see all rules in place. Makes it a lot easier to argue about them and some changes. God job 👍 |
Unexpected fix of |
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.
I think this is reasonable. I didn't look through the entire diff, but rather did some spot checking of the auto-correct results.
I am not sure whether all the changes (even the ones I suggested) lead to pure improvement, but I think the main thing we achieve now is consistency. This means when we discuss the next rule changes, we will be able to compare what only such a change will mean to the code base, without the noise from all the other fixes that are necessary as well.
tl;dr: LGTM, but maybe not the last PR of its kind :)