initforthe/spina-blog

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-05-13 12:11:56 +0100 using RuboCop version 0.69.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
Metrics/AbcSize:
  Max: 96

# Offense count: 9
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 242

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 112

# Offense count: 6
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 110

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Exclude:
    - 'spec/models/spina/blog/category_spec.rb'
    - 'spec/models/spina/blog/post_spec.rb'

# Offense count: 5
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'db/migrate/1_create_spina_blog_posts.rb'
    - 'db/migrate/2_create_spina_blog_friendly_id_slugs.rb'
    - 'db/migrate/3_create_spina_blog_categories.rb'
    - 'db/migrate/4_add_category_id_to_spina_blog_posts.rb'
    - 'lib/generators/spina_blog/install_generator.rb'

# Offense count: 2
Style/MixinUsage:
  Exclude:
    - 'spec/dummy/bin/setup'
    - 'spec/dummy/bin/update'

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