Skip to content
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

Apply new rubocop rules on erb - Layout/ArgumentAlignment #11707

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

alecslupu
Copy link
Contributor

@alecslupu alecslupu commented Oct 3, 2023

🎩 What? Why?

This PR Attempts to add more rubocop rules to erb linter. This was first highlighted by @andreslucena in #11696 (comment)

Testing

  • Make sure the pipeline is green.

♥️ Thank you!

@alecslupu alecslupu added the type: internal PRs that aren't necessary to add to the CHANGELOG for implementers label Oct 3, 2023
@alecslupu alecslupu marked this pull request as ready for review October 3, 2023 10:28
@alecslupu alecslupu requested a review from a team October 3, 2023 10:28
andreslucena
andreslucena previously approved these changes Oct 4, 2023
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽 good work! I knew that there was something wrong somewhere with this indentation rule. Glad to see it applied consistently for once!

@alecslupu
Copy link
Contributor Author

@andreslucena I had to merge with the latest develop to fix the conflicts.

image

@andreslucena
Copy link
Member

@andreslucena I had to merge with the latest develop to fix the conflicts.

image

As we've talked privately, lets leave this PR in stand by. If we merge this (and the different new rules) we will have lots of conflicts and currently we have 40 open PRs. We should lower this number until 10 or so, so the number of conlicts is lower too.

@alecslupu alecslupu marked this pull request as draft October 5, 2023 21:18
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is a draft, but I could not help it 😄
LGTM, let me know if you want to introduce something else

@alecslupu alecslupu marked this pull request as ready for review October 14, 2023 17:48
@andreslucena andreslucena changed the title Apply new rubocop rules on erb - Argument identation Apply new rubocop rules on erb - Layout/ArgumentAlignment Oct 15, 2023
@alecslupu
Copy link
Contributor Author

Merging as per @andreslucena 's approval.

@alecslupu alecslupu merged commit 3d118a5 into develop Oct 16, 2023
105 checks passed
@alecslupu alecslupu deleted the chore/erb-format branch October 16, 2023 06:17
entantoencuanto added a commit that referenced this pull request Oct 17, 2023
* develop: (30 commits)
  Add `process-content` to erb-lint's deprecated classes (#11762)
  Add possibility of overriding the tailwind.config.js (#11763)
  Ask old password when changing email or password (#11737)
  Add Projects (Budgets) to filtered search (#11740)
  Fix missing results on Geocoded when search without diacritics (#11761)
  Add robots.txt instructions (#11693)
  Add missing activerecord budget locales for search (#11766)
  Improve design of Admin's Sidebar pages (#11759)
  Show small static map on admin's meetings index with big screens  (#11715)
  Remove "Manage" button when there's a Sidebar (#11717)
  Fix admin breadcrumb in Process (#11757)
  Apply new rubocop rules on erb - Layout/MultilineMethodCallIndentation (#11756)
  Remove xlarge-* references from admin forms (#11712)
  Apply new rubocop rules on erb - Argument identation (#11707)
  Update HERE API autocomplete (#11507)
  Admin redesign proposal issues (#11668)
  Redesign: responsive links on cards (#11538)
  Refactor CI pipelines (#11196)
  Update postcss and graphql to latest versions (#11733)
  Fix develop pipeline (#11750)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: internal PRs that aren't necessary to add to the CHANGELOG for implementers
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants