Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (72 sloc) 1.96 KB
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-12-13 11:15:14 -0500 using RuboCop version 0.60.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: 3
Lint/IneffectiveAccessModifier:
Exclude:
- 'lib/sitediff/config.rb'
# Offense count: 2
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'lib/sitediff/config.rb'
- 'lib/sitediff/webserver.rb'
# Offense count: 16
Metrics/AbcSize:
Max: 80
# Offense count: 6
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 52
# Offense count: 6
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 9
# Offense count: 5
Metrics/PerceivedComplexity:
Max: 13
# Offense count: 1
Security/MarshalLoad:
Exclude:
- 'lib/sitediff/cache.rb'
# Offense count: 21
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'Thorfile'
# Offense count: 3
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/sitediff/uriwrapper.rb'
- 'lib/sitediff/webserver.rb'
# Offense count: 1
Style/StructInheritance:
Exclude:
- 'lib/sitediff/result.rb'
# Offense count: 36
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes,
# IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
AllowURI: true
IgnoredPatterns:
- '^\s*SiteDiff\.log'
Exclude:
- 'Thorfile'
- 'lib/sitediff.rb'
- 'lib/sitediff/cache.rb'
- 'lib/sitediff/cli.rb'
- 'lib/sitediff/uriwrapper.rb'
- 'lib/sitediff/config/creator.rb'
- 'lib/sitediff/sanitize.rb'
- 'spec/unit/sanitize_spec.rb'
You can’t perform that action at this time.