forked from rubocop/rubocop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
94 lines (83 loc) · 2.84 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-12-04 17:34:45 +0800 using RuboCop version 0.60.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: 74
Metrics/AbcSize:
Max: 17
# Offense count: 51
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 181
# Offense count: 218
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 14
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 139
# Offense count: 10
RSpec/AnyInstance:
Exclude:
- 'spec/rubocop/cli_spec.rb'
- 'spec/rubocop/runner_spec.rb'
- 'spec/rubocop/cop/lint/duplicate_methods_spec.rb'
- 'spec/rubocop/target_finder_spec.rb'
# Offense count: 1067
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false
# Offense count: 3297
# Configuration parameters: Max.
RSpec/ExampleLength:
Enabled: false
# Offense count: 41
RSpec/ExpectOutput:
Exclude:
- 'spec/rubocop/cli/cli_auto_gen_config_spec.rb'
- 'spec/rubocop/cli/cli_options_spec.rb'
- 'spec/rubocop/config_spec.rb'
- 'spec/rubocop/cop/cop_spec.rb'
- 'spec/rubocop/formatter/base_formatter_spec.rb'
- 'spec/rubocop/formatter/disabled_config_formatter_spec.rb'
- 'spec/rubocop/formatter/formatter_set_spec.rb'
- 'spec/rubocop/options_spec.rb'
- 'spec/rubocop/rake_task_spec.rb'
- 'spec/rubocop/result_cache_spec.rb'
- 'spec/rubocop/target_finder_spec.rb'
- 'spec/support/cli_spec_behavior.rb'
# Offense count: 38
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/rubocop/cli_spec.rb'
- 'spec/rubocop/runner_spec.rb'
- 'spec/rubocop/config_loader_spec.rb'
- 'spec/rubocop/config_store_spec.rb'
- 'spec/rubocop/cop/commissioner_spec.rb'
- 'spec/rubocop/cop/cop_spec.rb'
- 'spec/rubocop/cop/force_spec.rb'
- 'spec/rubocop/cop/generator_spec.rb'
- 'spec/rubocop/formatter/base_formatter_spec.rb'
- 'spec/rubocop/formatter/colorizable_spec.rb'
- 'spec/rubocop/formatter/formatter_set_spec.rb'
- 'spec/rubocop/formatter/progress_formatter_spec.rb'
- 'spec/rubocop/rake_task_spec.rb'
# Offense count: 526
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 25
# Offense count: 21
RSpec/SubjectStub:
Exclude:
- 'spec/rubocop/config_spec.rb'
- 'spec/rubocop/cop/cop_spec.rb'
- 'spec/rubocop/formatter/base_formatter_spec.rb'
- 'spec/rubocop/formatter/json_formatter_spec.rb'
- 'spec/rubocop/formatter/progress_formatter_spec.rb'