.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.50.1.
# 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: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 157
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 177
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 19
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 48
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 22
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/views/xml_sidebar/_content.html.erb_spec.rb'
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 14
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
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
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 5
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/lib/publify_textfilter_flickr_spec.rb'
- 'spec/lib/publify_textfilter_lightbox_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/20160605154632_remove_profiles.publify_core_engine.rb'
- 'db/migrate/20190210121317_remove_text_filters.publify_core_engine.rb'
- 'db/migrate/20221010170801_remove_page_caches_table.publify_core_engine.rb'
# Configuration parameters: Include.
# Include: db/**/*.rb
Rails/ThreeStateBooleanColumn:
Exclude:
- 'db/migrate/113_initial_schema.publify_core_engine.rb'
Security/Eval:
Exclude:
- 'Gemfile'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
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'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'db/migrate/20150808052637_add_blog_ids.publify_core_engine.rb'
- 'lib/publify_textfilter_flickr.rb'