Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 34 additions & 47 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,34 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-12-06 17:48:00 +0500 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: 1
Lint/HandleExceptions:
Exclude:
- 'Rakefile'

# Offense count: 1
Lint/LiteralAsCondition:
Exclude:
- 'lib/optimizely/config/datafile_project_config.rb'

# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
Exclude:
- 'lib/optimizely.rb'
- 'lib/optimizely/config_manager/http_project_config_manager.rb'
- 'lib/optimizely/event/batch_event_processor.rb'
- 'lib/optimizely/event/entity/conversion_event.rb'
- 'lib/optimizely/event/entity/event_context.rb'
- 'lib/optimizely/event/entity/impression_event.rb'
- 'lib/optimizely/event/entity/snapshot_event.rb'
- 'lib/optimizely/optimizely_factory.rb'

Naming/AccessorMethodName:
Exclude:
- 'lib/optimizely/config_manager/http_project_config_manager.rb'
- 'spec/optimizely_factory_spec.rb'

# Offense count: 1
# 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/**/*'
- 'lib/optimizely.rb'
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-12-04 10:26:47 +0500 using RuboCop version 0.73.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: 1
# Configuration parameters: AllowComments.
Lint/HandleExceptions:
Exclude:
- 'Rakefile'

# Offense count: 8
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 12

# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/optimizely/config_manager/http_project_config_manager.rb'

# Offense count: 2
# 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/**/*'
- 'lib/optimizely/project.rb'
Loading