require: - rubocop-rails - rubocop/cop/github AllCops: DisabledByDefault: true Bundler/DuplicatedGem: Enabled: true Bundler/OrderedGems: Enabled: true Layout/AssignmentIndentation: Enabled: true Layout/BeginEndAlignment: Enabled: true Layout/BlockAlignment: Enabled: true Layout/BlockEndNewline: Enabled: true Layout/CaseIndentation: Enabled: true Layout/ClosingParenthesisIndentation: Enabled: true Layout/CommentIndentation: Enabled: true Layout/ConditionPosition: Enabled: true Layout/DefEndAlignment: Enabled: true Layout/DotPosition: Enabled: true EnforcedStyle: trailing Layout/ElseAlignment: Enabled: true Layout/EmptyComment: Enabled: true Layout/EmptyLineAfterGuardClause: Enabled: true Layout/EmptyLineAfterMagicComment: Enabled: true Layout/EmptyLineBetweenDefs: Enabled: true AllowAdjacentOneLineDefs: true NumberOfEmptyLines: 1 Layout/EmptyLines: Enabled: true Layout/EmptyLinesAroundAccessModifier: Enabled: true Layout/EmptyLinesAroundArguments: Enabled: true Layout/EmptyLinesAroundBeginBody: Enabled: true Layout/EmptyLinesAroundBlockBody: Enabled: true Layout/EmptyLinesAroundClassBody: Enabled: true Layout/EmptyLinesAroundExceptionHandlingKeywords: Enabled: true Layout/EmptyLinesAroundMethodBody: Enabled: true Layout/EmptyLinesAroundModuleBody: Enabled: true Layout/EndAlignment: Enabled: true Layout/EndOfLine: Enabled: true Layout/ExtraSpacing: Enabled: true AllowForAlignment: false Layout/IndentationConsistency: Enabled: true Layout/IndentationStyle: Enabled: true Layout/IndentationWidth: Enabled: true Layout/InitialIndentation: Enabled: true Layout/LeadingEmptyLines: Enabled: true Layout/LineLength: Enabled: false Layout/MultilineMethodCallIndentation: Enabled: true EnforcedStyle: indented Layout/SpaceAfterColon: Enabled: true Layout/SpaceAfterComma: Enabled: true Layout/SpaceAfterMethodName: Enabled: true Layout/SpaceAfterNot: Enabled: true Layout/SpaceAfterSemicolon: Enabled: true Layout/SpaceAroundBlockParameters: Enabled: true Layout/SpaceAroundEqualsInParameterDefault: Enabled: true Layout/SpaceBeforeFirstArg: Enabled: true Layout/SpaceInsideArrayLiteralBrackets: Enabled: true Layout/SpaceInsideArrayPercentLiteral: Enabled: true Layout/SpaceInsideParens: Enabled: true Layout/SpaceInsideRangeLiteral: Enabled: true Layout/TrailingEmptyLines: Enabled: true Layout/TrailingWhitespace: Enabled: true Lint/AmbiguousOperator: Enabled: true Lint/AmbiguousRegexpLiteral: Enabled: true Lint/BinaryOperatorWithIdenticalOperands: Enabled: true Lint/CircularArgumentReference: Enabled: true Lint/Debugger: Enabled: true Lint/DeprecatedClassMethods: Enabled: true Lint/DuplicateMethods: Enabled: true Lint/DuplicateHashKey: Enabled: true Lint/EachWithObjectArgument: Enabled: true Lint/ElseLayout: Enabled: true Lint/EmptyEnsure: Enabled: true Lint/EmptyInterpolation: Enabled: true Lint/EnsureReturn: Enabled: true Lint/FloatOutOfRange: Enabled: true Lint/FormatParameterMismatch: Enabled: true Lint/LiteralAsCondition: Enabled: true Lint/LiteralInInterpolation: Enabled: true Lint/Loop: Enabled: true Lint/NestedMethodDefinition: Enabled: true Lint/NextWithoutAccumulator: Enabled: true Lint/NonLocalExitFromIterator: Enabled: true Lint/ParenthesesAsGroupedExpression: Enabled: true Lint/RandOne: Enabled: true Lint/RedundantCopDisableDirective: Enabled: true Lint/RedundantSplatExpansion: Enabled: true Lint/RedundantStringCoercion: Enabled: true Lint/RequireParentheses: Enabled: true Lint/RescueException: Enabled: true Lint/ShadowingOuterLocalVariable: Enabled: true Lint/SuppressedException: Enabled: true Lint/UnderscorePrefixedVariableName: Enabled: true Lint/UnreachableCode: Enabled: true Lint/UnusedBlockArgument: Enabled: true Lint/UnusedMethodArgument: Enabled: true Lint/UselessAccessModifier: Enabled: true Lint/UselessAssignment: Enabled: true Lint/UselessSetterCall: Enabled: true Lint/Void: Enabled: true Metrics/AbcSize: Enabled: false Metrics/BlockLength: Enabled: false Metrics/BlockNesting: Enabled: true Max: 4 Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/MethodLength: Enabled: false Metrics/ModuleLength: Enabled: false Metrics/ParameterLists: Enabled: true Metrics/PerceivedComplexity: Enabled: false Naming/AsciiIdentifiers: Enabled: true Naming/ClassAndModuleCamelCase: Enabled: true Naming/FileName: Enabled: true Naming/MethodName: Enabled: true Performance/CaseWhenSplat: Enabled: false Performance/Count: Enabled: true Performance/Detect: Enabled: true Performance/DoubleStartEndWith: Enabled: true Performance/EndWith: Enabled: true Performance/FlatMap: Enabled: true EnabledForFlattenWithoutParams: false Performance/RangeInclude: Enabled: false Performance/RedundantMatch: Enabled: false Performance/RedundantMerge: Enabled: true MaxKeyValuePairs: 1 Performance/ReverseEach: Enabled: true Performance/Size: Enabled: true Performance/StartWith: Enabled: true Performance/StringReplacement: Enabled: true Security/Eval: Enabled: true Style/ArrayJoin: Enabled: true Style/BeginBlock: Enabled: true Style/BlockComments: Enabled: true Style/CaseEquality: Enabled: true Style/CharacterLiteral: Enabled: true Style/ClassMethods: Enabled: true Style/Copyright: Enabled: false Style/DefWithParentheses: Enabled: true Style/EndBlock: Enabled: true Style/For: Enabled: true Style/FrozenStringLiteralComment: Enabled: false Style/HashSyntax: Enabled: true EnforcedStyle: ruby19 Style/LambdaCall: Enabled: true Style/MethodCallWithoutArgsParentheses: Enabled: true Style/MethodDefParentheses: Enabled: true Style/MultilineIfThen: Enabled: true Style/NilComparison: Enabled: true Style/Not: Enabled: true Style/OneLineConditional: Enabled: true Style/RedundantSortBy: Enabled: true Style/Sample: Enabled: true Style/StabbyLambdaParentheses: Enabled: true Style/StringLiterals: Enabled: true EnforcedStyle: double_quotes Style/Strip: Enabled: true