# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-01-18 12:44:48 +0100 using RuboCop version 0.36.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: 3 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/landrush/action/common.rb' - 'lib/landrush/config.rb' - 'test/support/fake_ui.rb' # Offense count: 8 Metrics/AbcSize: Max: 36 Exclude: - 'lib/landrush/command.rb' # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 250 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 12 # Offense count: 57 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 157 # Offense count: 9 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 30 # Offense count: 1 Metrics/PerceivedComplexity: Max: 14 # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: EnforcedStyle: prefer_alias_method # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: percent_q, bare_percent Style/BarePercentLiterals: Exclude: - 'lib/landrush/cap/linux/add_iptables_rule.rb' - 'lib/landrush/cap/linux/read_host_visible_ip_address.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth. # SupportedStyles: case, end Style/CaseIndentation: Enabled: false Style/ConditionalAssignment: Exclude: - 'lib/landrush/server.rb' # Offense count: 21 Style/Documentation: Enabled: false # Offense count: 2 Style/DoubleNegation: Exclude: - 'lib/landrush/config.rb' - 'lib/landrush/server.rb' # Offense count: 4 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/landrush/action/teardown.rb' - 'lib/landrush/server.rb' - 'test/support/test_server_daemon.rb' # Offense count: 13 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets Style/HashSyntax: Enabled: false # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/landrush/action/common.rb' - 'lib/landrush/config.rb' - 'lib/landrush/server.rb' - 'test/support/test_server_daemon.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_brackets Style/IndentArray: EnforcedStyle: consistent # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/landrush/action/setup.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'landrush.gemspec' - 'lib/landrush/cap/guest/linux/redirect_dns.rb' - 'test/landrush/action/setup_test.rb' - 'test/landrush/store_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: lower_case_q, upper_case_q Style/PercentQLiterals: Exclude: - 'lib/landrush/cap/guest/linux/read_host_visible_ip_address.rb' # Offense count: 7 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/landrush/server.rb' - 'lib/landrush/store.rb' - 'test/landrush/server_test.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceAroundEqualsInParameterDefault: Enabled: false # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Style/SpaceInsideBlockBraces: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Enabled: false # Offense count: 62 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to Style/SymbolProc: Exclude: - 'lib/landrush/cap/guest/linux/read_host_visible_ip_address.rb' # Offense count: 2 # 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/landrush/config.rb' - 'lib/landrush/server.rb' # Offense count: 3 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'landrush.gemspec' - 'lib/landrush/cap/guest/linux/add_iptables_rule.rb' - 'lib/landrush/cap/guest/linux/read_host_visible_ip_address.rb'