AllCops: DisabledByDefault: false TargetRubyVersion: 2.4 Exclude: - 'spec/fixtures/**/*' Metrics/LineLength: Max: 120 # To make it possible to copy or click on URIs in the code, we allow lines # containing a URI to be longer than Max. AllowHeredoc: true AllowURI: true URISchemes: - http - https # The IgnoreCopDirectives option causes the LineLength rule to ignore cop # directives like '# rubocop: enable ...' when calculating a line's length. IgnoreCopDirectives: false # The IgnoredPatterns option is a list of !ruby/regexp and/or string # elements. Strings will be converted to Regexp objects. A line that matches # any regular expression listed in this option will be ignored by LineLength. IgnoredPatterns: [] Metrics/BlockLength: Enabled: false Style/AsciiComments: Enabled: false Metrics/MethodLength: Max: 25 Metrics/AbcSize: Max: 20