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

Use theforeman-rubocop gem #188

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

archanaserver
Copy link
Contributor

We have inherited strictest.yml here, because this rules have NewCops
enable config. Also dropped Style/HashSyntax and Style/Documentation
from here because that was also included in the inherit file.

This is part of Rubocop standerdization, link for the reference:
https://community.theforeman.org/t/standardizing-rubocop-with-theforeman-rubocop/37239
https://github.com/theforeman/theforeman-rubocop/?tab=readme-ov-file#all-opinionated-cops-with-new-ones---strictest

New rubocop version have Lint/ScriptPermission, Rakefile don't need
shebang so decided to drop it from here.

https://docs.rubocop.org/rubocop/cops_lint.html#lintscriptpermission
We have inherited strictest.yml here, because this rules have NewCops
enable config. Also dropped Style/HashSyntax and Style/Documentation
from here because that was also included in the inherit file.
@chris1984 chris1984 merged commit 621c619 into theforeman:master Mar 20, 2024
20 of 21 checks passed
@archanaserver archanaserver deleted the theforeman-rubocop branch March 21, 2024 18:23
@archanaserver
Copy link
Contributor Author

Thanks @chris1984 for merging it, and @ekohl for helping me out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants