# This configuration was generated by # `rubocop --auto-gen-config` # on 2020-01-01 11:25:12 +0300 using RuboCop version 0.78.0. # 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: EnforcedStyle, IndentationWidth. # SupportedStyles: outdent, indent Layout/AccessModifierIndentation: Exclude: - 'lib/simple_helper/response_parser.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth. # SupportedStyles: case, end Layout/CaseIndentation: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 3 # Cop supports --auto-correct. Layout/CommentIndentation: Exclude: - 'Gemfile' - 'lib/simple_request.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: start_of_line, def Layout/DefEndAlignment: Exclude: - 'lib/simple_helper/response_parser.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/simple_helper/config.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLines: Exclude: - 'Gemfile' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: - 'lib/simple_helper/response_parser.rb' - 'lib/simple_helper/utils.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'Gemfile' - 'simple_request.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'simple_request.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingEmptyLines: Exclude: - 'Gemfile' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: - 'Gemfile' # Offense count: 2 Metrics/AbcSize: Max: 20 # Offense count: 1 Metrics/CyclomaticComplexity: Max: 8 # Offense count: 1 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 31 # Offense count: 1 Metrics/PerceivedComplexity: Max: 9 # Offense count: 2 Naming/ConstantName: Exclude: # Offense count: 1 # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # ForbiddenPrefixes: is_, has_, have_ # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/simple_request.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners. # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/simple_helper/_https.rb' # Offense count: 4 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/simple_helper/config.rb' - 'lib/simple_helper/response_parser.rb' - 'lib/simple_helper/utils.rb' - 'lib/simple_request.rb' # Offense count: 2 # Cop supports --auto-correct. Style/EachWithObject: Exclude: - 'lib/simple_helper/utils.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'simple_request.gemspec' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, never Style/FrozenStringLiteralComment: Exclude: - 'Gemfile' - 'Rakefile' - 'bin/console' - 'lib/simple_helper/exceptions.rb' - 'lib/simple_helper/version.rb' - 'simple_request.gemspec' - 'spec/simple_request_spec.rb' - 'spec/spec_helper.rb' # Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/simple_request.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/simple_request.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/simple_helper/version.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'simple_request.gemspec' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantPercentQ: Exclude: - 'simple_request.gemspec' # Offense count: 32 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Gemfile' - 'Rakefile' - 'bin/console' - 'lib/simple_helper/version.rb' - 'simple_request.gemspec' - 'spec/simple_request_spec.rb' - 'spec/spec_helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 3 # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 137