diff --git a/config/styles/ruby.yml b/config/styles/ruby.yml index c97ef12..6e9d1ee 100755 --- a/config/styles/ruby.yml +++ b/config/styles/ruby.yml @@ -13,6 +13,14 @@ Style/CollectionMethods: find: detect find_all: select 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: Description: Use snake_case for source file names. 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. StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier Enabled: false - MaxLineLength: 80 + MaxLineLength: 100 Style/OptionHash: Description: Don't use option hashes when you can use keyword arguments. Enabled: false @@ -223,14 +231,11 @@ Lint/LiteralInCondition: Lint/LiteralInInterpolation: Description: Checks for literals used in interpolation. Enabled: false - Metrics/LineLength: Description: Limit lines to 100 characters. - StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits Enabled: true Max: 100 AllowURI: true URISchemes: - http - https - \ No newline at end of file