From 16ee3ccc9c7992269e69e9e809257d56c81ce174 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 12 Feb 2017 20:44:15 +0900 Subject: Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra empty lines --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index a9ced4c0a5..0d1d0c36ce 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -33,6 +33,10 @@ Style/EmptyLines: Style/EmptyLinesAroundClassBody: Enabled: true +# In a regular method definition, no empty lines around the body. +Style/EmptyLinesAroundMethodBody: + Enabled: true + # In a regular module definition, no empty lines around the body. Style/EmptyLinesAroundModuleBody: Enabled: true -- cgit v1.2.3