forked from rubocop/rubocop-performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
58 lines (50 loc) · 1.81 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-07-27 22:39:00 +0800 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: 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'
InternalAffairs/NumblockHandler:
Enabled: false
# Offense count: 8
Metrics/AbcSize:
Max: 17
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 164
# Offense count: 14
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 14
# Offense count: 40
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
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: 89
# Configuration parameters: Max.
RSpec/ExampleLength:
Enabled: false
# Offense count: 26
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 7