From 118eb72549cd1b0e46c6a767c62ffe7cdf9e5c5b Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Tue, 14 Feb 2023 15:20:18 -0500 Subject: [PATCH] Mark Rails/Timecop autocorrection as unsafe See https://github.com/rubocop/rubocop-rails/pull/38#issuecomment-1089703650 --- config/default.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/default.yml b/config/default.yml index a172f693ff..063abbf02d 100644 --- a/config/default.yml +++ b/config/default.yml @@ -1027,6 +1027,7 @@ Rails/Timecop: Description: 'Prefer `ActiveSupport::Testing::TimeHelpers` over `Timecop`.' Enabled: pending VersionAdded: <> + SafeAutoCorrect: false Rails/ToFormattedS: Description: 'Checks for consistent uses of `to_fs` or `to_formatted_s`.'