Rubocop updates #1118
Reference in New Issue
Block a user
Delete Branch "zachgoll/rubocop-updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
No functional code changes here; just formatting and linting due to changing a few Rubocop rules and running
rubocop -aon the codebase..editorconfigwith a minimal set of rules (no tabs, 2 spaces)In general, we'll stay away from adding too many Rubocop rules, but enforcing 2 spaces is helpful
The Rails omakase config disables this one and prefers
%i[ items with space ].That said, there is no Cop rule that can enforce this. Given the OSS nature of this project, consistency is the most important thing; hence adding this rule in.