publify/publify

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 0.82.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.

# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
  Max: 155

# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 177

# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
  Max: 14

# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 48

# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
  Max: 17

# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
  Exclude:
    - 'spec/views/xml_sidebar/_content.html.erb_spec.rb'

RSpec/DescribeClass:
  Exclude:
    - 'spec/models/text_filter_spec.rb'

# Configuration parameters: Max.
RSpec/ExampleLength:
  Exclude:
    - 'spec/controllers/articles_controller_spec.rb'
    - 'spec/controllers/tags_controller_spec.rb'
    - 'spec/lib/publify_avatar_gravatar_spec.rb'
    - 'spec/models/sidebar_registry_spec.rb'
    - 'spec/models/text_filter_spec.rb'
    - 'spec/views/comments/html_sanitization_spec.rb'

# Configuration parameters: CustomTransform, IgnoreMethods.
RSpec/FilePath:
  Exclude:
    - 'spec/lib/publify_avatar_gravatar_spec.rb'

# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
  Exclude:
    - 'spec/controllers/tags_controller_spec.rb'
    - 'spec/controllers/xml_controller_spec.rb'
    - 'spec/views/comments/html_sanitization_spec.rb'
    - 'spec/views/layouts/default_spec.rb'
    - 'spec/views/xml_sidebar/_content.html.erb_spec.rb'

RSpec/LetSetup:
  Exclude:
    - 'spec/controllers/articles_controller_spec.rb'
    - 'spec/controllers/feedback_controller_spec.rb'

RSpec/MultipleExpectations:
  Max: 10

RSpec/NestedGroups:
  Max: 5

# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
  Exclude:
    - 'spec/models/text_filter_spec.rb'

# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
  Exclude:
    - 'db/migrate/113_initial_schema.publify_core_engine.rb'
    - 'db/migrate/20150807134129_simplify_redirect_relations.publify_core_engine.rb'
    - 'db/migrate/20160110094906_remove_profiles_rights.publify_core_engine.rb'
    - 'db/migrate/20160605154632_remove_profiles.publify_core_engine.rb'
    - 'db/migrate/20190210121317_remove_text_filters.publify_core_engine.rb'

Security/Eval:
  Exclude:
    - 'Gemfile'

# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'db/migrate/20150808191127_add_blog_id_to_redirects.publify_core_engine.rb'
    - 'db/migrate/20150810094754_add_blog_id_to_tags.publify_core_engine.rb'

# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
  Exclude:
    - 'db/migrate/20150808052637_add_blog_ids.publify_core_engine.rb'
    - 'lib/publify_textfilter_flickr.rb'