Skip to content

Commit

Permalink
Loosen up rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jbasdf committed Jan 20, 2017
1 parent 4c590b0 commit 711f286
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 711f286

Please sign in to comment.