Sha256: 9382e7e7dfbfad396050d70cd55ce856f5e724030f712c3045c69ccf11fb5540

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

AllCops:
  TargetRubyVersion: 2.7.8
  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

3 entries across 3 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.3.16 .rubocop.yml
ecoportal-api-graphql-0.3.15 .rubocop.yml
ecoportal-api-graphql-0.3.14 .rubocop.yml