# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-01-10 17:11:53 -0800 using RuboCop version 0.46.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 Metrics/AbcSize: Max: 90 # Offense count: 2 # Configuration parameters: CountComments. Metrics/BlockLength: Max: 29 # Offense count: 1 Metrics/BlockNesting: Max: 4 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 24 # Offense count: 33 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 123 # Offense count: 5 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 89 # Offense count: 2 Metrics/PerceivedComplexity: Max: 22 # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. Style/FileName: Exclude: - 'lib/robot-controller.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/robot-controller/bluepill.rb' # Offense count: 3 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/robot-controller/robots.rb' - 'lib/robot-controller/verify.rb' # Offense count: 15 # 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, SupportedStyles. # SupportedStyles: symmetrical, new_line, same_line Style/MultilineArrayBraceLayout: Exclude: - 'spec/unit/verify_spec.rb' # Offense count: 5 # Cop supports --auto-correct. Style/NumericLiterals: MinDigits: 6 # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'bin/controller' - 'lib/robot-controller/verify.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: only_raise, only_fail, semantic Style/SignalException: Exclude: - 'bin/controller' - 'lib/robot-controller/robots.rb' - 'lib/robot-controller/verify.rb' # Offense count: 1 # Configuration parameters: Methods. # Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]} Style/SingleLineBlockParams: Exclude: - 'lib/robot-controller/verify.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment. # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex Style/TernaryParentheses: Exclude: - 'lib/robot-controller/robots.rb' - 'lib/robot-controller/verify.rb' # Offense count: 7 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'bin/controller' - 'lib/robot-controller/verify.rb'