.rubocop.yml in acme-client-2.0.5 vs .rubocop.yml in acme-client-2.0.6

- old
+ new

@@ -5,135 +5,130 @@ - 'vendor/**/*' Rails: Enabled: false -Style/FileName: - Exclude: - - 'lib/acme-client.rb' +Layout/AlignParameters: + EnforcedStyle: with_fixed_indentation -Lint/AssignmentInCondition: +Layout/ElseAlignment: Enabled: false -Style/ClassAndModuleChildren: - Enabled: false +Layout/FirstParameterIndentation: + EnforcedStyle: consistent -Style/Documentation: +Layout/IndentationWidth: Enabled: false Layout/MultilineOperationIndentation: Enabled: false -Style/SignalException: - EnforcedStyle: only_raise - -Layout/AlignParameters: - EnforcedStyle: with_fixed_indentation - -Layout/ElseAlignment: +Layout/SpaceInsideBlockBraces: Enabled: false -Style/MultipleComparison: +Lint/AmbiguousOperator: Enabled: false -Layout/IndentationWidth: +Lint/AssignmentInCondition: Enabled: false -Style/SymbolArray: +Lint/EndAlignment: Enabled: false -Layout/FirstParameterIndentation: - EnforcedStyle: consistent +Lint/UnusedMethodArgument: + AllowUnusedKeywordArguments: true -Style/TrailingCommaInArguments: +Metrics/AbcSize: Enabled: false -Style/PercentLiteralDelimiters: +Metrics/BlockLength: Enabled: false -Metrics/BlockLength: +Metrics/ClassLength: Enabled: false -Layout/SpaceInsideBlockBraces: +Metrics/CyclomaticComplexity: Enabled: false -Style/StringLiterals: - Enabled: single_quotes - Metrics/LineLength: Max: 140 +Metrics/MethodLength: + Max: 15 + Enabled: false + Metrics/ParameterLists: Max: 5 CountKeywordArgs: false -Lint/EndAlignment: +Metrics/PerceivedComplexity: Enabled: false -Style/ParallelAssignment: +Security/JSONLoad: Enabled: false -Style/ModuleFunction: +Style/AccessorMethodName: Enabled: false -Style/TrivialAccessors: - AllowPredicates: true +Style/Alias: + Enabled: false -Lint/UnusedMethodArgument: - AllowUnusedKeywordArguments: true +Style/BlockDelimiters: + EnforcedStyle: semantic -Metrics/MethodLength: - Max: 15 - -Style/DoubleNegation: +Style/ClassAndModuleChildren: Enabled: false -Style/IfUnlessModifier: +Style/Documentation: Enabled: false -Style/MultilineBlockChain: +Style/DoubleNegation: Enabled: false -Style/BlockDelimiters: - EnforcedStyle: semantic +Style/FileName: + Exclude: + - 'lib/acme-client.rb' -Style/Lambda: +Style/GlobalVars: Enabled: false Style/GuardClause: Enabled: false -Style/Alias: +Style/IfUnlessModifier: Enabled: false -Lint/AmbiguousOperator: +Style/Lambda: Enabled: false -Metrics/MethodLength: +Style/ModuleFunction: Enabled: false -Metrics/PerceivedComplexity: +Style/MultilineBlockChain: Enabled: false -Metrics/CyclomaticComplexity: +Style/MultipleComparison: Enabled: false -Metrics/AbcSize: +Style/MutableConstant: Enabled: false -Metrics/ClassLength: +Style/ParallelAssignment: Enabled: false -Style/MutableConstant: +Style/PercentLiteralDelimiters: Enabled: false -Style/GlobalVars: - Enabled: false +Style/SignalException: + EnforcedStyle: only_raise -Style/ExpandPathArguments: +Style/SymbolArray: Enabled: false -Security/JSONLoad: - Enabled: false +Style/StringLiterals: + Enabled: single_quotes -Style/AccessorMethodName: +Style/TrailingCommaInArguments: Enabled: false + +Style/TrivialAccessors: + AllowPredicates: true