Skip to content

Commit

Permalink
FIX: Disable autofix for BooleanSymbol (#38)
Browse files Browse the repository at this point in the history
You can't just replace `:true`/`:false` with `true`/`false` and expect it to work the same 😅
  • Loading branch information
CvX committed Dec 15, 2023
1 parent 8b5bf28 commit 471a1e9
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 @@ -90,6 +90,7 @@ Lint/RedundantStringCoercion:

Lint/BooleanSymbol:
Enabled: true
AutoCorrect: false # it breaks the code

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

0 comments on commit 471a1e9

Please sign in to comment.