kigster/dnsmadeeasy

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-04-14 21:02:14 -0700 using RuboCop version 0.81.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: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Layout/EmptyLineBetweenDefs:
  Exclude:
    - 'lib/dme.rb'
    - 'lib/dnsmadeeasy/api/client.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
  Exclude:
    - 'spec/lib/dnsmadeeasy/runner_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: squiggly, active_support, powerpack, unindent
Layout/HeredocIndentation:
  Exclude:
    - 'dnsmadeeasy.gemspec'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
  Exclude:
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceInsideParens:
  Exclude:
    - 'Rakefile'
    - 'spec/lib/dnsmadeeasy/api/client_spec.rb'

# Offense count: 3
Lint/AmbiguousRegexpLiteral:
  Exclude:
    - 'spec/lib/dnsmadeeasy/credentials/api_keys_spec.rb'
    - 'spec/lib/dnsmadeeasy/runner_spec.rb'

# Offense count: 1
# Configuration parameters: MaximumRangeSize.
Lint/MissingCopEnableDirective:
  Exclude:
    - 'dnsmadeeasy.gemspec'

# Offense count: 1
Lint/UselessAssignment:
  Exclude:
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 8
# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
  Max: 38

# Offense count: 10
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 501

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 250

# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
  Max: 8

# Offense count: 12
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 32

# Offense count: 3
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 8

# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
  Max: 9

# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
Naming/MethodParameterName:
  Exclude:
    - 'lib/dnsmadeeasy/api/client.rb'
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
  Exclude:
    - 'lib/dnsmadeeasy/api/client.rb'

# Offense count: 1
# Configuration parameters: AllowedChars.
Style/AsciiComments:
  Exclude:
    - 'lib/dnsmadeeasy/credentials.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
# 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:
    - 'spec/lib/dnsmadeeasy/api/client_spec.rb'
    - 'spec/lib/dnsmadeeasy/credentials/yaml_file_spec.rb'

# Offense count: 6
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'lib/dme.rb'
    - 'lib/dnsmadeeasy.rb'
    - 'lib/dnsmadeeasy/api/client.rb'
    - 'lib/dnsmadeeasy/credentials.rb'
    - 'lib/dnsmadeeasy/credentials/yaml_file.rb'
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 5
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'lib/dnsmadeeasy.rb'
    - 'lib/dnsmadeeasy/api/client.rb'
    - 'lib/dnsmadeeasy/credentials/api_keys.rb'
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 2
Style/MethodMissingSuper:
  Exclude:
    - 'lib/dme.rb'
    - 'lib/dnsmadeeasy.rb'

# Offense count: 2
Style/MissingRespondToMissing:
  Exclude:
    - 'lib/dme.rb'
    - 'lib/dnsmadeeasy.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
  Exclude:
    - 'Rakefile'
    - 'dnsmadeeasy.gemspec'
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
  Exclude:
    - 'lib/dnsmadeeasy.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: only_raise, only_fail, semantic
Style/SignalException:
  Exclude:
    - 'lib/dnsmadeeasy/api/client.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/StderrPuts:
  Exclude:
    - 'lib/dnsmadeeasy/runner.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
  Exclude:
    - 'Gemfile'
    - 'Rakefile'
    - 'lib/dnsmadeeasy/credentials/api_keys.rb'
    - 'spec/lib/dnsmadeeasy/api/client_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
  Exclude:
    - 'spec/lib/dnsmadeeasy/api/client_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInHashLiteral:
  Exclude:
    - 'spec/lib/dnsmadeeasy/api/client_spec.rb'

# Offense count: 96
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
  Max: 305