File tree 2 files changed +92
-1
lines changed
2 files changed +92
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This is the configuration used to check the rubocop source code.
2
+
3
+ # require: rbocop/cop/internal_affairs
4
+
5
+ AllCops :
6
+ # Include common Ruby source files.
7
+ Exclude :
8
+ - ' spec/**/*'
9
+ - ' zero-params_processor.gemspec'
10
+ - ' Gemfile'
11
+ - ' bin/**/*'
12
+ DisplayCopNames : true
13
+ TargetRubyVersion : 2.4
14
+ TargetRailsVersion : 5.1
15
+
16
+ Style/FrozenStringLiteralComment :
17
+ Enabled : false
18
+
19
+ Metrics/LineLength :
20
+ Max : 1200
21
+
22
+ Metrics/ClassLength :
23
+ Max : 1200
24
+
25
+ Metrics/MethodLength :
26
+ Max : 1200
27
+
28
+ Metrics/ModuleLength :
29
+ Max : 1200
30
+
31
+ Metrics/BlockLength :
32
+ Max : 1200
33
+
34
+ Style/Documentation :
35
+ Enabled : false
36
+
37
+ Layout/SpaceInsideBrackets :
38
+ Enabled : false
39
+
40
+ Layout/SpaceInsideHashLiteralBraces :
41
+ Enabled : false
42
+
43
+ Layout/SpaceInsidePercentLiteralDelimiters :
44
+ Enabled : false
45
+
46
+ Style/AsciiComments :
47
+ Enabled : false
48
+
49
+ Layout/IndentHash :
50
+ Enabled : false
51
+
52
+ Layout/AlignHash :
53
+ Enabled : false
54
+
55
+ Style/HashSyntax :
56
+ Enabled : false
57
+
58
+ Style/ClassAndModuleChildren :
59
+ Enabled : false
60
+
61
+ Layout/EmptyLines :
62
+ Enabled : false
63
+
64
+ Lint/UnneededSplatExpansion :
65
+ Enabled : false
66
+
67
+ # Style/StringLiterals:
68
+ # Enabled: true
69
+ # EnforcedStyle: double_quotes
70
+
71
+
72
+
73
+
74
+ Style/UnneededPercentQ :
75
+ Enabled : false
76
+
77
+ Style/RedundantSelf :
78
+ Enabled : false
79
+
80
+ Metrics/CyclomaticComplexity :
81
+ Enabled : false
82
+
83
+ Metrics/AbcSize :
84
+ Enabled : false
85
+
86
+ Metrics/PerceivedComplexity :
87
+ Enabled : false
88
+
89
+ # False positives
90
+ Layout/EmptyLineBetweenDefs :
91
+ Enabled : false
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def reducx(*values)
22
22
end
23
23
24
24
def to_processed ( who )
25
- return processed if truly_present? ( @assign )
25
+ return processed unless truly_present? ( @assign )
26
26
27
27
if who . is_a? ( Symbol )
28
28
send ( "#{ who } =" , @assign )
You can’t perform that action at this time.
0 commit comments