dry-rb/dry-types

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# this file is managed by dry-rb/devtools project

AllCops:
  TargetRubyVersion: 2.4

Style/EachWithObject:
  Enabled: false

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Style/Alias:
  Enabled: false

Style/LambdaCall:
  Enabled: false

Style/StabbyLambdaParentheses:
  Enabled: false

Style/FormatString:
  Enabled: false

Style/Documentation:
  Enabled: false

Layout/SpaceInLambdaLiteral:
  Enabled: false

Layout/MultilineMethodCallIndentation:
  Enabled: true
  EnforcedStyle: indented

Metrics/LineLength:
  Max: 100

Metrics/MethodLength:
  Max: 22

Metrics/ClassLength:
  Max: 150

Metrics/AbcSize:
  Max: 20

Metrics/BlockLength:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: true
  Max: 10

Lint/BooleanSymbol:
  Enabled: false

Style/AccessModifierDeclarations:
  Enabled: false

Style/BlockDelimiters:
  Enabled: false

Layout/IndentFirstArrayElement:
  EnforcedStyle: consistent

Style/ClassAndModuleChildren:
  Exclude:
    - "spec/**/*_spec.rb"

Lint/HandleExceptions:
  Exclude:
    - "spec/spec_helper.rb"

Naming/FileName:
  Exclude:
    - "lib/dry-*.rb"

Style/SymbolArray:
  Exclude:
    - "spec/**/*_spec.rb"

Style/ConditionalAssignment:
  Enabled: false

Naming/MethodName:
  Enabled: false

Style/AsciiComments:
  Enabled: false