We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da542ee + 2e87fc2 commit 667601cCopy full SHA for 667601c
rubocop.yml
@@ -756,6 +756,9 @@ Style/RegexpLiteral:
756
Style/RescueStandardError:
757
Enabled: false
758
759
+Style/ReturnNil:
760
+ Enabled: true
761
+
762
Style/SelectByRegexp:
763
764
test/fixtures/full_config.yml
@@ -3774,7 +3774,7 @@ Style/RescueStandardError:
3774
- explicit
3775
Style/ReturnNil:
3776
Description: Use return instead of return nil.
3777
- Enabled: false
3778
EnforcedStyle: return
3779
SupportedStyles:
3780
- return
0 commit comments