-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.rubocop_todo.yml
147 lines (130 loc) · 4.81 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-05-18 03:32:08 UTC using RuboCop version 1.29.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: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'normalizy.gemspec'
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Lint/AmbiguousBlockAssociation:
Exclude:
- 'lib/normalizy/extensions.rb'
# Offense count: 1
# This cop supports unsafe auto-correction (--auto-correct-all).
Lint/NonDeterministicRequireOrder:
Exclude:
- 'lib/normalizy/filters.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/normalizy/extensions.rb'
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 10
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 11
# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/normalizy/config.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'spec/support/db/schema.rb'
# Offense count: 24
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: be, be_nil
RSpec/BeNil:
Exclude:
- 'spec/normalizy/filters/date_spec.rb'
- 'spec/normalizy/filters/money_spec.rb'
- 'spec/normalizy/filters/number_spec.rb'
- 'spec/normalizy/filters/percent_spec.rb'
- 'spec/normalizy/filters/slug_spec.rb'
- 'spec/normalizy/filters/strip_spec.rb'
# Offense count: 1
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Exclude:
- 'spec/normalizy/extensions/model_spec.rb'
# Offense count: 10
RSpec/DescribeMethod:
Exclude:
- 'spec/normalizy/config/default_filters_spec.rb'
- 'spec/normalizy/config/initialize_spec.rb'
- 'spec/normalizy/config/normalizy_aliases_spec.rb'
- 'spec/normalizy/extensions/filters/date_spec.rb'
- 'spec/normalizy/extensions/filters/money_spec.rb'
- 'spec/normalizy/extensions/filters/number_spec.rb'
- 'spec/normalizy/extensions/filters/percent_spec.rb'
- 'spec/normalizy/extensions/filters/slug_spec.rb'
- 'spec/normalizy/extensions/filters/strip_spec.rb'
- 'spec/normalizy/extensions/normalizy_rules_spec.rb'
# Offense count: 344
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec/normalizy/config/default_filters_spec.rb'
- 'spec/normalizy/config/initialize_spec.rb'
- 'spec/normalizy/config/normalizy_aliases_spec.rb'
- 'spec/normalizy/filters/date_spec.rb'
- 'spec/normalizy/filters/money_spec.rb'
- 'spec/normalizy/filters/number_spec.rb'
- 'spec/normalizy/filters/percent_spec.rb'
- 'spec/normalizy/filters/slug_spec.rb'
- 'spec/normalizy/filters/strip_spec.rb'
- 'spec/normalizy/filters/truncate_spec.rb'
# Offense count: 10
# This cop supports safe auto-correction (--auto-correct).
Rails/ApplicationRecord:
Exclude:
- 'spec/support/models/alias.rb'
- 'spec/support/models/match.rb'
- 'spec/support/models/model.rb'
- 'spec/support/models/model_date.rb'
- 'spec/support/models/model_money.rb'
- 'spec/support/models/model_number.rb'
- 'spec/support/models/model_percent.rb'
- 'spec/support/models/model_slug.rb'
- 'spec/support/models/model_strip.rb'
- 'spec/support/models/rule.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
Rails/Pluck:
Exclude:
- 'lib/normalizy/rspec/matcher.rb'
# Offense count: 6
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Exclude:
- 'spec/normalizy/extensions/filters/date_spec.rb'
- 'spec/normalizy/filters/date_spec.rb'
# Offense count: 2
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, IgnoredMethods.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
EnforcedStyle: template
# Offense count: 2
Style/OpenStructUse:
Exclude:
- 'spec/normalizy/filters/date_spec.rb'