Skip to content

use theforeman-rubocop gem#60

Merged
ekohl merged 6 commits intotheforeman:masterfrom
archanaserver:rubocop
Dec 5, 2024
Merged

use theforeman-rubocop gem#60
ekohl merged 6 commits intotheforeman:masterfrom
archanaserver:rubocop

Conversation

@archanaserver
Copy link

@archanaserver archanaserver commented Mar 19, 2024

This commit includes changes based on adding theforeman-rubocop gem:

  • inherited basic default.yml style rule because this include most of the cops included in our .rubocop.yml config file
  • added 'theforeman-rubocop', '~> 0.1.0' gem in Gemfile
  • fix and dropped some cops because of the style inherited from theforeman-rubocop, see commits for more details.

default.yml: https://github.com/theforeman/theforeman-rubocop?tab=readme-ov-file#basic-style---default-performance-and-rails-cops

This is part of Rubocop standerdization, link for the reference:
https://community.theforeman.org/t/standardizing-rubocop-with-theforeman-rubocop/37239

@archanaserver
Copy link
Author

Gemspec/RequiredRubyVersion cop fix: #61

@archanaserver
Copy link
Author

This needs CI config

@archanaserver
Copy link
Author

It is about the standardizing rubocop changes and to keep track of all the changes made in foreman_plugin_template:

@ekohl ekohl merged commit 83b4711 into theforeman:master Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants