aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-07 11:48:29 +0200
committerGitHub <noreply@github.com>2016-08-07 11:48:29 +0200
commitfb98d2e57162876c0e1823a5357bc44a932d08b9 (patch)
tree2c3225f7698ef3f7b2556510136c64a58ecf7355 /.rubocop.yml
parent0d12708f3967fe93c172b30bd3e98e4433761c36 (diff)
parent762e3f05f3d372cb32570db0deeef27232c4dd00 (diff)
downloadrails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.gz
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.bz2
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.zip
Merge pull request #26077 from kamipo/add_stype_empty_lines
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 6ab1146b40..d56e757e71 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -20,6 +20,10 @@ Style/BracesAroundHashParameters:
Style/CaseIndentation:
Enabled: true
+# No extra empty lines.
+Style/EmptyLines:
+ Enabled: true
+
# In a regular class definition, no empty lines around the body.
Style/EmptyLinesAroundClassBody:
Enabled: true