Permalink
Browse files

Add RuboCop TODO items

  • Loading branch information...
mvz committed Oct 20, 2017
1 parent b3f9b36 commit 3fc9a22dbab92f7dbc438f3acaf922be8f32f233
Showing with 87 additions and 0 deletions.
  1. +2 −0 .rubocop.yml
  2. +85 −0 .rubocop_todo.yml
View
@@ -176,3 +176,5 @@ Style/SymbolArray:
# Allow small arrays of words with quotes
Style/WordArray:
MinSize: 4
inherit_from: .rubocop_todo.yml
View
@@ -0,0 +1,85 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-10-20 14:42:54 +0200 using RuboCop version 0.51.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: 10
# Cop supports --auto-correct.
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
# Include: **/*.gemspec
Gemspec/OrderedDependencies:
Exclude:
- 'publify_amazon_sidebar/publify_amazon_sidebar.gemspec'
- 'publify_core/publify_core.gemspec'
- 'publify_textfilter_code/publify_textfilter_code.gemspec'
# Offense count: 8
Lint/RescueWithoutErrorClass:
Exclude:
- 'db/migrate/20150808052637_add_blog_ids.publify_core_engine.rb'
- 'lib/publify_textfilter_flickr.rb'
- 'publify_core/app/controllers/admin/dashboard_controller.rb'
- 'publify_core/app/helpers/base_helper.rb'
- 'publify_core/db/migrate/20150808052637_add_blog_ids.rb'
- 'publify_textfilter_code/lib/publify_app/textfilter_code.rb'
# Offense count: 3
Lint/UriEscapeUnescape:
Exclude:
- 'publify_core/app/models/article.rb'
- 'publify_core/lib/publify_textfilter_twitterfilter.rb'
# Offense count: 5
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
Exclude:
- 'spec/**/*'
- 'publify_core/app/helpers/authors_helper.rb'
- 'publify_core/app/models/article.rb'
- 'publify_core/app/models/blog.rb'
- 'publify_core/app/models/user.rb'
- 'publify_core/lib/spam_protection.rb'
# Offense count: 3
Security/Eval:
Exclude:
- 'Gemfile'
- 'publify_core/lib/publify_plugins.rb'
# Offense count: 5
Style/ClassVars:
Exclude:
- 'publify_core/app/controllers/admin/base_controller.rb'
- 'publify_core/lib/email_notify.rb'
- 'publify_core/lib/publify_plugins.rb'
- 'publify_core/lib/text_filter_plugin.rb'
# Offense count: 2
Style/CommentedKeyword:
Exclude:
- 'publify_core/lib/publify_plugins.rb'
# Offense count: 12
Style/DateTime:
Exclude:
- 'publify_core/spec/controllers/authors_controller_spec.rb'
- 'publify_core/spec/controllers/notes_controller_spec.rb'
- 'publify_core/spec/factories.rb'
- 'publify_core/spec/models/archives_sidebar_spec.rb'
- 'publify_core/spec/models/article_spec.rb'
- 'publify_core/spec/models/comment_spec.rb'
- 'publify_core/spec/models/content_spec.rb'
- 'publify_core/spec/models/feedback_spec.rb'
- 'spec/factories.rb'
# Offense count: 24
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false

0 comments on commit 3fc9a22

Please sign in to comment.