diff --git a/share/linters/.rubocop.yml b/share/linters/.rubocop.yml index 0811bfc3b2..a973c10e47 100644 --- a/share/linters/.rubocop.yml +++ b/share/linters/.rubocop.yml @@ -750,6 +750,27 @@ Style/SoleNestedConditional: Style/StringConcatenation: Enabled: false +Style/ArgumentsForwarding: + Enabled: true + +Style/CollectionCompact: + Enabled: true + +Style/DocumentDynamicEvalDefinition: + Enabled: true + +Style/NegatedIfElseCondition: + Enabled: false + +Style/NilLambda: + Enabled: true + +Style/RedundantArgument: + Enabled: false + +Style/SwapValues: + Enabled: true + ###### # LINT ###### @@ -855,6 +876,30 @@ Lint/UselessMethodDefinition: Lint/UselessTimes: Enabled: true +Lint/DuplicateBranch: + Enabled: false + +Lint/DuplicateRegexpCharacterClassElement: + Enabled: true + +Lint/EmptyBlock: + Enabled: false + +Lint/EmptyClass: + Enabled: false + +Lint/NoReturnInBeginEndBlocks: + Enabled: true + +Lint/ToEnumArguments: + Enabled: true + +Lint/UnexpectedBlockArity: + Enabled: false + +Lint/UnmodifiedReduceAccumulator: + Enabled: true + ######### # METRICS ########