Skip to content

Commit c8ef4dd

Browse files
committed
rubocop
1 parent d1b9e4b commit c8ef4dd

File tree

1 file changed

+40
-29
lines changed

1 file changed

+40
-29
lines changed

.rubocop_todo.yml

+40-29
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,67 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2017-05-19 04:21:10 -0300 using RuboCop version 0.48.1.
3+
# on 2017-05-23 20:28:10 -0300 using RuboCop version 0.48.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9+
# Offense count: 1
10+
Lint/AmbiguousBlockAssociation:
11+
Exclude:
12+
- 'lib/normalizy/extensions.rb'
13+
14+
# Offense count: 1
15+
Lint/ShadowingOuterLocalVariable:
16+
Exclude:
17+
- 'lib/normalizy/extensions.rb'
18+
19+
# Offense count: 1
20+
# Cop supports --auto-correct.
21+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
22+
Lint/UnusedMethodArgument:
23+
Exclude:
24+
- 'lib/normalizy/extensions.rb'
25+
926
# Offense count: 2
1027
Lint/UselessAssignment:
1128
Exclude:
1229
- 'spec/normalizy/filters/date_spec.rb'
1330

14-
# Offense count: 27
31+
# Offense count: 19
1532
# Configuration parameters: CountComments, ExcludedMethods.
1633
Metrics/BlockLength:
17-
Max: 200
34+
Max: 152
1835

1936
# Offense count: 1
2037
RSpec/DescribeClass:
2138
Exclude:
22-
- 'spec/normalizy/extensions/apply_normalizy_spec.rb'
39+
- 'spec/normalizy/extensions/model_spec.rb'
2340

24-
# Offense count: 10
41+
# Offense count: 9
2542
RSpec/DescribeMethod:
2643
Exclude:
2744
- 'spec/normalizy/config/default_filters_spec.rb'
2845
- 'spec/normalizy/config/initialize_spec.rb'
2946
- 'spec/normalizy/config/normalizy_aliases_spec.rb'
30-
- 'spec/normalizy/config/normalizy_raws_spec.rb'
3147
- 'spec/normalizy/extensions/filters/date_spec.rb'
3248
- 'spec/normalizy/extensions/filters/money_spec.rb'
3349
- 'spec/normalizy/extensions/filters/number_spec.rb'
3450
- 'spec/normalizy/extensions/filters/percent_spec.rb'
3551
- 'spec/normalizy/extensions/filters/strip_spec.rb'
3652
- 'spec/normalizy/extensions/normalizy_rules_spec.rb'
3753

38-
# Offense count: 6
54+
# Offense count: 10
3955
# Configuration parameters: Max.
4056
RSpec/ExampleLength:
4157
Exclude:
4258
- 'spec/normalizy/config/add_spec.rb'
4359
- 'spec/normalizy/config/initialize_spec.rb'
60+
- 'spec/normalizy/extensions/model_spec.rb'
4461
- 'spec/normalizy/extensions/normalizy_rules_spec.rb'
62+
- 'spec/normalizy/rspec/matcher/matches_spec.rb'
4563

46-
# Offense count: 7
64+
# Offense count: 6
4765
# Configuration parameters: CustomTransform, IgnoreMethods.
4866
RSpec/FilePath:
4967
Exclude:
@@ -53,40 +71,41 @@ RSpec/FilePath:
5371
- 'spec/normalizy/extensions/filters/number_spec.rb'
5472
- 'spec/normalizy/extensions/filters/percent_spec.rb'
5573
- 'spec/normalizy/extensions/filters/strip_spec.rb'
56-
- 'spec/normalizy/rspec/matcher/matchers_spec.rb'
57-
58-
# Offense count: 2
59-
RSpec/LetSetup:
60-
Exclude:
61-
- 'spec/normalizy/rspec/matcher/from_spec.rb'
62-
- 'spec/normalizy/rspec/matcher/to_spec.rb'
6374

6475
# Offense count: 4
6576
RSpec/MultipleExpectations:
6677
Max: 2
6778

68-
# Offense count: 211
79+
# Offense count: 215
6980
RSpec/NamedSubject:
7081
Exclude:
7182
- 'spec/normalizy/config/default_filters_spec.rb'
7283
- 'spec/normalizy/config/initialize_spec.rb'
7384
- 'spec/normalizy/config/normalizy_aliases_spec.rb'
74-
- 'spec/normalizy/config/normalizy_raws_spec.rb'
7585
- 'spec/normalizy/filters/date_spec.rb'
7686
- 'spec/normalizy/filters/money_spec.rb'
7787
- 'spec/normalizy/filters/number_spec.rb'
7888
- 'spec/normalizy/filters/percent_spec.rb'
7989
- 'spec/normalizy/filters/strip_spec.rb'
8090

81-
# Offense count: 51
91+
# Offense count: 13
8292
# Configuration parameters: Max.
8393
RSpec/NestedGroups:
8494
Exclude:
85-
- 'spec/normalizy/extensions/apply_normalizy_spec.rb'
86-
- 'spec/normalizy/extensions/normalizy_rules_spec.rb'
8795
- 'spec/normalizy/filters/money_spec.rb'
8896
- 'spec/normalizy/filters/percent_spec.rb'
89-
- 'spec/normalizy/rspec/matcher/matchers_spec.rb'
97+
98+
# Offense count: 2
99+
RSpec/RepeatedExample:
100+
Exclude:
101+
- 'spec/normalizy/filters/date_spec.rb'
102+
103+
# Offense count: 4
104+
# Configuration parameters: EnforcedStyle, SupportedStyles.
105+
# SupportedStyles: strict, flexible
106+
Rails/TimeZone:
107+
Exclude:
108+
- 'spec/normalizy/filters/date_spec.rb'
90109

91110
# Offense count: 2
92111
# Configuration parameters: EnforcedStyle, SupportedStyles.
@@ -95,11 +114,3 @@ Style/FormatString:
95114
Exclude:
96115
- 'lib/normalizy/filters/money.rb'
97116
- 'lib/normalizy/filters/percent.rb'
98-
99-
# Offense count: 1
100-
# Cop supports --auto-correct.
101-
# Configuration parameters: EnforcedStyle, SupportedStyles.
102-
# SupportedStyles: line_count_dependent, lambda, literal
103-
Style/Lambda:
104-
Exclude:
105-
- 'lib/normalizy/extensions.rb'

0 commit comments

Comments
 (0)