Skip to content

Conversation

h-m-m
Copy link
Contributor

@h-m-m h-m-m commented Jun 9, 2025

Relevant Tickets or Conversations

#552

[identity-dev-docs] direct links to accordions should auto-expand — on GitLab

(Previously https://cm-jira.usa.gov/browse/LG-14871 )

Description of Changes

While working on #552 I found it useful to enable Rubocop.

Bumping Ruby to 3.4.x also helps make one Rubocop rule not strictly needed, see https://github.com/ruby/ruby/blob/master/doc/NEWS/NEWS-3.4.0.md

The changes in this PR are

  • bumping the version in .ruby-version
  • adding rubocop to the Gemfile
  • updating the Gemfile.lock for the above two items
  • adding a rubocop.yml file
  • cleaning up anything rubocop found

and, unrelated to the above items

  • adding some things to ignore to the Jekyll _config.yml file

- .sass-cache/
- .jekyll-cache/
- assets/scss
- bin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't currently used in this repo, but bundle binstubs might still be created locally depending on your dev env and should be ignored


ruby File.read('.ruby-version').strip

gem 'csv'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bump in Ruby version changes where Ruby's CSV lives

@h-m-m h-m-m force-pushed the hmm/partner-portal-58/enable-rubocop branch from f038b39 to 7ef75d0 Compare June 9, 2025 15:36
@ajfarkas
Copy link
Contributor

ajfarkas commented Jun 9, 2025

I think this can be done under ticket Portal#144, for the purposes of tracking work.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants