mirror of https://github.com/rails/rails
Enable a few more rubocop rules
This commit is contained in:
parent
28e7dfa86d
commit
2384317465
13
.rubocop.yml
13
.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
|
||||
|
|
Loading…
Reference in New Issue