Merge pull request #768 from hennevogel/rubocop

Update rubocop todo file
This commit is contained in:
Henne Vogelsang 2016-02-18 14:08:04 +01:00
commit e2fb83146a
5 changed files with 589 additions and 140 deletions

View file

@ -1,3 +1,5 @@
Rails:
Enabled: true
inherit_from: .rubocop_todo.yml
Style/HashSyntax:
@ -24,10 +26,6 @@ Style/EmptyLines:
Style/EmptyLinesAroundAccessModifier:
Enabled: true
# Do not insert empty line after class definition and before closing class
Style/EmptyLinesAroundBody:
Enabled: true
# Use hash literal {} instead of Hash.new
Style/EmptyLiteral:
Enabled: true
@ -93,13 +91,9 @@ Style/AndOr:
Enabled: true
# avoid deep blocks nesting
Style/BlockNesting:
Metrics/BlockNesting:
Max: 4
# use do instead of {...} in multiline blocks
Style/Blocks:
Enabled: true
# avoid redundunt curly braces when it is obvious that hash is used
Style/BracesAroundHashParameters:
Enabled: true