From 711f286a48aef5200802d2dd0948b458a715c52f Mon Sep 17 00:00:00 2001 From: Justin Ball Date: Thu, 19 Jan 2017 23:45:24 -0700 Subject: [PATCH] Loosen up rubocop --- .rubocop.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index b5a118a..2d1f57b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -130,6 +130,22 @@ Style/EachWithObject: Style/EmptyLiteral: Description: 'Prefer literals to Array.new/Hash.new/String.new.' StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#literal-array-hash' + Enabled: true + +Style/EmptyLinesAroundBlockBody: + Description: "Keeps track of empty lines around block bodies." + Enabled: false + +Style/EmptyLinesAroundClassBody: + Description: "Keeps track of empty lines around class bodies." + Enabled: false + +Style/EmptyLinesAroundModuleBody: + Description: "Keeps track of empty lines around module bodies." + Enabled: false + +Style/EmptyLinesAroundMethodBody: + Description: "Keeps track of empty lines around method bodies." Enabled: false # Checks whether the source file has a utf-8 encoding comment or not