# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-11-05 21:08:34 -0800 using RuboCop version 0.60.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: 8 # Cop supports --auto-correct. # Configuration parameters: TreatCommentsAsGroupSeparators, Include. # Include: **/*.gemspec Gemspec/OrderedDependencies: Exclude: - 'graphql_grpc.gemspec' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/AlignHash: Exclude: - 'bin/example.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: with_first_parameter, with_fixed_indentation Layout/AlignParameters: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth. # SupportedStyles: case, end Layout/CaseIndentation: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/ClosingParenthesisIndentation: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 10 # Cop supports --auto-correct. Layout/CommentIndentation: Exclude: - 'lib/graphql_grpc/type_library.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 3 # Cop supports --auto-correct. Layout/ElseAlignment: Exclude: - 'graphql_grpc.gemspec' - 'lib/graphql_grpc/type_library.rb' # Offense count: 12 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Exclude: - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only Layout/EmptyLinesAroundClassBody: Exclude: - 'Guardfile' - 'lib/graphql_grpc/schema.rb' # 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/graphql_grpc/type_library.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'graphql_grpc.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses Layout/FirstParameterIndentation: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/IndentHash: Exclude: - 'bin/example.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, rails Layout/IndentationConsistency: Exclude: - 'lib/graphql_grpc/type_library.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'graphql_grpc.gemspec' - 'lib/graphql_grpc/type_library.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/LeadingBlankLines: Exclude: - 'graphql_grpc.gemspec' # Offense count: 6 # Cop supports --auto-correct. Layout/SpaceAfterComma: Exclude: - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'graphql_grpc.gemspec' - 'lib/graphql_grpc/type_library.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'bin/example.rb' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBrackets: space, no_space Layout/SpaceInsideArrayLiteralBrackets: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'bin/example.rb' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/graphql_grpc/graphql.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceInsideParens: Exclude: - 'bin/console' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Exclude: - 'Guardfile' - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' # Offense count: 31 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: - 'bin/example.rb' - 'graphql_grpc.gemspec' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/schema.rb' - 'lib/graphql_grpc/type_library.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'Guardfile' # Offense count: 1 Lint/HandleExceptions: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. Lint/UnifiedInteger: Exclude: - 'lib/graphql_grpc/function.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'Guardfile' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'Guardfile' - 'lib/graphql_grpc/proxy.rb' # Offense count: 7 Lint/UselessAssignment: Exclude: - 'bin/example.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 7 Metrics/AbcSize: Max: 24 # Offense count: 4 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 108 # Offense count: 1 Metrics/CyclomaticComplexity: Max: 9 # Offense count: 5 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 19 # Offense count: 2 Naming/BinaryOperatorParameterName: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 4 # Configuration parameters: Blacklist. # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: Exclude: - 'bin/example.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 2 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: io, id, to, by, on, in, at, ip, db Naming/UncommunicativeMethodParamName: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/CompareWithBlock: Exclude: - 'lib/graphql_grpc/proxy.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # 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: - 'Guardfile' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'Guardfile' # Offense count: 1 # Configuration parameters: AllowCoercion. Style/DateTime: Exclude: - 'lib/graphql_grpc/graphql.rb' # Offense count: 10 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'Guardfile' - 'lib/graphql_grpc.rb' - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 Style/DoubleNegation: Exclude: - 'lib/graphql_grpc/proxy.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EmptyBlockParameter: Exclude: - 'lib/graphql_grpc/proxy.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'graphql_grpc.gemspec' # Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'graphql_grpc.gemspec' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' - 'bin/example.rb' - 'lib/graphql_grpc/graphql.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: InverseMethods, InverseBlocks. Style/InverseMethods: Exclude: - 'lib/graphql_grpc/proxy.rb' # Offense count: 2 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/graphql_grpc/type_library.rb' - 'lib/graphql_grpc/version.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Strict. Style/NumericLiterals: MinDigits: 6 # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'Guardfile' - 'graphql_grpc.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/graphql_grpc/graphql.rb' # Offense count: 15 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'Guardfile' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'bin/console' # Offense count: 31 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Guardfile' - 'Rakefile' - 'bin/console' - 'bin/example.rb' - 'lib/graphql_grpc.rb' - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/graphql.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' - 'lib/graphql_grpc/version.rb' - 'spec/graphql_grpc_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: single_quotes, double_quotes Style/StringLiteralsInInterpolation: Exclude: - 'lib/graphql_grpc/proxy.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: Exclude: - 'lib/graphql_grpc/graphql.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'lib/graphql_grpc/function.rb' - 'lib/graphql_grpc/proxy.rb' - 'lib/graphql_grpc/type_library.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Exclude: - 'bin/console' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: - 'spec/graphql_grpc_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'graphql_grpc.gemspec' # Offense count: 1 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/graphql_grpc/type_library.rb' # Offense count: 52 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 1288