# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-08-29 15:12:56 -0700 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: 10 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'redis-script_manager.gemspec' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundClassBody: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 19 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 161 # Cop supports --auto-correct. Layout/SpaceAfterComma: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: EnforcedStyle: no_space # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceBeforeFirstArg: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 15 # Cop supports --auto-correct. Layout/SpaceBeforeSemicolon: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 13 # Cop supports --auto-correct. Layout/SpaceInsideBrackets: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/SpaceInsideParens: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 7 Metrics/AbcSize: Max: 81 # Offense count: 4 # Configuration parameters: CountComments, ExcludedMethods. Metrics/BlockLength: Max: 99 # Offense count: 1 # Configuration parameters: CountBlocks. Metrics/BlockNesting: Max: 4 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 425 # Offense count: 1 Metrics/CyclomaticComplexity: Max: 20 # Offense count: 7 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 81 # Offense count: 7 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 78 # Offense count: 1 Metrics/PerceivedComplexity: Max: 21 # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 4 Style/ClassVars: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 2 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/redis/script_manager.rb' # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/redis/script_manager.rb' # Offense count: 2 # 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' - 'test/redis/script_manager_test.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/redis/script_manager.rb' # Offense count: 43 # Cop supports --auto-correct. Style/LineEndConcatenation: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 3 Style/MultilineTernaryOperator: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 1 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/redis/script_manager/version.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'lib/redis/script_manager.rb' - 'test/redis/script_manager_test.rb' # Offense count: 2 # Cop supports --auto-correct. Style/RedundantException: Exclude: - 'lib/redis/script_manager.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/redis/script_manager.rb' # Offense count: 15 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Exclude: - 'test/redis/script_manager_test.rb' # Offense count: 84 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Rakefile' - 'bin/console' - 'lib/redis/script_manager.rb' - 'redis-script_manager.gemspec' - 'test/redis/script_manager_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MinSize, SupportedStyles. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 13 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInLiteral: Exclude: - 'test/redis/script_manager_test.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/redis/script_manager.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, MinSize, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: brackets # Offense count: 2 # Cop supports --auto-correct. Style/YodaCondition: Exclude: - 'lib/redis/script_manager.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/redis/script_manager.rb'