From e81036b76e734ab03fac31faafb9732f6b3b2928 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 13 Apr 2023 13:09:14 +0200 Subject: Fix offenses to non-production code - Lint/AmbiguousBlockAssociation - Lint/AmbiguousOperatorPrecedence - Lint/EmptyBlock - Lint/RedundantSplatExpansion - Lint/RedundantStringCoercion - Lint/SymbolConversion - Lint/UnusedBlockArgument - Style/BlockDelimiters - Style/CommentAnnotation - Style/EachForSimpleLoop - Style/EmptyMethod - Style/ExpandPathArguments - Style/FileWrite - Style/GlobalStdStream (UNSAFE) - Style/HashEachMethods (UNSAFE) - Style/NestedParenthesizedCalls - Style/NilComparison - Style/NumericLiteralPrefix (manually fixed) - Style/ParallelAssignment - Style/PreferredHashMethods (UNSAFE) - Style/RedundantInterpolation (UNSAFE) - Style/RedundantParentheses (UNSAFE) - Style/RegexpLiteral - Style/RescueStandardError - Style/SpecialGlobalVars (UNSAFE) - Style/SymbolProc (UNSAFE) - Style/ZeroLengthPredicate (UNSAFE) --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index 32a50a30..510c1b4b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -19,5 +19,8 @@ Layout/CommentIndentation: Layout/ExtraSpacing: AllowBeforeTrailingComments: true +Lint: + Enabled: true + Style: Enabled: true -- cgit v1.2.3