config/ruby.yml in caliber-0.4.0 vs config/ruby.yml in caliber-0.5.0

- old
+ new

@@ -73,12 +73,10 @@ Layout/RedundantLineBreak: Enabled: true InspectBlocks: true Layout/SingleLineBlockChain: Enabled: true -Layout/SpaceAroundMethodCallOperator: - Enabled: true Layout/SpaceBeforeBrackets: Enabled: true Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space Layout/TrailingWhitespace: @@ -87,103 +85,63 @@ Enabled: true Lint/AmbiguousOperatorPrecedence: Enabled: true Lint/AmbiguousRange: Enabled: true -Lint/BinaryOperatorWithIdenticalOperands: - Enabled: true -Lint/ConstantDefinitionInBlock: - Enabled: true Lint/DeprecatedConstants: Enabled: true -Lint/DeprecatedOpenSSLConstant: - Enabled: true Lint/DuplicateBranch: Enabled: true -Lint/DuplicateElsifCondition: - Enabled: true Lint/DuplicateRegexpCharacterClassElement: Enabled: true -Lint/DuplicateRescueException: - Enabled: true -Lint/DuplicateRequire: - Enabled: true Lint/ElseLayout: Enabled: false Lint/EmptyBlock: Enabled: true AllowComments: false AllowEmptyLambdas: false Lint/EmptyClass: Enabled: true -Lint/EmptyConditionalBody: - Enabled: true Lint/EmptyFile: Enabled: true AllowComments: false Lint/EmptyInPattern: Enabled: true AllowComments: false Lint/EmptyWhen: AllowComments: false -Lint/FloatComparison: - Enabled: true -Lint/HashCompareByIdentity: - Enabled: true -Lint/IdentityComparison: - Enabled: true Lint/IncompatibleIoSelectWithFiberScheduler: Enabled: true Lint/LambdaWithoutLiteralBlock: Enabled: true -Lint/MissingSuper: - Enabled: true -Lint/MixedRegexpCaptureTypes: - Enabled: true Lint/NoReturnInBeginEndBlocks: Enabled: true Lint/NumberedParameterAssignment: Enabled: true Lint/OrAssignmentToConstant: Enabled: true -Lint/RaiseException: - Enabled: true Lint/RedundantDirGlobSort: Enabled: true -Lint/RedundantSafeNavigation: +Lint/RefinementImportMethods: Enabled: true Lint/RequireRelativeSelfPath: Enabled: true -Lint/SelfAssignment: - Enabled: true -Lint/StructNewOverride: - Enabled: true Lint/SymbolConversion: Enabled: true Lint/ToEnumArguments: Enabled: true -Lint/TopLevelReturnWithArgument: - Enabled: true -Lint/TrailingCommaInAttributeDeclaration: - Enabled: true Lint/TripleQuotes: Enabled: true -Lint/OutOfRangeRegexpRef: - Enabled: true Lint/UnexpectedBlockArity: Enabled: true Lint/UnmodifiedReduceAccumulator: Enabled: true -Lint/UnreachableLoop: - Enabled: true Lint/UselessMethodDefinition: Enabled: true AllowComments: false Lint/UselessRuby2Keywords: Enabled: true -Lint/UselessTimes: - Enabled: true Metrics/BlockLength: IgnoredMethods: - ips - refine Exclude: @@ -217,30 +175,20 @@ - capture3 Naming/MethodParameterName: AllowNamesEndingInNumbers: false Security/IoMethods: Enabled: true -Style/AccessorGrouping: - Enabled: true Style/ArgumentsForwarding: Enabled: false Style/ArrayCoercion: Enabled: true Style/AndOr: EnforcedStyle: conditionals Style/AutoResourceCleanup: Enabled: true -Style/BisectedAttrAccessor: - Enabled: true -Style/CaseLikeIf: - Enabled: true -Style/ClassEqualityComparison: - Enabled: true Style/ClassMethodsDefinitions: Enabled: true -Style/CombinableLoops: - Enabled: true Style/CollectionCompact: Enabled: true Style/CollectionMethods: Enabled: true Style/Documentation: @@ -255,45 +203,33 @@ EnforcedStyle: expanded Style/EndlessMethod: Enabled: true Style/ExplicitBlockArgument: Enabled: false -Style/ExponentialNotation: - Enabled: true Style/FileRead: Enabled: true Style/FileWrite: Enabled: true Style/FormatStringToken: EnforcedStyle: template Style/GlobalStdStream: Enabled: false -Style/HashAsLastArrayItem: - Enabled: true Style/HashConversion: Enabled: true -Style/HashEachMethods: - Enabled: true Style/HashExcept: Enabled: true Style/HashLikeCase: Enabled: true MinBranchesCount: 2 -Style/HashTransformKeys: - Enabled: true -Style/HashTransformValues: - Enabled: true Style/IfWithBooleanLiteralBranches: Enabled: true Style/ImplicitRuntimeError: Enabled: true Style/InPatternThen: Enabled: true Style/IpAddresses: Enabled: true -Style/KeywordParametersOrder: - Enabled: true Style/MapToHash: Enabled: true Style/MethodCalledOnDoEndBlock: Enabled: true Style/MethodCallWithArgsParentheses: @@ -321,12 +257,10 @@ EnforcedStyle: disallow Style/NumberedParametersLimit: Enabled: true Style/NumericLiterals: Enabled: false -Style/OptionalBooleanParameter: - Enabled: true Style/OptionHash: Enabled: true Style/OpenStructUse: Enabled: true Style/PercentLiteralDelimiters: @@ -338,40 +272,24 @@ "%r": "()" Style/QuotedSymbols: Enabled: true Style/RedundantArgument: Enabled: true -Style/RedundantAssignment: - Enabled: true -Style/RedundantSelfAssignment: - Enabled: true Style/RedundantSelfAssignmentBranch: Enabled: true -Style/RedundantFetchBlock: +Style/RedundantInitialize: Enabled: true -Style/RedundantFileExtensionInRequire: - Enabled: true -Style/RedundantRegexpCharacterClass: - Enabled: true -Style/RedundantRegexpEscape: - Enabled: true Style/ReturnNil: Enabled: true Style/SafeNavigation: Enabled: false Style/SelectByRegexp: Enabled: true Style/Send: Enabled: true Style/SignalException: EnforcedStyle: semantic -Style/SingleArgumentDig: - Enabled: true -Style/SlicingWithRange: - Enabled: true -Style/SoleNestedConditional: - Enabled: true Style/StaticClass: Enabled: true Style/StringChars: Enabled: true Style/StringConcatenation: @@ -381,8 +299,6 @@ Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/StringMethods: Enabled: true Style/SwapValues: - Enabled: true -Style/SymbolArray: Enabled: true