Skip to content

Commit

Permalink
[devtools] sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dry-bot committed Mar 10, 2020
1 parent 3cba51e commit be582f6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Layout/MultilineMethodCallIndentation:
Layout/IndentFirstArrayElement:
EnforcedStyle: consistent

Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space
EnforcedStyleForEmptyBraces: no_space

Lint/HandleExceptions:
Exclude:
- "spec/spec_helper.rb"
Expand All @@ -30,7 +35,7 @@ Naming/PredicateName:

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

Naming/MethodName:
Enabled: false
Expand All @@ -40,6 +45,8 @@ Naming/MemoizedInstanceVariableName:

Metrics/LineLength:
Max: 100
Exclude:
- "spec/**/*_spec.rb"

Metrics/MethodLength:
Enabled: false
Expand Down Expand Up @@ -77,6 +84,15 @@ Style/ClassAndModuleChildren:
Style/ConditionalAssignment:
Enabled: false

Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
ConsistentQuotesInMultiline: false

Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes

Style/DateTime:
Enabled: false

Expand Down

0 comments on commit be582f6

Please sign in to comment.