Fix hound rubocop rules (hopefully)

This commit is contained in:
Prommah 2015-11-05 23:32:22 +00:00
parent 59a6aa83fc
commit a27b8b9f21

View file

@ -13,6 +13,14 @@ Style/CollectionMethods:
find: detect find: detect
find_all: select find_all: select
reduce: inject reduce: inject
Style/DotPosition:
Description: Checks the position of the dot in multi-line method calls.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
Enabled: true
EnforcedStyle: leading
SupportedStyles:
- leading
- trailing
Style/FileName: Style/FileName:
Description: Use snake_case for source file names. Description: Use snake_case for source file names.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
@ -27,7 +35,7 @@ Style/IfUnlessModifier:
Description: Favor modifier if/unless usage when you have a single-line body. Description: Favor modifier if/unless usage when you have a single-line body.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
Enabled: false Enabled: false
MaxLineLength: 80 MaxLineLength: 100
Style/OptionHash: Style/OptionHash:
Description: Don't use option hashes when you can use keyword arguments. Description: Don't use option hashes when you can use keyword arguments.
Enabled: false Enabled: false
@ -223,14 +231,11 @@ Lint/LiteralInCondition:
Lint/LiteralInInterpolation: Lint/LiteralInInterpolation:
Description: Checks for literals used in interpolation. Description: Checks for literals used in interpolation.
Enabled: false Enabled: false
Metrics/LineLength: Metrics/LineLength:
Description: Limit lines to 100 characters. Description: Limit lines to 100 characters.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
Enabled: true Enabled: true
Max: 100 Max: 100
AllowURI: true AllowURI: true
URISchemes: URISchemes:
- http - http
- https - https