I recently ran into an old codebase (~12 years old) without a Rubocop configuration, and figured adding one to existing code wasn't always as easy as it seems.
Here's a little step-by-step guide I wrote on how to tackle this kind of situation:
https://dev.to/lcsm0n/adding-a-rubocop-config-to-an-old-repository-step-by-step-guide-49db
[#]ruby #rails #rubocop #opensource
=> More informations about this toot | View the thread | More toots from lucasm@ruby.social
=> View ruby tag | View rails tag | View rubocop tag | View opensource tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini