Skip to content

Commit

Permalink
Update Lint/BooleanSymbol to be SafeAutoCorrect: false rather tha…
Browse files Browse the repository at this point in the history
…n `Safe: false`.

Although the correction is unsafe, the cop itself will not find false positives.
  • Loading branch information
dvandersluis committed Sep 16, 2021
1 parent 5402b1a commit d25c721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/change_lintbooleansymbol_should_be_marked_as.md
@@ -0,0 +1 @@
* [#10088](https://github.com/rubocop/rubocop/pull/10088): Update `Lint/BooleanSymbol` to be `SafeAutoCorrect: false` rather than `Safe: false`. ([@dvandersluis][])
4 changes: 2 additions & 2 deletions config/default.yml
Expand Up @@ -1491,9 +1491,9 @@ Lint/BinaryOperatorWithIdenticalOperands:
Lint/BooleanSymbol:
Description: 'Check for `:true` and `:false` symbols.'
Enabled: true
Safe: false
SafeAutoCorrect: false
VersionAdded: '0.50'
VersionChanged: '0.83'
VersionChanged: '<<next>>'

Lint/CircularArgumentReference:
Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
Expand Down

0 comments on commit d25c721

Please sign in to comment.