Skip to content

Commit

Permalink
FIX: Disable autofix for EmptyConditionalBody (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX committed Feb 1, 2024
1 parent faf572b commit 4264eab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rubocop-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Lint/RedundantSafeNavigation:

Lint/EmptyConditionalBody:
Enabled: true
AutoCorrect: false # it can break the code

Lint/SafeNavigationConsistency:
Enabled: true
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.6.0"
s.version = "3.6.1"
s.summary = "Custom rubocop cops used by Discourse"
s.authors = ["Discourse Team"]
s.license = "MIT"
Expand Down

0 comments on commit 4264eab

Please sign in to comment.