Skip to content

Commit

Permalink
hound: further rubocop tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed Jul 6, 2016
1 parent 876aa67 commit 805df0e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AllCops:
DisplayCopNames: false
DisplayStyleGuide: true
StyleGuideCopsOnly: false
TargetRubyVersion: 2.3
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/BlockDelimiters:
Expand All @@ -30,9 +31,13 @@ Style/DotPosition:
EnforcedStyle: leading
Style/FileName:
Enabled: true
Exclude: ['**/jsonapi-resources.rb']
Style/FormatString:
Enabled: true
EnforcedStyle: format
# TODO: enable this and transition to immutable strings
Style/FrozenStringLiteralComment:
Enabled: false
Style/GlobalVars:
Enabled: false
Style/GuardClause:
Expand All @@ -41,6 +46,8 @@ Style/GuardClause:
Style/IfUnlessModifier:
Enabled: true
MaxLineLength: 80
Style/IndentArray:
EnforcedStyle: consistent
Style/IndentHash:
EnforcedStyle: consistent
Style/LambdaCall:
Expand Down Expand Up @@ -155,6 +162,7 @@ Style/AccessorMethodName:
Enabled: true
Style/Alias:
Enabled: true
EnforcedStyle: prefer_alias_method
Style/ArrayJoin:
Enabled: true
Style/AsciiComments:
Expand All @@ -178,6 +186,8 @@ Style/FlipFlop:
Style/IfWithSemicolon:
Enabled: true
Style/Lambda:
EnforcedStyle: literal
# HACK: Until Rubocop is released with EnforcedStyle
Enabled: true
Style/LeadingCommentSpace:
Enabled: true
Expand Down

0 comments on commit 805df0e

Please sign in to comment.