Skip to content

Commit

Permalink
[devtools] sync configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dry-bot committed Jan 9, 2020
1 parent 66f2b69 commit d2eac06
Showing 1 changed file with 46 additions and 40 deletions.
86 changes: 46 additions & 40 deletions .rubocop.yml
Expand Up @@ -3,13 +3,30 @@
AllCops:
TargetRubyVersion: 2.4

Style/EachWithObject:
Enabled: false

Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes

Style/AccessModifierDeclarations:
Enabled: false

Style/BlockDelimiters:
Enabled: false

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

Style/ConditionalAssignment:
Enabled: false

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

Style/EachWithObject:
Enabled: false

Style/ParallelAssignment:
Enabled: false

Expand All @@ -29,74 +46,63 @@ Style/FormatString:
Style/Documentation:
Enabled: false

Layout/SpaceInLambdaLiteral:
Style/AsciiComments:
Enabled: false

Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented

Metrics/LineLength:
Max: 100

Metrics/MethodLength:
Style/DateTime:
Enabled: false

Metrics/ClassLength:
Style/IfUnlessModifier:
Enabled: false

Metrics/BlockLength:
Style/EachWithObject:
Enabled: false

Metrics/AbcSize:
Max: 20

Metrics/CyclomaticComplexity:
Enabled: true
Max: 10
Lint/HandleExceptions:
Exclude:
- "spec/spec_helper.rb"

Lint/BooleanSymbol:
Enabled: false

Style/AccessModifierDeclarations:
Layout/SpaceInLambdaLiteral:
Enabled: false

Style/BlockDelimiters:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented

Layout/IndentFirstArrayElement:
EnforcedStyle: consistent

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

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

Naming/PredicateName:
Enabled: false

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

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

Style/ConditionalAssignment:
Naming/MethodName:
Enabled: false

Naming/MethodName:
Naming/MemoizedInstanceVariableName:
Enabled: false

Style/AsciiComments:
Metrics/LineLength:
Max: 100

Metrics/MethodLength:
Enabled: false

Style/DateTime:
Metrics/ClassLength:
Enabled: false

Style/IfUnlessModifier:
Metrics/BlockLength:
Enabled: false

Metrics/AbcSize:
Max: 25

Metrics/CyclomaticComplexity:
Enabled: true
Max: 12

0 comments on commit d2eac06

Please sign in to comment.