summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorNeil Lathwood <neil@lathwood.co.uk>2018-04-27 10:51:39 +0100
committerNeil Lathwood <neil@lathwood.co.uk>2018-04-27 10:51:39 +0100
commit6574f129bca9633d728c178b12e49a2e9be89cdd (patch)
treea2d630fca3156658aea07469b9a5c3fdf00f6846 /.rubocop_todo.yml
parentd96cfac1f09ff4055f54ab604358290865d41f62 (diff)
parent34fd5369feee94ab45c5a81d7769b1df717e4c8c (diff)
Rebased from master
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml723
1 files changed, 723 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
new file mode 100644
index 0000000..77c1026
--- /dev/null
+++ b/.rubocop_todo.yml
@@ -0,0 +1,723 @@
+# This configuration was generated by
+# `rubocop --auto-gen-config`
+# on 2018-04-25 18:47:11 +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
+# versions of RuboCop, may require this file to be generated again.
+
+# Offense count: 1
+# Configuration parameters: Include.
+# Include: **/*.gemspec
+Gemspec/RequiredRubyVersion:
+ Exclude:
+ - 'oxidized.gemspec'
+
+# Offense count: 4
+Lint/AmbiguousBlockAssociation:
+ Exclude:
+ - 'lib/oxidized/model/model.rb'
+ - 'lib/oxidized/model/nos.rb'
+
+# Offense count: 652
+Lint/AmbiguousRegexpLiteral:
+ Enabled: false
+
+# Offense count: 8
+# Configuration parameters: AllowSafeAssignment.
+Lint/AssignmentInCondition:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+Lint/DeprecatedClassMethods:
+ Exclude:
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/output/file.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+
+# Offense count: 3
+Lint/HandleExceptions:
+ Exclude:
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 2
+Lint/LiteralAsCondition:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/core.rb'
+
+# Offense count: 4
+Lint/ParenthesesAsGroupedExpression:
+ Exclude:
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/model/aricentiss.rb'
+ - 'lib/oxidized/model/asa.rb'
+ - 'lib/oxidized/model/ios.rb'
+
+# Offense count: 3
+Lint/ShadowingOuterLocalVariable:
+ Exclude:
+ - 'lib/oxidized/model/fortios.rb'
+ - 'lib/oxidized/model/planet.rb'
+
+# Offense count: 10
+Lint/UnderscorePrefixedVariableName:
+ Exclude:
+ - 'lib/oxidized/input/cli.rb'
+ - 'lib/oxidized/manager.rb'
+ - 'lib/oxidized/model/model.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
+Lint/UnusedBlockArgument:
+ Exclude:
+ - 'lib/oxidized/hook/githubrepo.rb'
+
+# Offense count: 7
+# Cop supports --auto-correct.
+# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
+Lint/UnusedMethodArgument:
+ Exclude:
+ - 'lib/oxidized/core.rb'
+ - 'lib/oxidized/hook.rb'
+ - 'lib/oxidized/output/file.rb'
+
+# Offense count: 12
+Lint/UselessAssignment:
+ Exclude:
+ - 'lib/oxidized/model/cumulus.rb'
+ - 'lib/oxidized/model/edgeos.rb'
+ - 'lib/oxidized/model/gaiaos.rb'
+ - 'lib/oxidized/model/mlnxos.rb'
+ - 'lib/oxidized/model/procurve.rb'
+ - 'lib/oxidized/model/trango.rb'
+ - 'lib/oxidized/model/voltaire.rb'
+ - 'lib/oxidized/model/vyatta.rb'
+ - 'lib/oxidized/model/zhoneolt.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+ - 'lib/oxidized/output/http.rb'
+ - 'lib/oxidized/source/csv.rb'
+
+# Offense count: 1
+# Configuration parameters: CheckForMethodsWithNoSideEffects.
+Lint/Void:
+ Exclude:
+ - 'lib/oxidized/model/voss.rb'
+
+# Offense count: 60
+Metrics/AbcSize:
+ Max: 84
+
+# Offense count: 15
+# Configuration parameters: CountComments, ExcludedMethods.
+Metrics/BlockLength:
+ Max: 142
+
+# Offense count: 2
+# Configuration parameters: CountBlocks.
+Metrics/BlockNesting:
+ Max: 4
+
+# Offense count: 7
+# Configuration parameters: CountComments.
+Metrics/ClassLength:
+ Max: 210
+
+# Offense count: 13
+Metrics/CyclomaticComplexity:
+ Max: 28
+
+# Offense count: 53
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 72
+
+# Offense count: 2
+# Configuration parameters: CountKeywordArgs.
+Metrics/ParameterLists:
+ Max: 6
+
+# Offense count: 14
+Metrics/PerceivedComplexity:
+ Max: 32
+
+# Offense count: 1
+Naming/AccessorMethodName:
+ Exclude:
+ - 'lib/oxidized/string.rb'
+
+# Offense count: 1
+Naming/ClassAndModuleCamelCase:
+ Exclude:
+ - 'lib/oxidized/model/apc_aos.rb'
+
+# Offense count: 8
+Naming/ConstantName:
+ Exclude:
+ - 'extra/rest_client.rb'
+ - 'lib/oxidized/config.rb'
+ - 'lib/oxidized/hook.rb'
+ - 'lib/oxidized/input/ftp.rb'
+ - 'lib/oxidized/input/input.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/input/telnet.rb'
+
+# Offense count: 1
+Naming/MemoizedInstanceVariableName:
+ Exclude:
+ - 'lib/oxidized/string.rb'
+
+# Offense count: 3
+# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
+# NamePrefix: is_, has_, have_
+# NamePrefixBlacklist: is_, has_, have_
+# NameWhitelist: is_a?
+# MethodDefinitionMacros: define_method, define_singleton_method
+Naming/PredicateName:
+ Exclude:
+ - 'spec/**/*'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/worker.rb'
+
+# Offense count: 11
+# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
+# AllowedNames: io, id, to, by, on, in, at
+Naming/UncommunicativeMethodParamName:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/input/cli.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/model/model.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Performance/Casecmp:
+ Exclude:
+ - 'lib/oxidized/manager.rb'
+
+# Offense count: 57
+# Cop supports --auto-correct.
+Performance/RedundantMatch:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: MaxKeyValuePairs.
+Performance/RedundantMerge:
+ Exclude:
+ - 'lib/oxidized/hook/exec.rb'
+ - 'lib/oxidized/input/telnet.rb'
+
+# Offense count: 6
+# Cop supports --auto-correct.
+Performance/StringReplacement:
+ Exclude:
+ - 'lib/oxidized/model/awplus.rb'
+ - 'lib/oxidized/model/comware.rb'
+ - 'lib/oxidized/model/sros.rb'
+
+# Offense count: 1
+Security/Eval:
+ Exclude:
+ - 'Rakefile'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect.
+Security/JSONLoad:
+ Exclude:
+ - 'extra/nagios_check_failing_nodes.rb'
+
+# Offense count: 5
+Security/Open:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/file.rb'
+ - 'lib/oxidized/source/csv.rb'
+
+# Offense count: 3
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: prefer_alias, prefer_alias_method
+Style/Alias:
+ Exclude:
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 46
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: always, conditionals
+Style/AndOr:
+ Enabled: false
+
+# Offense count: 3
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, 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/oxidized/model/aricentiss.rb'
+ - 'lib/oxidized/model/hatteras.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: braces, no_braces, context_dependent
+Style/BracesAroundHashParameters:
+ Exclude:
+ - 'lib/oxidized/hook/githubrepo.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/model/procurve.rb'
+ - 'lib/oxidized/output/http.rb'
+
+# Offense count: 3
+Style/CaseEquality:
+ Exclude:
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/model/model.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect, EnforcedStyle.
+# SupportedStyles: nested, compact
+Style/ClassAndModuleChildren:
+ Exclude:
+ - 'lib/oxidized/config/vars.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: is_a?, kind_of?
+Style/ClassCheck:
+ Exclude:
+ - 'lib/oxidized/input/telnet.rb'
+
+# Offense count: 2
+Style/ClassVars:
+ Exclude:
+ - 'lib/oxidized.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+Style/ColonMethodCall:
+ Exclude:
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/input/telnet.rb'
+
+# Offense count: 1
+Style/CommentedKeyword:
+ Exclude:
+ - 'lib/oxidized/input/telnet.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
+# SupportedStyles: assign_to_condition, assign_inside_condition
+Style/ConditionalAssignment:
+ Exclude:
+ - 'lib/oxidized/hook/githubrepo.rb'
+ - 'lib/oxidized/model/model.rb'
+
+# Offense count: 144
+Style/Documentation:
+ Enabled: false
+
+# Offense count: 2
+Style/DoubleNegation:
+ Exclude:
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/hook/exec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: compact, expanded
+Style/EmptyMethod:
+ Exclude:
+ - 'lib/oxidized/hook.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/ExpandPathArguments:
+ Exclude:
+ - 'bin/console'
+
+# Offense count: 13
+# Configuration parameters: MinBodyLength.
+Style/GuardClause:
+ Exclude:
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/input/cli.rb'
+ - 'lib/oxidized/jobs.rb'
+ - 'lib/oxidized/nodes.rb'
+ - 'lib/oxidized/output/file.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+ - 'lib/oxidized/output/http.rb'
+ - 'lib/oxidized/source/http.rb'
+ - 'lib/oxidized/source/sql.rb'
+ - 'lib/oxidized/string.rb'
+
+# Offense count: 104
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
+# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
+Style/HashSyntax:
+ Enabled: false
+
+# Offense count: 1
+Style/IfInsideElse:
+ Exclude:
+ - 'lib/oxidized/output/file.rb'
+
+# Offense count: 39
+# Cop supports --auto-correct.
+Style/IfUnlessModifier:
+ Enabled: false
+
+# Offense count: 1
+Style/IfUnlessModifierOfIfUnless:
+ Exclude:
+ - 'lib/oxidized/input/ssh.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/InfiniteLoop:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/core.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/LineEndConcatenation:
+ Exclude:
+ - 'lib/oxidized/hook.rb'
+
+# Offense count: 131
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
+Style/MethodDefParentheses:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/MultilineIfThen:
+ Exclude:
+ - 'lib/oxidized/model/aricentiss.rb'
+
+# Offense count: 9
+# Cop supports --auto-correct.
+Style/MutableConstant:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/hook.rb'
+ - 'lib/oxidized/input/ftp.rb'
+ - 'lib/oxidized/input/input.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/version.rb'
+
+# Offense count: 8
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: both, prefix, postfix
+Style/NegatedIf:
+ Exclude:
+ - 'lib/oxidized/model/ios.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+ - 'lib/oxidized/worker.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, MinBodyLength.
+# SupportedStyles: skip_modifier_ifs, always
+Style/Next:
+ Exclude:
+ - 'lib/oxidized/model/trango.rb'
+ - 'lib/oxidized/output/git.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/NilComparison:
+ Exclude:
+ - 'lib/oxidized/input/ssh.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedOctalStyle.
+# SupportedOctalStyles: zero_with_o, zero_only
+Style/NumericLiteralPrefix:
+ Exclude:
+ - 'lib/oxidized/output/git.rb'
+
+# Offense count: 6
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect, EnforcedStyle.
+# SupportedStyles: predicate, comparison
+Style/NumericPredicate:
+ Exclude:
+ - 'spec/**/*'
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/core.rb'
+ - 'lib/oxidized/jobs.rb'
+ - 'lib/oxidized/nodes.rb'
+ - 'lib/oxidized/worker.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/OrAssignment:
+ Exclude:
+ - 'lib/oxidized/manager.rb'
+
+# Offense count: 5
+# Cop supports --auto-correct.
+Style/ParallelAssignment:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/hook/exec.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: AllowSafeAssignment.
+Style/ParenthesesAroundCondition:
+ Exclude:
+ - 'lib/oxidized/model/ios.rb'
+ - 'lib/oxidized/model/powerconnect.rb'
+ - 'lib/oxidized/source/http.rb'
+
+# Offense count: 6
+# Cop supports --auto-correct.
+# Configuration parameters: PreferredDelimiters.
+Style/PercentLiteralDelimiters:
+ Exclude:
+ - 'lib/oxidized/config.rb'
+ - 'lib/oxidized/input/ssh.rb'
+
+# Offense count: 22
+# Cop supports --auto-correct.
+Style/PerlBackrefs:
+ Exclude:
+ - 'lib/oxidized/model/acos.rb'
+ - 'lib/oxidized/model/aos7.rb'
+ - 'lib/oxidized/model/ios.rb'
+ - 'lib/oxidized/model/junos.rb'
+ - 'lib/oxidized/model/powerconnect.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/Proc:
+ Exclude:
+ - 'lib/oxidized/hook/githubrepo.rb'
+
+# Offense count: 10
+# Cop supports --auto-correct.
+Style/RedundantBegin:
+ Exclude:
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/manager.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+Style/RedundantParentheses:
+ Exclude:
+ - 'lib/oxidized/model/aricentiss.rb'
+ - 'lib/oxidized/model/ios.rb'
+ - 'lib/oxidized/model/powerconnect.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: AllowMultipleReturnValues.
+Style/RedundantReturn:
+ Exclude:
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/file.rb'
+
+# Offense count: 5
+# Cop supports --auto-correct.
+Style/RedundantSelf:
+ Exclude:
+ - 'lib/oxidized/hook.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 29
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
+# SupportedStyles: slashes, percent_r, mixed
+Style/RegexpLiteral:
+ Enabled: false
+
+# Offense count: 6
+# Cop supports --auto-correct.
+Style/RescueModifier:
+ Exclude:
+ - 'bin/oxidized'
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 19
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: implicit, explicit
+Style/RescueStandardError:
+ Exclude:
+ - 'bin/oxidized'
+ - 'extra/rest_client.rb'
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/cli.rb'
+ - 'lib/oxidized/config.rb'
+ - 'lib/oxidized/hook.rb'
+ - 'lib/oxidized/hook/exec.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+ - 'lib/oxidized/worker.rb'
+
+# Offense count: 10
+# Cop supports --auto-correct.
+# Configuration parameters: AllowAsExpressionSeparator.
+Style/Semicolon:
+ Exclude:
+ - 'lib/oxidized/model/ios.rb'
+ - 'lib/oxidized/output/git.rb'
+ - 'lib/oxidized/output/gitcrypt.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: use_perl_names, use_english_names
+Style/SpecialGlobalVars:
+ Exclude:
+ - 'lib/oxidized/cli.rb'
+
+# Offense count: 1
+Style/StructInheritance:
+ Exclude:
+ - 'lib/oxidized/hook.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: MinSize.
+# SupportedStyles: percent, brackets
+Style/SymbolArray:
+ EnforcedStyle: brackets
+
+# Offense count: 6
+# Cop supports --auto-correct.
+# Configuration parameters: IgnoredMethods.
+# IgnoredMethods: respond_to, define_method
+Style/SymbolProc:
+ Exclude:
+ - 'lib/oxidized/model/datacom.rb'
+ - 'lib/oxidized/model/hpebladesystem.rb'
+ - 'lib/oxidized/model/junos.rb'
+ - 'lib/oxidized/model/outputs.rb'
+ - 'lib/oxidized/nodes.rb'
+
+# Offense count: 3
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyleForMultiline.
+# SupportedStylesForMultiline: comma, consistent_comma, no_comma
+Style/TrailingCommaInArguments:
+ Exclude:
+ - 'lib/oxidized/hook/exec.rb'
+ - 'lib/oxidized/output/git.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyleForMultiline.
+# SupportedStylesForMultiline: comma, consistent_comma, no_comma
+Style/TrailingCommaInArrayLiteral:
+ Exclude:
+ - 'lib/oxidized/input/input.rb'
+ - 'lib/oxidized/input/ssh.rb'
+
+# Offense count: 11
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyleForMultiline.
+# SupportedStylesForMultiline: comma, consistent_comma, no_comma
+Style/TrailingCommaInHashLiteral:
+ Exclude:
+ - 'extra/syslog.rb'
+ - 'lib/oxidized/config.rb'
+ - 'lib/oxidized/input/ftp.rb'
+ - 'lib/oxidized/input/input.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/node/stats.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: AllowNamedUnderscoreVariables.
+Style/TrailingUnderscoreVariable:
+ Exclude:
+ - 'lib/oxidized/node.rb'
+ - 'lib/oxidized/output/git.rb'
+
+# Offense count: 3
+# 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/oxidized/cli.rb'
+ - 'lib/oxidized/input/ssh.rb'
+ - 'lib/oxidized/model/model.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/UnneededInterpolation:
+ Exclude:
+ - 'bin/oxidized'
+ - 'lib/oxidized/cli.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: WordRegex.
+# SupportedStyles: percent, brackets
+Style/WordArray:
+ EnforcedStyle: percent
+ MinSize: 3
+
+# Offense count: 4
+# Cop supports --auto-correct.
+Style/ZeroLengthPredicate:
+ Exclude:
+ - 'lib/oxidized/core.rb'
+ - 'lib/oxidized/input/telnet.rb'
+ - 'lib/oxidized/model/ciscosmb.rb'
+ - 'lib/oxidized/output/git.rb'
+
+# Offense count: 270
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Metrics/LineLength:
+ Max: 257