Skip to content

Commit

Permalink
Update RuboCop configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 26, 2014
1 parent 984fe6e commit f7fb21d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,14 @@ Style/AccessorMethodName:
Style/AlignParameters:
Enabled: false

# Support use of and and or for control flow.
# Allow and/or for control flow only
Style/AndOr:
Enabled: false
EnforcedStyle: conditionals

# Allow multi-line blocks of all sorts
Style/Blocks:
Enabled: false

# TODO: Decide on the desired style (nested or compact)
Style/ClassAndModuleChildren:
Enabled: false

# Dot at end of line makes it clearer that the line is not done
Style/DotPosition:
EnforcedStyle: trailing
Expand Down Expand Up @@ -79,10 +75,6 @@ Style/SignalException:
Style/SingleLineBlockParams:
Enabled: false

# Allow non-interpolated strings with double quotes
Style/StringLiterals:
Enabled: false

# Allow semantic choice of trailing comma
Style/TrailingComma:
Enabled: false
Expand Down

0 comments on commit f7fb21d

Please sign in to comment.