librariesio / bibliothecary

:notebook_with_decorative_cover: Libraries.io Package Manager Manifest Parsers
https://libraries.io/rubygems/bibliothecary
GNU Affero General Public License v3.0
89 stars 36 forks source link

Fix broken rubocop config and update hash syntax #550

Closed djpowers closed 2 years ago

djpowers commented 2 years ago

The current rubocop config was broken as the gems were not included and many of the cop names have since been renamed. This fixes those errors based on CLI feedback and this YAML file: https://github.com/rubocop/rubocop/blob/master/config/obsoletion.yml

I also updated Rubocop to enforce the modern 1.9+ hash syntax with inner spaces, which I think is more readable. This is in a separate commit in case we'd rather not include this change.