From aebee342e89332a4bb16fed9480c24660299ad05 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 26 Nov 2024 10:57:20 -0600 Subject: [PATCH] Add new rubocop rules --- .rubocop.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 16acdda8..f22b313d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -585,3 +585,33 @@ RSpec/RepeatedSubjectCall: # new in 2.27 Enabled: true RSpec/UndescriptiveLiteralsDescription: # new in 2.29 Enabled: true +Gemspec/AddRuntimeDependency: # new in 1.65 + Enabled: true +Lint/DuplicateSetElement: # new in 1.67 + Enabled: true +Lint/UnescapedBracketInRegexp: # new in 1.68 + Enabled: true +Lint/UselessNumericOperation: # new in 1.66 + Enabled: true +Style/AmbiguousEndlessMethodDefinition: # new in 1.68 + Enabled: true +Style/BitwisePredicate: # new in 1.68 + Enabled: true +Style/CombinableDefined: # new in 1.68 + Enabled: true +Style/KeywordArgumentsMerging: # new in 1.68 + Enabled: true +Style/RedundantInterpolationUnfreeze: # new in 1.66 + Enabled: true +Style/SafeNavigationChainLength: # new in 1.68 + Enabled: true +Style/SendWithLiteralMethodName: # new in 1.64 + Enabled: true +Style/SuperArguments: # new in 1.64 + Enabled: true +Rails/EnumSyntax: # new in 2.26 + Enabled: true +RSpec/StringAsInstanceDoubleConstant: # new in 3.1 + Enabled: true +Performance/StringBytesize: # new in 1.23 + Enabled: true