diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-07-17 04:10:45 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-07-17 04:11:51 -0300 |
commit | 2384317465ccb1dfca456a2b7798714b99f32711 (patch) | |
tree | bfd50a74da1f18abef15334bb9a12f068605f759 | |
parent | 28e7dfa86db95942632bc4c45579ba7c4a02ba2f (diff) | |
download | rails-2384317465ccb1dfca456a2b7798714b99f32711.tar.gz rails-2384317465ccb1dfca456a2b7798714b99f32711.tar.bz2 rails-2384317465ccb1dfca456a2b7798714b99f32711.zip |
Enable a few more rubocop rules
-rw-r--r-- | .rubocop.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index dd8db6af3a..de355eeb13 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,3 +25,16 @@ Style/AndOr: # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg. Lint/RequireParentheses: enabled: true + +Style/BracesAroundHashParameters: + enabled: true + +Style/IndentationConsistency: + enabled: true + EnforcedStyle: rails + +Style/EmptyLinesAroundClassBody: + enabled: true + +Style/EmptyLinesAroundModuleBody: + enabled: true |