-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rubocop 0.40.0 から、条件式無し case がひっかかるようになった。 rubocop/rubocop#3019 しかし、条件無し case の方が、elsif が連続するより 可読性が上がることがあるため、許可したい
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ Metrics/AbcSize: | |
|
||
Style/ExtraSpacing: | ||
Enabled: false | ||
|
||
Style/EmptyCaseCondition: | ||
Enabled: false |
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