codeclimate / codeclimate-rubocop

Code Climate Engine for Rubocop
MIT License
59 stars 43 forks source link

Update rubocop to 1.22.2 #302

Closed BrianHawley closed 2 years ago

BrianHawley commented 2 years ago

[Fixes #301]

BrianHawley commented 2 years ago

@fede-moya it's notable that the rubocop-1-22-2 channel doesn't have rubocop 1.22.2 on it, so we should merge this PR to make the channel usable.

I need to update the docs though, and make the new safety sections format properly.

fede-moya commented 2 years ago

@BrianHawley right, do you want me to wait for that update ?

BrianHawley commented 2 years ago

@fede-moya the updates are done.

I had to add a state machine to the docs formatter to get the new formatting patterns right, so it took a bit of iteration. The results should look good now. It even fixes code blocks that were there before this version, but were indented poorly with the old code.

It should be good to merge now.

BrianHawley commented 2 years ago

@fede-moya is this OK to merge?

fede-moya commented 2 years ago

@BrianHawley I'm sorry that took me so long to get back. Thank you 👏🏼