AllCops: TargetRubyVersion: 3.2.2 Exclude: - 'config/routes.rb' NewCops: enable Metrics/ClassLength: Max: 500 Metrics/ModuleLength: Max: 300 Metrics/MethodLength: Max: 50 Metrics/AbcSize: Max: 30 Metrics/ParameterLists: Max: 5 CountKeywordArgs: false Metrics/BlockLength: CountAsOne: ['array', 'heredoc', 'method_call'] Max: 50 Metrics/CyclomaticComplexity: Max: 30 Metrics/PerceivedComplexity: Max: 30 Style/AccessorGrouping: Enabled: false Style/ConditionalAssignment: Enabled: false Style/BlockDelimiters: BracesRequiredMethods: ['log'] Style/ClassAndModuleChildren: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/StringLiterals: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false Style/Documentation: Enabled: false Style/CommentedKeyword: Enabled: false Style/MultilineBlockChain: Enabled: false Style/AndOr: Enabled: false Style/Alias: EnforcedStyle: prefer_alias_method Style/FetchEnvVar: Enabled: false Style/RegexpLiteral: EnforcedStyle: mixed AllowInnerSlashes: true Layout/HashAlignment: EnforcedColonStyle: table EnforcedHashRocketStyle: table Layout/LeadingCommentSpace: Enabled: false AllowGemfileRubyComment: true Layout/ParameterAlignment: Enabled: false Layout/MultilineMethodDefinitionBraceLayout: EnforcedStyle: symmetrical Layout/LineLength: Enabled: true Layout/SpaceInsideHashLiteralBraces: Enabled: false Layout/SpaceInsideBlockBraces: Enabled: false Layout/SpaceAroundOperators: Enabled: false Layout/ExtraSpacing: AllowForAlignment: true AllowBeforeTrailingComments: 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', 'id', 'io'] Naming/RescuedExceptionsVariableName: Enabled: false