-
Notifications
You must be signed in to change notification settings - Fork 162
/
.rubocop_todo.yml
110 lines (92 loc) · 2.85 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-08-09 15:32:40 UTC using RuboCop version 1.18.4.
# 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
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'statesman.gemspec'
# Offense count: 1
Lint/MissingSuper:
Exclude:
- 'lib/statesman/adapters/active_record_queries.rb'
# Offense count: 5
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 20
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 3
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 14
# Offense count: 11
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 14
# Offense count: 7
RSpec/ExpectInHook:
Exclude:
- 'spec/statesman/adapters/active_record_spec.rb'
- 'spec/statesman/machine_spec.rb'
# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/statesman/exceptions_spec.rb'
# Offense count: 1
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/statesman/config_spec.rb'
# Offense count: 1
RSpec/IteratedExpectation:
Exclude:
- 'spec/statesman/machine_spec.rb'
# Offense count: 1
RSpec/LeakyConstantDeclaration:
Exclude:
- 'spec/statesman/adapters/active_record_queries_spec.rb'
# Offense count: 3
RSpec/LetSetup:
Exclude:
- 'spec/statesman/adapters/active_record_spec.rb'
- 'spec/statesman/adapters/shared_examples.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/statesman/callback_spec.rb'
# Offense count: 14
RSpec/MultipleExpectations:
Max: 3
# Offense count: 49
RSpec/NestedGroups:
Max: 6
# Offense count: 2
RSpec/RepeatedExampleGroupBody:
Exclude:
- 'spec/statesman/exceptions_spec.rb'
# Offense count: 12
RSpec/ScatteredSetup:
Exclude:
- 'spec/statesman/adapters/active_record_spec.rb'
- 'spec/statesman/adapters/shared_examples.rb'
- 'spec/statesman/machine_spec.rb'
# Offense count: 7
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/generators/statesman/active_record_transition_generator_spec.rb'
- 'spec/generators/statesman/migration_generator_spec.rb'
- 'spec/statesman/adapters/active_record_spec.rb'
- 'spec/statesman/adapters/shared_examples.rb'