varvet / pundit

Minimal authorization through OO design and pure Ruby classes
MIT License
8.24k stars 627 forks source link

Solve depreciations in rubocop.yml #701

Closed MarceloAGuimaraes closed 2 years ago

MarceloAGuimaraes commented 2 years ago

I was trying to solve some issues on Pundit, but my rubocop keeps failing because of wrong syntax and depreciations on rubocop config file. Because of this, i can't go through some issues. This issue for example: https://github.com/varvet/pundit/issues/691.

This screenshot show some problems:

Screen Shot 2022-01-06 at 17 11 20
Burgestrand commented 2 years ago

Hi! Thanks! As I mentioned in https://github.com/varvet/pundit/pull/702#issuecomment-1007318138 there are no deprecations in rubocop.yml in the main branch. Are you perhaps running a newer version of rubocop on this repository instead of running bundle exec rubocop?

That said, we should probably update rubocop to a more recent version than the old one we're running (and in the process fix all issues that arise from that). It's not something I personally have the bandwidth for at the moment, but if you'd like to take a stab at upgrading rubocop you're welcome to!