-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop_todo.yml
151 lines (132 loc) · 4.59 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-10-19 16:15:18 +0200 using RuboCop version 0.49.1.
# 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: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, SupportedHashRocketStyles, EnforcedColonStyle, SupportedColonStyles, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/AlignHash:
Exclude:
- 'spec/dry/mutations/command_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
Exclude:
- 'Rakefile'
- 'dry-mutations.gemspec'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Exclude:
- 'dry-mutations.gemspec'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Layout/FirstParameterIndentation:
Exclude:
- 'spec/dry/mutations/command_spec.rb'
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
Exclude:
- 'spec/dry/mutations_spec.rb'
# Offense count: 1
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/dry/mutations_spec.rb'
# Offense count: 1
Lint/Debugger:
Exclude:
- 'spec/dry/mutations/mixed_spec.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/dry/mutations/transactions.rb'
- 'lib/dry/mutations/transactions/dsl.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
Exclude:
- 'spec/dry/mutations_spec.rb'
# Offense count: 1
Style/ClassVars:
Exclude:
- 'lib/dry/mutations/schema.rb'
# Offense count: 3
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/dry/mutations/extensions/error_hash.rb'
- 'lib/dry/mutations/schema.rb'
- 'lib/dry/mutations/transactions/wrapper.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
Exclude:
- 'lib/dry/mutations/transactions/wrapper.rb'
# Offense count: 1
Style/MethodMissing:
Exclude:
- 'lib/dry/mutations/dsl/weirdo.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/MultilineIfModifier:
Exclude:
- 'lib/dry/mutations/dsl/weirdo.rb'
- 'lib/dry/mutations/predicates.rb'
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Exclude:
- 'spec/dry/mutations/either_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
Exclude:
- 'spec/dry/mutations_spec.rb'
# Offense count: 37
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'lib/dry/mutations/transactions/wrapper.rb'
- 'lib/dry/mutations/utils/procs.rb'
- 'spec/dry/mutations/array_spec.rb'
- 'spec/dry/mutations/command_spec.rb'
- 'spec/dry/mutations/either_spec.rb'
- 'spec/dry/mutations/nested_spec.rb'
- 'spec/dry/mutations/transaction_spec.rb'
- 'spec/dry/mutations/ulises_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinSize, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
Exclude:
- 'spec/dry/mutations/utils_spec.rb'
# Offense count: 3
# Configuration parameters: SupportedStyles.
# SupportedStyles: snake_case, normalcase, non_integer
Style/VariableNumber:
EnforcedStyle: normalcase