summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml387
1 files changed, 2 insertions, 385 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index ac9dca5..b4c59f2 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-04-20 14:46:50 +0200 using RuboCop version 0.55.0.
+# on 2018-04-21 13:24:05 +0200 using RuboCop version 0.55.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
@@ -14,389 +14,6 @@ Gemspec/RequiredRubyVersion:
- 'oxidized.gemspec'
# Offense count: 4
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IndentationWidth.
-# SupportedStyles: with_first_parameter, with_fixed_indentation
-Layout/AlignParameters:
- Exclude:
- - 'lib/oxidized/hook.rb'
- - 'lib/oxidized/hook/exec.rb'
- - 'lib/oxidized/output/git.rb'
- - 'lib/oxidized/worker.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleAlignWith.
-# SupportedStylesAlignWith: either, start_of_block, start_of_line
-Layout/BlockAlignment:
- Exclude:
- - 'lib/oxidized/model/awplus.rb'
- - 'lib/oxidized/model/sgos.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-Layout/BlockEndNewline:
- Exclude:
- - 'lib/oxidized/model/awplus.rb'
- - 'lib/oxidized/model/hatteras.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
-# SupportedStyles: case, end
-Layout/CaseIndentation:
- Exclude:
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/ClosingParenthesisIndentation:
- Exclude:
- - 'lib/oxidized/output/git.rb'
-
-# Offense count: 13
-# Cop supports --auto-correct.
-Layout/CommentIndentation:
- Exclude:
- - 'lib/oxidized/model/aosw.rb'
- - 'lib/oxidized/model/audiocodes.rb'
- - 'lib/oxidized/model/awplus.rb'
- - 'lib/oxidized/model/edgeswitch.rb'
- - 'lib/oxidized/model/fujitsupy.rb'
- - 'lib/oxidized/model/gcombnps.rb'
- - 'lib/oxidized/model/masteros.rb'
- - 'lib/oxidized/model/planet.rb'
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-Layout/ElseAlignment:
- Exclude:
- - 'lib/oxidized/input/telnet.rb'
- - 'lib/oxidized/output/gitcrypt.rb'
- - 'lib/oxidized/source/csv.rb'
-
-# Offense count: 17
-# Cop supports --auto-correct.
-# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
-Layout/EmptyLineBetweenDefs:
- Exclude:
- - 'extra/syslog.rb'
- - 'lib/oxidized/manager.rb'
- - 'lib/oxidized/model/model.rb'
- - 'lib/oxidized/nodes.rb'
- - 'lib/oxidized/output/git.rb'
- - 'lib/oxidized/output/gitcrypt.rb'
-
-# Offense count: 17
-# Cop supports --auto-correct.
-Layout/EmptyLines:
- Exclude:
- - 'bin/oxidized'
- - 'lib/oxidized/input/telnet.rb'
- - 'lib/oxidized/model/acsw.rb'
- - 'lib/oxidized/model/alvarion.rb'
- - 'lib/oxidized/model/gaiaos.rb'
- - 'lib/oxidized/model/gcombnps.rb'
- - 'lib/oxidized/model/hatteras.rb'
- - 'lib/oxidized/model/ironware.rb'
- - 'lib/oxidized/model/planet.rb'
- - 'lib/oxidized/model/voltaire.rb'
- - 'lib/oxidized/nodes.rb'
- - 'lib/oxidized/output/git.rb'
- - 'lib/oxidized/output/gitcrypt.rb'
-
-# Offense count: 7
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, no_empty_lines
-Layout/EmptyLinesAroundBlockBody:
- Exclude:
- - 'lib/oxidized/hook/githubrepo.rb'
- - 'lib/oxidized/model/alvarion.rb'
- - 'lib/oxidized/model/asyncos.rb'
- - 'lib/oxidized/model/audiocodes.rb'
- - 'lib/oxidized/model/ciscosma.rb'
- - 'lib/oxidized/model/tplink.rb'
-
-# Offense count: 159
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
-Layout/EmptyLinesAroundClassBody:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/EmptyLinesAroundExceptionHandlingKeywords:
- Exclude:
- - 'lib/oxidized/hook/exec.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/EmptyLinesAroundMethodBody:
- Exclude:
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
-Layout/EmptyLinesAroundModuleBody:
- Exclude:
- - 'lib/oxidized/input/cli.rb'
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
-# SupportedStylesAlignWith: keyword, variable, start_of_line
-Layout/EndAlignment:
- Exclude:
- - 'lib/oxidized/output/gitcrypt.rb'
- - 'lib/oxidized/source/csv.rb'
-
-# Offense count: 1
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: native, lf, crlf
-Layout/EndOfLine:
- Exclude:
- - 'lib/oxidized/model/br6910.rb'
-
-# Offense count: 63
-# Cop supports --auto-correct.
-# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
-Layout/ExtraSpacing:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IndentationWidth.
-# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
-Layout/FirstParameterIndentation:
- Exclude:
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 5
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IndentationWidth.
-# SupportedStyles: special_inside_parentheses, consistent, align_braces
-Layout/IndentHash:
- Exclude:
- - 'lib/oxidized/hook/githubrepo.rb'
- - 'lib/oxidized/input/ssh.rb'
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 21
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: normal, rails
-Layout/IndentationConsistency:
- Exclude:
- - 'lib/oxidized/model/acsw.rb'
- - 'lib/oxidized/model/awplus.rb'
- - 'lib/oxidized/model/fortios.rb'
- - 'lib/oxidized/model/hpebladesystem.rb'
- - 'lib/oxidized/model/masteros.rb'
- - 'lib/oxidized/model/sgos.rb'
- - 'lib/oxidized/model/slxos.rb'
- - 'lib/oxidized/output/git.rb'
-
-# Offense count: 47
-# Cop supports --auto-correct.
-# Configuration parameters: Width, IgnoredPatterns.
-Layout/IndentationWidth:
- Enabled: false
-
-# Offense count: 108
-# Cop supports --auto-correct.
-Layout/LeadingCommentSpace:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Layout/MultilineBlockLayout:
- Exclude:
- - 'lib/oxidized/model/hatteras.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: symmetrical, new_line, same_line
-Layout/MultilineMethodCallBraceLayout:
- Exclude:
- - 'lib/oxidized/output/git.rb'
-
-# Offense count: 14
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IndentationWidth.
-# SupportedStyles: aligned, indented
-Layout/MultilineOperationIndentation:
- Exclude:
- - 'lib/oxidized/hook.rb'
- - 'lib/oxidized/model/awplus.rb'
- - 'lib/oxidized/model/hatteras.rb'
- - 'lib/oxidized/model/quantaos.rb'
- - 'lib/oxidized/model/trango.rb'
-
-# Offense count: 33
-# Cop supports --auto-correct.
-Layout/SpaceAfterComma:
- Enabled: false
-
-# Offense count: 12
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleInsidePipes.
-# SupportedStylesInsidePipes: space, no_space
-Layout/SpaceAroundBlockParameters:
- Exclude:
- - 'lib/oxidized/model/aos.rb'
- - 'lib/oxidized/model/aos7.rb'
- - 'lib/oxidized/model/c4cmts.rb'
- - 'lib/oxidized/model/coriantgroove.rb'
- - 'lib/oxidized/model/dlink.rb'
- - 'lib/oxidized/model/enterasys.rb'
- - 'lib/oxidized/model/hpebladesystem.rb'
- - 'lib/oxidized/model/mtrlrfs.rb'
- - 'lib/oxidized/model/xos.rb'
- - 'lib/oxidized/model/zhoneolt.rb'
- - 'lib/oxidized/node.rb'
-
-# Offense count: 32
-# Cop supports --auto-correct.
-# Configuration parameters: .
-# SupportedStyles: space, no_space
-Layout/SpaceAroundEqualsInParameterDefault:
- EnforcedStyle: no_space
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Layout/SpaceAroundKeyword:
- Exclude:
- - 'lib/oxidized/input/telnet.rb'
- - 'lib/oxidized/model/xos.rb'
-
-# Offense count: 49
-# Cop supports --auto-correct.
-# Configuration parameters: AllowForAlignment.
-Layout/SpaceAroundOperators:
- Enabled: false
-
-# Offense count: 15
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceBeforeBlockBraces:
- Exclude:
- - 'lib/oxidized/cli.rb'
- - 'lib/oxidized/model/aos.rb'
- - 'lib/oxidized/model/aos7.rb'
- - 'lib/oxidized/model/c4cmts.rb'
- - 'lib/oxidized/model/coriantgroove.rb'
- - 'lib/oxidized/model/dlink.rb'
- - 'lib/oxidized/model/enterasys.rb'
- - 'lib/oxidized/model/hpebladesystem.rb'
- - 'lib/oxidized/model/mtrlrfs.rb'
- - 'lib/oxidized/model/xos.rb'
- - 'lib/oxidized/model/zhoneolt.rb'
- - 'lib/oxidized/node.rb'
- - 'lib/oxidized/output/output.rb'
-
-# Offense count: 4
-# Cop supports --auto-correct.
-Layout/SpaceBeforeComma:
- Exclude:
- - 'lib/oxidized/hook/exec.rb'
- - 'lib/oxidized/model/fortios.rb'
-
-# Offense count: 25
-# Cop supports --auto-correct.
-# Configuration parameters: AllowForAlignment.
-Layout/SpaceBeforeFirstArg:
- Enabled: false
-
-# Offense count: 6
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
-# SupportedStyles: space, no_space, compact
-# SupportedStylesForEmptyBrackets: space, no_space
-Layout/SpaceInsideArrayLiteralBrackets:
- Exclude:
- - 'lib/oxidized/input/ssh.rb'
- - 'lib/oxidized/input/telnet.rb'
-
-# Offense count: 29
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceInsideBlockBraces:
- Exclude:
- - 'lib/oxidized/cli.rb'
- - 'lib/oxidized/hook.rb'
- - 'lib/oxidized/model/aos.rb'
- - 'lib/oxidized/model/aos7.rb'
- - 'lib/oxidized/model/c4cmts.rb'
- - 'lib/oxidized/model/coriantgroove.rb'
- - 'lib/oxidized/model/dlink.rb'
- - 'lib/oxidized/model/enterasys.rb'
- - 'lib/oxidized/model/fabricos.rb'
- - 'lib/oxidized/model/hpebladesystem.rb'
- - 'lib/oxidized/model/mtrlrfs.rb'
- - 'lib/oxidized/model/xos.rb'
- - 'lib/oxidized/model/zhoneolt.rb'
- - 'lib/oxidized/node.rb'
- - 'lib/oxidized/nodes.rb'
-
-# Offense count: 9
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
-# SupportedStyles: space, no_space, compact
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceInsideHashLiteralBraces:
- Exclude:
- - 'lib/oxidized/output/git.rb'
- - 'lib/oxidized/output/gitcrypt.rb'
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 9
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: space, no_space
-Layout/SpaceInsideParens:
- Exclude:
- - 'extra/syslog.rb'
- - 'lib/oxidized/input/telnet.rb'
- - 'lib/oxidized/model/asa.rb'
-
-# Offense count: 6
-# Cop supports --auto-correct.
-Layout/SpaceInsideRangeLiteral:
- Exclude:
- - 'lib/oxidized/input/telnet.rb'
-
-# Offense count: 8
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: final_newline, final_blank_line
-Layout/TrailingBlankLines:
- Exclude:
- - 'lib/oxidized/model/aen.rb'
- - 'lib/oxidized/model/apc_aos.rb'
- - 'lib/oxidized/model/firewareos.rb'
- - 'lib/oxidized/model/gcombnps.rb'
- - 'lib/oxidized/model/hpemsa.rb'
- - 'lib/oxidized/model/mtrlrfs.rb'
- - 'lib/oxidized/model/tplink.rb'
- - 'lib/oxidized/output/http.rb'
-
-# Offense count: 179
-# Cop supports --auto-correct.
-# Configuration parameters: AllowInHeredoc.
-Layout/TrailingWhitespace:
- Enabled: false
-
-# Offense count: 4
Lint/AmbiguousBlockAssociation:
Exclude:
- 'lib/oxidized/model/model.rb'
@@ -1116,7 +733,7 @@ Style/ZeroLengthPredicate:
- 'lib/oxidized/model/ciscosmb.rb'
- 'lib/oxidized/output/git.rb'
-# Offense count: 275
+# Offense count: 269
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength: