shakacode / react_on_rails

Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
https://www.shakacode.com/react-on-rails/docs/
MIT License
5.08k stars 627 forks source link

Fix rubocop to v1.61 #1606

Closed ahangarha closed 2 months ago

ahangarha commented 2 months ago

Over time, Rubycup gets a new version and that causes CI failure for some new linting rules.

The easiest approach is to fix the version of Rubocup.

I couldn't find any reason why without fixing the version in other repos, we don't face such issues there. So my proposal here is to fix and freeze the version.

⚠️ This PR includes a minimal and temporary fix to prevent the installation of css-loader v7, which has breaking changes.


This change is Reviewable