mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 08:26:42 +00:00
37 lines
551 B
YAML
37 lines
551 B
YAML
AllCops:
|
|
TargetRubyVersion: 2.1
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
Documentation:
|
|
Enabled: false
|
|
|
|
Metrics/ClassLength:
|
|
CountComments: false
|
|
Max: 200
|
|
|
|
Style/CollectionMethods:
|
|
PreferredMethods:
|
|
inject: 'inject' # disable "use reduce instead of inject" warning
|
|
|
|
Style/HashSyntax:
|
|
EnforcedStyle: ruby19_no_mixed_keys
|
|
|
|
Metrics/LineLength:
|
|
Max: 80
|
|
AllowURI: true
|
|
|
|
Style/IfUnlessModifier:
|
|
MaxLineLength: 80
|
|
|
|
Metrics/MethodLength:
|
|
CountComments: false
|
|
Max: 20
|
|
|
|
Style/WhileUntilModifier:
|
|
MaxLineLength: 80
|
|
|
|
Style/WordArray:
|
|
Enabled: false
|