piotrmurach/tty-prompt

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  NewCops: enable

Layout/BlockAlignment:
  Exclude:
    - "spec/**/*"

Layout/FirstArrayElementIndentation:
  Enabled: false

Layout/FirstHashElementIndentation:
  Enabled: false

Layout/HashAlignment:
  Exclude:
    - "spec/**/*"

Layout/LineLength:
  Max: 80
  Exclude:
    - "spec/**/*"

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Lint/AssignmentInCondition:
  Enabled: false

Lint/ConstantDefinitionInBlock:
  Exclude:
    - "spec/**/*"

Metrics/AbcSize:
  Max: 35
  Exclude:
    - "spec/**/*"

Metrics/BlockLength:
  CountComments: true
  Max: 25
  IgnoredMethods: []
  Exclude:
    - "spec/**/*"

Metrics/ClassLength:
  Max: 1500

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/MethodLength:
  Max: 20
  Exclude:
    - "spec/**/*"

Naming/BinaryOperatorParameterName:
  Enabled: false

Style/AccessorGrouping:
  Enabled: false

Style/AccessModifierDeclarations:
  Enabled: false

Style/AsciiComments:
  Enabled: false

Style/BlockDelimiters:
  Enabled: false

Style/CommentedKeyword:
  Enabled: false

Style/FormatString:
  EnforcedStyle: percent

Style/FormatStringToken:
  EnforcedStyle: template

Style/HashConversion:
  Enabled: false

Style/LambdaCall:
  EnforcedStyle: braces
  Exclude:
    - "spec/**/*"

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/StringConcatenation:
  Exclude:
    - "spec/**/*"

Style/TrivialAccessors:
  Enabled: false