Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress RuboCop offenses #46

Merged
merged 1 commit into from
May 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-13 01:21:08 +0900 using RuboCop version 0.65.0.
# on 2019-05-01 18:41:27 -0500 using RuboCop version 0.68.1.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if RuboCop just used UTC.

# 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: 12
InternalAffairs/NodeDestructuring:
Exclude:
- 'lib/rubocop/cop/performance/casecmp.rb'
- 'lib/rubocop/cop/performance/detect.rb'
- 'lib/rubocop/cop/performance/redundant_block_call.rb'
- 'lib/rubocop/cop/performance/regexp_match.rb'
- 'lib/rubocop/cop/performance/string_replacement.rb'

# Offense count: 7
Metrics/AbcSize:
Max: 17
Expand All @@ -15,16 +24,25 @@ Metrics/AbcSize:
Metrics/ClassLength:
Max: 147

# Offense count: 16
# Offense count: 14
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 14

# Offense count: 41
# Offense count: 40
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false
Exclude:
- 'spec/project_spec.rb'
- 'spec/rubocop/cop/performance/case_when_splat_spec.rb'
- 'spec/rubocop/cop/performance/count_spec.rb'
- 'spec/rubocop/cop/performance/detect_spec.rb'
- 'spec/rubocop/cop/performance/double_start_end_with_spec.rb'
- 'spec/rubocop/cop/performance/fixed_size_spec.rb'
- 'spec/rubocop/cop/performance/reverse_each_spec.rb'
- 'spec/rubocop/cop/performance/string_replacement_spec.rb'
- 'spec/rubocop/cop/performance/times_map_spec.rb'

# Offense count: 88
# Configuration parameters: Max.
Expand Down