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