rapid7 / recog

Pattern recognition for hosts, services, and content
Other
671 stars 199 forks source link

Add rubocop to CI #579

Closed dwelch-r7 closed 1 year ago

dwelch-r7 commented 1 year ago

Description

Add rubocop to github actions CI and updated the codebase to comply/or added exceptions to the rubocop config Also bumps the minimum ruby version in the gemspec to 2.5 which is the minimum ruby version currently under test in CI Recommend viewing with whitespace turned off: https://github.com/rapid7/recog/pull/579/files?diff=unified&w=1

Motivation and Context

Add RuboCop (linter) workflow Similar PR here in the recog-ruby repo: https://github.com/rapid7/recog-ruby/pull/15

How Has This Been Tested?

Types of changes

Additions to CI Code linting

Checklist: