# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-05-15 19:11:29 -0500 using RuboCop version 0.49.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: Include, TreatCommentsAsGroupSeparators. # Include: **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'Gemfile' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLineAfterMagicComment: Exclude: - 'sshkit.gemspec' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/core_ext/hash.rb' - 'lib/sshkit/backends/abstract.rb' - 'lib/sshkit/host.rb' - 'lib/sshkit/log_message.rb' - 'test/unit/formatters/test_pretty.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/EmptyLines: Exclude: - 'test/unit/formatters/test_pretty.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLinesAroundAccessModifier: Exclude: - 'lib/sshkit/runners/sequential.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'Rakefile' - 'sshkit.gemspec' - 'test/helper.rb' # Offense count: 73 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundClassBody: Enabled: false # Offense count: 2 # Cop supports --auto-correct. Layout/EmptyLinesAroundMethodBody: Exclude: - 'lib/sshkit/host.rb' # Offense count: 100 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'test/unit/backends/test_abstract.rb' - 'test/unit/backends/test_netssh.rb' - 'test/unit/test_host.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_brackets Layout/IndentArray: Exclude: - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_netssh.rb' - 'test/unit/formatters/test_pretty.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/IndentHash: Exclude: - 'test/functional/backends/test_local.rb' - 'test/functional/backends/test_netssh.rb' - 'test/support/vagrant_wrapper.rb' - 'test/unit/formatters/test_custom.rb' - 'test/unit/formatters/test_pretty.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/sshkit/exception.rb' - 'test/functional/backends/test_netssh.rb' # Offense count: 5 # Cop supports --auto-correct. Layout/LeadingCommentSpace: Exclude: - 'lib/sshkit/backends/netssh.rb' - 'lib/sshkit/command.rb' - 'test/helper.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodCallBraceLayout: Exclude: - 'test/unit/test_command.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: aligned, indented, indented_relative_to_receiver Layout/MultilineMethodCallIndentation: Exclude: - 'lib/sshkit/host.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: aligned, indented Layout/MultilineOperationIndentation: Exclude: - 'lib/sshkit/backends/netssh.rb' # Offense count: 10 # Cop supports --auto-correct. Layout/SpaceAfterComma: Exclude: - 'lib/sshkit/command.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_netssh.rb' - 'test/unit/test_configuration.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/sshkit/backends/abstract.rb' - 'lib/sshkit/backends/local.rb' - 'lib/sshkit/backends/netssh.rb' - 'lib/sshkit/backends/netssh/known_hosts.rb' - 'lib/sshkit/command_map.rb' - 'lib/sshkit/runners/abstract.rb' - 'lib/sshkit/runners/group.rb' - 'lib/sshkit/runners/sequential.rb' - 'test/helper.rb' - 'test/unit/backends/test_netssh.rb' # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_abstract.rb' - 'test/unit/test_command.rb' - 'test/unit/test_deprecation_logger.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/sshkit/command.rb' - 'lib/sshkit/host.rb' - 'sshkit.gemspec' - 'test/unit/test_command_map.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceBeforeFirstArg: Exclude: - 'test/unit/backends/test_netssh.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/sshkit/command.rb' - 'lib/sshkit/host.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/test_configuration.rb' # Offense count: 39 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/sshkit/backends/abstract.rb' - 'lib/sshkit/backends/netssh.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_abstract.rb' - 'test/unit/formatters/test_dot.rb' - 'test/unit/test_color.rb' - 'test/unit/test_command.rb' - 'test/unit/test_host.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/SpaceInsidePercentLiteralDelimiters: Exclude: - 'lib/sshkit/formatters/pretty.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Exclude: - 'lib/sshkit/backends/netssh/known_hosts.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/sshkit/backends/printer.rb' - 'lib/sshkit/backends/skipper.rb' - 'lib/sshkit/command.rb' - 'lib/sshkit/formatters/abstract.rb' - 'lib/sshkit/host.rb' - 'test/unit/formatters/test_custom.rb' # Offense count: 2 Style/AsciiComments: Exclude: - 'lib/sshkit/command.rb' - 'test/helper.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: percent_q, bare_percent Style/BarePercentLiterals: Exclude: - 'lib/sshkit/command.rb' - 'test/unit/test_command.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'lib/sshkit/backends/abstract.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_abstract.rb' - 'test/unit/formatters/test_dot.rb' - 'test/unit/test_color.rb' - 'test/unit/test_host.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 1 Style/CaseEquality: Exclude: - 'lib/sshkit/mapping_interaction_handler.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: is_a?, kind_of? Style/ClassCheck: Exclude: - 'lib/sshkit/command.rb' - 'lib/sshkit/formatters/pretty.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ClassMethods: Exclude: - 'test/unit/backends/test_abstract.rb' # Offense count: 3 Style/ClassVars: Exclude: - 'lib/sshkit.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/sshkit/command_map.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EachWithObject: Exclude: - 'lib/core_ext/hash.rb' # Offense count: 12 # Cop supports --auto-correct. Style/EmptyLiteral: Exclude: - 'lib/sshkit/command.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_printer.rb' - 'test/unit/formatters/test_custom.rb' - 'test/unit/formatters/test_dot.rb' - 'test/unit/formatters/test_pretty.rb' - 'test/unit/formatters/test_simple_text.rb' - 'test/unit/test_coordinator.rb' - 'test/unit/test_deprecation_logger.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - 'lib/sshkit/formatters/dot.rb' - 'lib/sshkit/host.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/sshkit/formatters/pretty.rb' # Offense count: 6 # Configuration parameters: AllowedVariables. Style/GlobalVars: Exclude: - 'test/unit/test_coordinator.rb' # Offense count: 7 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/sshkit/backends/connection_pool.rb' - 'lib/sshkit/backends/netssh.rb' - 'lib/sshkit/command.rb' - 'lib/sshkit/formatters/pretty.rb' - 'lib/sshkit/host.rb' - 'lib/sshkit/runners/sequential.rb' - 'test/helper.rb' # Offense count: 33 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' - 'lib/sshkit/color.rb' - 'test/functional/backends/test_netssh.rb' - 'test/unit/backends/test_abstract.rb' - 'test/unit/backends/test_connection_pool.rb' - 'test/unit/formatters/test_custom.rb' - 'test/unit/test_configuration.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/sshkit/backends/connection_pool.rb' - 'lib/sshkit/backends/netssh/known_hosts.rb' - 'lib/sshkit/configuration.rb' - 'lib/sshkit/runners/sequential.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: line_count_dependent, lambda, literal Style/Lambda: Exclude: - 'test/unit/backends/test_abstract.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: call, braces Style/LambdaCall: Exclude: - 'lib/sshkit/command_map.rb' # Offense count: 5 # Cop supports --auto-correct. Style/LineEndConcatenation: Exclude: - 'lib/sshkit/backends/netssh.rb' - 'test/unit/test_command.rb' # Offense count: 3 # Cop supports --auto-correct. Style/MethodCallWithoutArgsParentheses: Exclude: - 'test/unit/test_color.rb' - 'test/unit/test_coordinator.rb' - 'test/unit/test_mapping_interaction_handler.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Exclude: - 'lib/sshkit/exception.rb' # Offense count: 3 # Configuration parameters: SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: EnforcedStyle: snake_case Exclude: - 'test/unit/test_color.rb' # Offense count: 1 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'Vagrantfile' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Strict. Style/NumericLiterals: MinDigits: 6 # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/sshkit/command.rb' # Offense count: 1 Style/OpMethod: Exclude: - 'lib/sshkit/host.rb' # Offense count: 6 # Cop supports --auto-correct. Style/ParallelAssignment: Exclude: - 'lib/sshkit/backends/netssh/known_hosts.rb' - 'lib/sshkit/color.rb' - 'lib/sshkit/command.rb' - 'lib/sshkit/log_message.rb' - 'test/helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: lower_case_q, upper_case_q Style/PercentQLiterals: Exclude: - 'test/unit/test_command.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'test/unit/test_host.rb' # Offense count: 2 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'test/unit/test_coordinator.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'test/functional/backends/test_netssh.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/sshkit/command.rb' # Offense count: 4 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/core_ext/hash.rb' - 'lib/sshkit/command.rb' - 'lib/sshkit/host.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/core_ext/hash.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Exclude: - 'test/unit/backends/test_connection_pool.rb' - 'test/unit/test_command_map.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: only_raise, only_fail, semantic Style/SignalException: Exclude: - 'lib/sshkit/configuration.rb' - 'lib/sshkit/host.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: Exclude: - 'lib/sshkit/backends/abstract.rb' # Offense count: 476 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: single_quotes, double_quotes Style/StringLiteralsInInterpolation: Exclude: - 'lib/sshkit/command.rb' - 'lib/sshkit/runners/parallel.rb' - 'lib/sshkit/runners/sequential.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: MinSize, SupportedStyles. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInLiteral: Exclude: - 'lib/sshkit/host.rb' - 'test/unit/backends/test_netssh.rb' - 'test/unit/test_configuration.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: Exclude: - 'lib/sshkit/host.rb' # Offense count: 1 # Cop supports --auto-correct. Style/UnlessElse: Exclude: - 'lib/sshkit/backends/netssh.rb' # Offense count: 1 # Cop supports --auto-correct. Style/UnneededCapitalW: Exclude: - 'test/functional/backends/test_netssh.rb' # Offense count: 3 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'sshkit.gemspec' - 'test/unit/test_command.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, normalcase, non_integer Style/VariableNumber: Exclude: - 'test/unit/backends/test_connection_pool.rb' # Offense count: 2 # Cop supports --auto-correct. Style/WhileUntilDo: Exclude: - 'lib/sshkit/backends/local.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 3