# This configuration was generated by # `rubocop --auto-gen-config` # on 2020-06-12 12:56:30 -0400 using RuboCop version 0.85.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: TreatCommentsAsGroupSeparators, Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'Gemfile' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'ldp.gemspec' # Offense count: 3 # Cop supports --auto-correct. Lint/AmbiguousOperator: Exclude: - 'lib/ldp.rb' - 'lib/ldp/client/methods.rb' - 'lib/ldp/orm.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'lib/ldp/resource/binary_source.rb' # Offense count: 2 # Configuration parameters: AllowComments. Lint/EmptyWhen: Exclude: - 'lib/ldp/container.rb' - 'lib/ldp/resource/binary_source.rb' # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/ldp/client/methods.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'bin/ldp' - 'lib/ldp/container/basic.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/ldp/resource.rb' # Offense count: 1 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 79 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 150 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 8 # Offense count: 3 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 22 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 127 # Offense count: 1 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - 'lib/ldp/client/prefer_headers.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforceForPrefixed. Rails/Delegate: Exclude: - 'lib/ldp/client/prefer_headers.rb' - 'lib/ldp/orm.rb' - 'lib/ldp/response.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/ldp/client/methods.rb' - 'lib/ldp/resource.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/ldp/client/methods.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EachWithObject: Exclude: - 'lib/ldp/response.rb' # Offense count: 3 # Cop supports --auto-correct. Style/EmptyCaseCondition: Exclude: - 'lib/ldp/container.rb' - 'lib/ldp/resource.rb' # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' - 'lib/ldp/orm.rb' # Offense count: 7 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/ldp/client/prefer_headers.rb' - 'lib/ldp/orm.rb' - 'lib/ldp/resource.rb' - 'lib/ldp/resource/rdf_source.rb' - 'lib/ldp/response.rb' # Offense count: 24 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Exclude: - 'lib/ldp.rb' - 'lib/ldp/client/methods.rb' - 'lib/ldp/container.rb' - 'lib/ldp/error.rb' - 'lib/ldp/orm.rb' - 'lib/ldp/resource.rb' - 'lib/ldp/resource/binary_source.rb' - 'lib/ldp/resource/rdf_source.rb' - 'lib/ldp/response.rb' - 'lib/ldp/uri.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/ldp/version.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/ldp/container.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'ldp.gemspec' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantPercentQ: Exclude: - 'ldp.gemspec' # Offense count: 4 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/ldp/client/prefer_headers.rb' - 'lib/ldp/resource/binary_source.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/ldp/client/methods.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. # AllowedMethods: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'lib/ldp/resource/rdf_source.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SelfAssignment: Exclude: - 'lib/ldp/response.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'ldp.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: single_quotes, double_quotes Style/StringLiteralsInInterpolation: Exclude: - 'lib/ldp/client/prefer_headers.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'lib/ldp/orm.rb' - 'lib/ldp/resource/rdf_source.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/ldp/container.rb'