# Documentation # https://github.com/bbatsov/rubocop/blob/master/config/default.yml # http://rubocop.readthedocs.io/en/latest AllCops: TargetRubyVersion: 2.6 Bundler/OrderedGems: Enabled: false Layout/HashAlignment: Enabled: false Layout/ParameterAlignment: Enabled: false Layout/CaseIndentation: Enabled: false Layout/CommentIndentation: Enabled: false Layout/EmptyLinesAroundBlockBody: Enabled: false Layout/EmptyLinesAroundClassBody: Enabled: false Layout/EmptyLinesAroundModuleBody: Enabled: false Layout/ExtraSpacing: Enabled: false AllowForAlignment: true Layout/FirstArgumentIndentation: Enabled: false Layout/FirstArrayElementIndentation: Enabled: false Layout/FirstHashElementIndentation: Enabled: false Layout/LeadingCommentSpace: Enabled: false Layout/MultilineBlockLayout: Enabled: false Layout/MultilineMethodCallBraceLayout: Enabled: false Layout/MultilineMethodCallIndentation: Enabled: false Layout/MultilineOperationIndentation: Enabled: false Layout/SpaceAroundOperators: Enabled: false Layout/SpaceInLambdaLiteral: Enabled: false Layout/TrailingWhitespace: Enabled: false Lint/AmbiguousBlockAssociation: Enabled: false Metrics/AbcSize: # The ABC size is a calculated magnitude, so this number can be a Fixnum or a Float. Max: 240 Metrics/BlockLength: Max: 90 Metrics/BlockNesting: Max: 4 Metrics/ClassLength: CountComments: false # count full line comments? Max: 600 Metrics/CyclomaticComplexity: Enabled: false Metrics/MethodLength: CountComments: false # count full line comments? Max: 120 Metrics/PerceivedComplexity: Enabled: false Naming/RescuedExceptionsVariableName: Enabled: false Style/AsciiComments: Enabled: false Style/BlockDelimiters: Enabled: false Style/ClassAndModuleChildren: Enabled: false Style/ColonMethodCall: Enabled: false Style/CommandLiteral: Enabled: false Style/DoubleNegation: Enabled: false Style/GlobalVars: Enabled: false Style/Lambda: Enabled: false Style/MultilineIfModifier: Enabled: false Style/NumericPredicate: Enabled: false Style/RedundantReturn: Enabled: false AllowMultipleReturnValues: true Style/RedundantSelf: Enabled: false Style/RegexpLiteral: Enabled: false Style/RescueModifier: Enabled: false Style/SymbolArray: Enabled: false