Skip to content

Rename IgnoredMethods to AllowedMethods in Rubocop configuration#9893

Merged
ahukkanen merged 1 commit intodevelopfrom
chore/rubocop-warning
Oct 25, 2022
Merged

Rename IgnoredMethods to AllowedMethods in Rubocop configuration#9893
ahukkanen merged 1 commit intodevelopfrom
chore/rubocop-warning

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

Rubocop is giving a warning about a renamed deprecated method. This PR renames it.

$ rubocop -F
Warning: obsolete parameter `IgnoredMethods` (for `Style/BlockDelimiters`) found in .rubocop_ruby.yml
`IgnoredMethods` has been renamed to `AllowedMethods` and/or `AllowedPatterns`.
Warning: obsolete parameter `IgnoredMethods` (for `Style/BlockDelimiters`) found in .rubocop.yml
`IgnoredMethods` has been renamed to `AllowedMethods` and/or `AllowedPatterns`.
Inspecting 6497 files
(...)

You can see the new default at https://github.com/rubocop/rubocop/blob/e1624ee6fd856f243f2555ed51eacdbfc1e2f22e/config/default.yml#L3137

Testing

Run rubocop, you shouldn't see the warning anymore.

♥️ Thank you!

@andreslucena andreslucena added the type: internal PRs that aren't necessary to add to the CHANGELOG for implementers label Oct 11, 2022
@ahukkanen ahukkanen merged commit 40b4141 into develop Oct 25, 2022
@ahukkanen ahukkanen deleted the chore/rubocop-warning branch October 25, 2022 08:51
eliegaboriau pushed a commit to eliegaboriau/decidim that referenced this pull request Oct 25, 2022
entantoencuanto added a commit that referenced this pull request Oct 26, 2022
* develop: (35 commits)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  Add missing i18n key in Initiatives (#9892)
  ...
entantoencuanto added a commit that referenced this pull request Oct 31, 2022
* develop: (36 commits)
  Fix proposal etiquette and length validator with base64 images (#9639)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  ...
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Nov 23, 2022
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants