Skip to content

Commit

Permalink
DEV: enable Layout/EmptyLineBetweenDefs cop (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-talks committed Dec 15, 2023
1 parent 471a1e9 commit faf572b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rubocop-discourse.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = "rubocop-discourse"
s.version = "3.5.1"
s.version = "3.6.0"
s.summary = "Custom rubocop cops used by Discourse"
s.authors = ["Discourse Team"]
s.license = "MIT"
Expand Down
4 changes: 4 additions & 0 deletions rubocop-layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Layout/CommentIndentation:
Layout/EmptyLines:
Enabled: true

# Use empty lines between definitions.
Layout/EmptyLineBetweenDefs:
Enabled: true

# Two spaces, no tabs (for indentation).
Layout/IndentationWidth:
Enabled: true
Expand Down

0 comments on commit faf572b

Please sign in to comment.