Skip to content

Commit

Permalink
Adjust rubocop todo
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Jan 10, 2017
1 parent 4ddaaf5 commit e35a1a6
Showing 1 changed file with 6 additions and 32 deletions.
38 changes: 6 additions & 32 deletions .rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-01-10 15:12:25 +1030 using RuboCop version 0.46.0.
# on 2017-01-10 15:26:39 +1030 using RuboCop version 0.46.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
Expand Down Expand Up @@ -142,15 +142,15 @@ Metrics/ClassLength:
Metrics/CyclomaticComplexity:
Max: 13

# Offense count: 103
# Offense count: 105
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 38

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 390
Max: 391

# Offense count: 29
Metrics/PerceivedComplexity:
Expand Down Expand Up @@ -377,7 +377,7 @@ Style/EmptyMethod:
- 'db/migrate/20120316045804_activities_to_versions.rb'
- 'db/migrate/20121221033947_fix_country_mapping.rb'

# Offense count: 109
# Offense count: 99
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing:
Expand Down Expand Up @@ -424,12 +424,11 @@ Style/IdenticalConditionalBranches:
Exclude:
- 'app/helpers/application_helper.rb'

# Offense count: 12
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Exclude:
- 'app/helpers/application_helper.rb'
- 'app/models/entities/lead.rb'
- 'app/models/entities/opportunity.rb'
- 'app/models/setting.rb'
Expand Down Expand Up @@ -545,7 +544,7 @@ Style/Next:
Style/NumericLiterals:
MinDigits: 15

# Offense count: 12
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Expand All @@ -558,26 +557,9 @@ Style/NumericPredicate:
- 'app/helpers/tasks_helper.rb'
- 'app/models/fields/custom_field.rb'
- 'app/models/polymorphic/task.rb'
- 'app/models/polymorphic/version.rb'
- 'app/models/users/user.rb'
- 'lib/gravatar_image_tag.rb'
- 'lib/tasks/ffcrm/demo.rake'

# Offense count: 11
# Cop supports --auto-correct.
Style/ParallelAssignment:
Exclude:
- 'app/controllers/comments_controller.rb'
- 'app/controllers/entities_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/opportunities_helper.rb'
- 'db/migrate/20111201030535_add_field_groups_klass_name.rb'
- 'lib/fat_free_crm/mail_processor/base.rb'
- 'lib/fat_free_crm/mail_processor/comment_replies.rb'
- 'lib/tasks/ffcrm/config.rake'
- 'lib/tasks/ffcrm/setup.rake'
- 'spec/controllers/tasks_controller_spec.rb'

# Offense count: 4
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
Expand Down Expand Up @@ -659,13 +641,6 @@ Style/SignalException:
- 'spec/factories/shared_factories.rb'
- 'spec/factories/user_factories.rb'

# Offense count: 1
# Configuration parameters: Methods.
# Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]}
Style/SingleLineBlockParams:
Exclude:
- 'spec/support/macros.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
Expand Down Expand Up @@ -722,4 +697,3 @@ Style/WhenThen:
Style/WordArray:
EnforcedStyle: percent
MinSize: 5

0 comments on commit e35a1a6

Please sign in to comment.