-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy path.rubocop_todo.yml
67 lines (58 loc) · 2.19 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
59
60
61
62
63
64
65
66
67
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-01-22 15:33:31 UTC using RuboCop version 1.70.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
# This cop supports safe autocorrection (--autocorrect).
InternalAffairs/CopEnabled:
Exclude:
- 'lib/rubocop/cop/performance/inefficient_hash_search.rb'
# 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: 3
InternalAffairs/NumblockHandler:
Exclude:
- 'lib/rubocop/cop/performance/compare_with_block.rb'
- 'lib/rubocop/cop/performance/redundant_equality_comparison_block.rb'
- 'lib/rubocop/cop/performance/sum.rb'
# Offense count: 18
InternalAffairs/OnSendWithoutOnCSend:
Enabled: false
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 159
# Offense count: 14
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 14
# Offense count: 38
# Configuration parameters: Prefixes, AllowedPatterns.
# 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: 390
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 24
# Offense count: 314
RSpec/MultipleExpectations:
Max: 3