diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-16 18:11:03 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-17 14:08:32 +0900 |
commit | 4183d5dfa1d6d651232a4db44a1fcf71d220af4e (patch) | |
tree | e84e97bc3516380d2cb679d59b5706b00f52b33b /.rubocop.yml | |
parent | 47eadb68bfcae1641b019e07e051aa39420685fb (diff) | |
download | rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.gz rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.tar.bz2 rails-4183d5dfa1d6d651232a4db44a1fcf71d220af4e.zip |
Enable `Layout/FirstParameterIndentation` cop
We have some indentation cops. But now there is a little inconsistent
params indentations. Enable `Layout/FirstParameterIndentation` cop to
prevent newly inconsistent indentation added and auto-correct to
existing violations.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 8032ece333..efd154156a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -44,6 +44,9 @@ Layout/EmptyLinesAroundMethodBody: Layout/EmptyLinesAroundModuleBody: Enabled: true +Layout/FirstParameterIndentation: + Enabled: true + # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }. Style/HashSyntax: Enabled: true |