-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
.rubocop_todo.yml
63 lines (55 loc) · 2.12 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-12-13 20:34:48 UTC using RuboCop version 1.69.2.
# 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: 4
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 159
# Offense count: 13
# 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: 388
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 24
# Offense count: 312
RSpec/MultipleExpectations:
Max: 3