diff options
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 393 |
1 files changed, 393 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000..e636a8b --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,393 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2016-05-25 12:42:07 +0200 using RuboCop version 0.40.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: 1 +Lint/AmbiguousRegexpLiteral: + Exclude: + - 'lib/nickserver/daemon.rb' + +# Offense count: 2 +# Configuration parameters: AllowSafeAssignment. +Lint/AssignmentInCondition: + Exclude: + - 'Rakefile' + - 'lib/nickserver/daemon.rb' + +# Offense count: 1 +Lint/Eval: + Exclude: + - 'Rakefile' + +# Offense count: 2 +Lint/HandleExceptions: + Exclude: + - 'Rakefile' + +# Offense count: 3 +Lint/IneffectiveAccessModifier: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/couch/fetch_key.rb' + +# Offense count: 2 +Lint/NonLocalExitFromIterator: + Exclude: + - 'test/unit/hkp_test.rb' + +# Offense count: 2 +Lint/RescueException: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/couch/fetch_key.rb' + +# Offense count: 5 +# Cop supports --auto-correct. +# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. +Lint/UnusedMethodArgument: + Exclude: + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/daemon.rb' + - 'test/unit/hkp_test.rb' + +# Offense count: 1 +Lint/UselessAccessModifier: + Exclude: + - 'lib/nickserver/config.rb' + +# Offense count: 7 +Lint/UselessAssignment: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/key_info.rb' + - 'test/unit/hkp_test.rb' + +# Offense count: 7 +Metrics/AbcSize: + Max: 19 + +# Offense count: 3 +# Configuration parameters: CountComments. +Metrics/ClassLength: + Max: 213 + +# Offense count: 2 +Metrics/CyclomaticComplexity: + Max: 10 + +# Offense count: 49 +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes. +# URISchemes: http, https +Metrics/LineLength: + Max: 229 + +# Offense count: 21 +# Configuration parameters: CountComments. +Metrics/MethodLength: + Max: 17 + +# Offense count: 2 +Metrics/PerceivedComplexity: + Max: 8 + +# Offense count: 1 +# Cop supports --auto-correct. +Performance/RedundantBlockCall: + Exclude: + - 'lib/nickserver/daemon.rb' + +# Offense count: 1 +Style/AccessorMethodName: + Exclude: + - 'lib/nickserver/server.rb' + +# Offense count: 18 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, 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: + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/server.rb' + - 'test/unit/hkp_test.rb' + - 'test/unit/nickserver_test.rb' + +# Offense count: 8 +# Cop supports --auto-correct. +# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth. +# SupportedStyles: case, end +Style/CaseIndentation: + Enabled: false + +# Offense count: 1 +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: nested, compact +Style/ClassAndModuleChildren: + Exclude: + - 'test/test_helper.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +Style/ColonMethodCall: + Exclude: + - 'test/unit/nickserver_test.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +Style/CommentIndentation: + Exclude: + - 'test/unit/hkp_test.rb' + +# Offense count: 1 +Style/ConstantName: + Exclude: + - 'lib/nickserver/email_address.rb' + +# Offense count: 8 +Style/Documentation: + Exclude: + - 'spec/**/*' + - 'test/**/*' + - 'lib/nickserver/config.rb' + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/hkp/key_info.rb' + - 'lib/nickserver/hkp/parse_key_info.rb' + - 'lib/nickserver/server.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +Style/ElseAlignment: + Exclude: + - 'lib/nickserver/server.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: empty, nil, both +Style/EmptyElse: + Exclude: + - 'lib/nickserver/daemon.rb' + +# Offense count: 10 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: empty_lines, no_empty_lines +Style/EmptyLinesAroundClassBody: + Exclude: + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/hkp/parse_key_info.rb' + - 'test/test_helper.rb' + - 'test/unit/hkp_test.rb' + - 'test/unit/nickserver_test.rb' + +# Offense count: 4 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: empty_lines, no_empty_lines +Style/EmptyLinesAroundModuleBody: + Exclude: + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/hkp/key_info.rb' + +# Offense count: 1 +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: format, sprintf, percent +Style/FormatString: + Exclude: + - 'test/test_helper.rb' + +# Offense count: 35 +# Configuration parameters: AllowedVariables. +Style/GlobalVars: + Exclude: + - 'Rakefile' + +# Offense count: 3 +# Cop supports --auto-correct. +# Configuration parameters: MaxLineLength. +Style/IfUnlessModifier: + Exclude: + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/key_info.rb' + +# Offense count: 6 +# Cop supports --auto-correct. +# Configuration parameters: Width. +Style/IndentationWidth: + Exclude: + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/hkp/key_info.rb' + - 'lib/nickserver/hkp/parse_key_info.rb' + - 'lib/nickserver/server.rb' + +# Offense count: 2 +# Cop supports --auto-correct. +Style/LeadingCommentSpace: + Exclude: + - 'Rakefile' + - 'test/unit/hkp_test.rb' + +# Offense count: 6 +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: snake_case, camelCase +Style/MethodName: + Enabled: false + +# Offense count: 5 +Style/MultilineBlockChain: + Exclude: + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + - 'lib/nickserver/server.rb' + - 'test/unit/nickserver_test.rb' + +# Offense count: 3 +# Cop supports --auto-correct. +Style/MutableConstant: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/version.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +Style/NegatedIf: + Exclude: + - 'bin/nickserver' + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: PreferredDelimiters. +Style/PercentLiteralDelimiters: + Exclude: + - 'nickserver.gemspec' + +# Offense count: 2 +# Cop supports --auto-correct. +Style/RedundantBegin: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/daemon.rb' + +# Offense count: 16 +# Cop supports --auto-correct. +Style/RedundantSelf: + Exclude: + - 'lib/nickserver/config.rb' + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/daemon.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key_info.rb' + +# Offense count: 7 +# Cop supports --auto-correct. +# Configuration parameters: AllowAsExpressionSeparator. +Style/Semicolon: + Exclude: + - 'lib/nickserver/daemon.rb' + +# Offense count: 2 +# Cop supports --auto-correct. +Style/SpaceAfterComma: + Exclude: + - 'lib/nickserver/hkp/fetch_key.rb' + - 'test/unit/nickserver_test.rb' + +# Offense count: 4 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: space, no_space +Style/SpaceAroundEqualsInParameterDefault: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: AllowForAlignment. +Style/SpaceAroundOperators: + Exclude: + - 'test/test_helper.rb' + +# Offense count: 3 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: space, no_space +Style/SpaceBeforeBlockBraces: + Enabled: false + +# Offense count: 5 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. +# SupportedStyles: space, no_space +Style/SpaceInsideBlockBraces: + Enabled: false + +# Offense count: 46 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. +# SupportedStyles: space, no_space +Style/SpaceInsideHashLiteralBraces: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: use_perl_names, use_english_names +Style/SpecialGlobalVars: + Enabled: false + +# Offense count: 83 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. +# SupportedStyles: single_quotes, double_quotes +Style/StringLiterals: + Enabled: false + +# Offense count: 4 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: final_newline, final_blank_line +Style/TrailingBlankLines: + Exclude: + - 'bin/nickserver' + - 'lib/nickserver/couch/fetch_key.rb' + - 'lib/nickserver/hkp/fetch_key.rb' + - 'test/unit/test_helper.rb' + +# Offense count: 2 +# Cop supports --auto-correct. +Style/UnneededPercentQ: + Exclude: + - 'nickserver.gemspec' + +# Offense count: 1 +# Cop supports --auto-correct. +Style/WhileUntilDo: + Exclude: + - 'Rakefile' + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: SupportedStyles, MinSize, WordRegex. +# SupportedStyles: percent, brackets +Style/WordArray: + EnforcedStyle: brackets |