From 98d4bbe36b5b7d56c76f38b03e1c48d25d086221 Mon Sep 17 00:00:00 2001 From: Nico Wenterodt Date: Mon, 11 Nov 2024 20:41:23 +0100 Subject: [PATCH] add new cops --- config/base.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/base.yml b/config/base.yml index 3a66e759..5c58b249 100644 --- a/config/base.yml +++ b/config/base.yml @@ -512,6 +512,9 @@ Lint/DuplicateRequire: Lint/DuplicateRescueException: Enabled: true +Lint/DuplicateSetElement: + Enabled: false + Lint/EachWithObjectArgument: Enabled: true @@ -798,6 +801,9 @@ Lint/TripleQuotes: Lint/UnderscorePrefixedVariableName: Enabled: true +Lint/UnescapedBracketInRegexp: + Enabled: false + Lint/UnexpectedBlockArity: Enabled: false @@ -980,6 +986,9 @@ Style/Alias: Enabled: true EnforcedStyle: prefer_alias_method +Style/AmbiguousEndlessMethodDefinition: + Enabled: false + Style/AndOr: Enabled: true @@ -1017,6 +1026,9 @@ Style/BeginBlock: Style/BisectedAttrAccessor: Enabled: false +Style/BitwisePredicate: + Enabled: false + Style/BlockComments: Enabled: true @@ -1063,6 +1075,9 @@ Style/ColonMethodCall: Style/ColonMethodDefinition: Enabled: true +Style/CombinableDefined: + Enabled: false + Style/CombinableLoops: Enabled: false @@ -1290,6 +1305,9 @@ Style/InvertibleUnlessCondition: Style/IpAddresses: Enabled: false +Style/KeywordArgumentsMerging: + Enabled: false + Style/KeywordParametersOrder: Enabled: true @@ -1655,6 +1673,9 @@ Style/SafeNavigation: - try - try! +Style/SafeNavigationChainLength: + Emabled: false + Style/Sample: Enabled: true