-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default, rubocop makes you explicitly opt in or out of new rules that are added in each release. Otherwise it loudly prints warnings to the console. This is annoying and makes updating gems tedious. In practice, we almost always end up enabling the new rules. This commit updates our rubocop config with: ``` NewCops: enable ``` This automatically opts us into any new rules that are added. That means there is no need to explicitly enable individual rules, and so our rubocop config becomes much smaller. This commit updates rubocop and rubocop-performance to their latest versions and thus enables all the new rules that have been added in those versions. The only rule that caused violations (and that I have disabled), is `Style/AccessorGrouping`.
- Loading branch information
1 parent
f1e340f
commit f8c039d
Showing
2 changed files
with
6 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters