Sha256: 315619a8b38b63fddec153b2df47d6070202ea448072e295156e7c4379ef28a7

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

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/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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.4.0 .rubocop.yml