mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:06:41 +00:00
Disable additional rubocop cops
This commit is contained in:
36
rubocop.yml
36
rubocop.yml
@@ -7,30 +7,30 @@ Rails:
|
|||||||
Documentation:
|
Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Metrics/ClassLength:
|
# Metrics/ClassLength:
|
||||||
CountComments: false
|
# CountComments: false
|
||||||
Max: 200
|
# Max: 200
|
||||||
|
|
||||||
Style/CollectionMethods:
|
# Style/CollectionMethods:
|
||||||
PreferredMethods:
|
# PreferredMethods:
|
||||||
inject: 'inject' # disable "use reduce instead of inject" warning
|
# inject: 'inject' # disable "use reduce instead of inject" warning
|
||||||
|
|
||||||
Style/HashSyntax:
|
Style/HashSyntax:
|
||||||
EnforcedStyle: ruby19_no_mixed_keys
|
EnforcedStyle: ruby19_no_mixed_keys
|
||||||
|
|
||||||
Metrics/LineLength:
|
# Metrics/LineLength:
|
||||||
Max: 80
|
# Max: 80
|
||||||
AllowURI: true
|
# AllowURI: true
|
||||||
|
|
||||||
Style/IfUnlessModifier:
|
# Style/IfUnlessModifier:
|
||||||
MaxLineLength: 80
|
# MaxLineLength: 80
|
||||||
|
|
||||||
Metrics/MethodLength:
|
# Metrics/MethodLength:
|
||||||
CountComments: false
|
# CountComments: false
|
||||||
Max: 20
|
# Max: 20
|
||||||
|
|
||||||
Style/WhileUntilModifier:
|
# Style/WhileUntilModifier:
|
||||||
MaxLineLength: 80
|
# MaxLineLength: 80
|
||||||
|
|
||||||
Style/WordArray:
|
# Style/WordArray:
|
||||||
Enabled: false
|
# Enabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user