1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
# 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
|