forked from rubocop/rubocop-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark
Rails/UniqBeforePluck
cop as unsafe auto-correction
Follow rubocop#320 and rubocop/rubocop#8529. This PR changes the mark of `Rails/UniqBeforePluck` from `Safe: false` to `SafeAutoCorrect: false`. False positives to detection are not a concern. Only worry about incompatibilities with auto-correction. Below is an excerpt from the official document. > * Safe (true/false) - indicates whether the cop can yield false > positives (by design) or not. > > * SafeAutoCorrect (true/false) - indicates whether the auto-correct a cop > does is safe (equivalent) by design. If a cop is unsafe its auto-correct > automatically becomes unsafe as well. https://docs.rubocop.org/rubocop/0.89/usage/auto_correct.html#safe-auto-correct
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters