AllCops: TargetRubyVersion: 3.2.2 Exclude: - 'config/routes.rb' NewCops: enable Metrics/BlockLength: CountAsOne: ['array', 'heredoc', 'method_call'] Max: 50 Metrics/MethodLength: Max: 50 Metrics/ClassLength: Max: 200 Metrics/AbcSize: Max: 30 Metrics/ParameterLists: Max: 5 CountKeywordArgs: false Metrics/CyclomaticComplexity: Max: 30 Metrics/PerceivedComplexity: Max: 30 Layout/HashAlignment: EnforcedColonStyle: table EnforcedHashRocketStyle: table Style/BlockDelimiters: BracesRequiredMethods: ['log'] AllowedMethods: ['proc', 'new'] Enabled: false Style/HashSyntax: EnforcedShorthandSyntax: either EnforcedStyle: no_mixed_keys Style/ClassAndModuleChildren: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/StringLiterals: Enabled: false Style/Documentation: Enabled: false Style/CommentedKeyword: Enabled: false Layout/LeadingCommentSpace: Enabled: false AllowGemfileRubyComment: true Style/MultilineBlockChain: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false Style/AndOr: Enabled: false Style/Alias: EnforcedStyle: prefer_alias_method Style/FetchEnvVar: Enabled: false Style/RegexpLiteral: EnforcedStyle: mixed AllowInnerSlashes: true Layout/LineLength: Enabled: false Layout/SpaceInsideHashLiteralBraces: Enabled: false Layout/SpaceInsideBlockBraces: Enabled: false Layout/SpaceAroundOperators: Enabled: false Layout/ExtraSpacing: AllowForAlignment: true Layout/AccessModifierIndentation: EnforcedStyle: indent Layout/DotPosition: EnforcedStyle: trailing Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Layout/FirstHashElementIndentation: Enabled: false Layout/EmptyLineAfterGuardClause: Enabled: false Naming/VariableNumber: EnforcedStyle: snake_case CheckSymbols: false Naming/MethodParameterName: AllowedNames: ['x', 'y', 'i', 'j'] Naming/RescuedExceptionsVariableName: Enabled: false Naming/MethodName: Enabled: false