Skip to content

updates to rubocop 1.4.2 and rubocop-performance 1.9.1#225

Merged
jmkoni merged 1 commit intomasterfrom
update-rubocop-and-performance
Nov 30, 2020
Merged

updates to rubocop 1.4.2 and rubocop-performance 1.9.1#225
jmkoni merged 1 commit intomasterfrom
update-rubocop-and-performance

Conversation

@jmkoni
Copy link
Copy Markdown
Contributor

@jmkoni jmkoni commented Nov 30, 2020

Lots of updates over the holidays! There are three new performance rules that we are adding:

@jmkoni jmkoni merged commit 37a10d2 into master Nov 30, 2020
EnforcedStyle: snake_case

Performance/ArraySemiInfiniteRangeSlice:
Enabled: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, Performance/ArraySemiInfiniteRangeSlice cop will be removed in the future, so it is recommended to disable.
rubocop/rubocop-performance#198

This cop is disabled by default and it's best not to list it in config/base.yml in case it's removed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info!

@jasonkarns jasonkarns deleted the update-rubocop-and-performance branch May 28, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants