WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 3 files changed +110
-4
lines changed
Expand file tree Collapse file tree 3 files changed +110
-4
lines changed Original file line number Diff line number Diff line change 1+ Style/ArrayLiteralSyntax :
2+ Enabled : false
3+
4+ Style/GuardClause :
5+ Enabled : false
6+
7+ Style/HashLiteralSyntax :
8+ Enabled : false
9+
10+ Style/HeredocEscape :
11+ Enabled : true
12+
13+ Style/HeredocIndent :
14+ Enabled : true
15+ IndentBy : 0
16+
17+ Style/IsAFilter :
18+ Enabled : false
19+ FilterNames :
20+ - select
21+ - reject
22+ - any?
23+ - all?
24+ - none?
25+ - one?
26+
27+ Style/IsANil :
28+ Enabled : true
29+
30+ Style/LargeNumbers :
31+ Enabled : true
32+ IntMinDigits : 5
33+
34+ Style/MultilineCurlyBlock :
35+ Enabled : false
36+
37+ Style/MultilineStringLiteral :
38+ Enabled : false
39+ AllowBackslashSplitStrings : false
40+
41+ Style/NegatedConditionsInUnless :
42+ Enabled : true
43+
44+ Style/ParenthesesAroundCondition :
45+ Enabled : true
46+ ExcludeTernary : true
47+ ExcludeMultiline : true
48+ AllowSafeAssignment : true
49+
50+ Style/PercentLiteralDelimiters :
51+ Enabled : true
52+ DefaultDelimiters : " ()"
53+ PreferredDelimiters :
54+ " %w " : " []"
55+ " %W " : " []"
56+ " %i " : " []"
57+ " %I " : " []"
58+ " %r " : " {}"
59+ " %x " : " ()"
60+ IgnoreLiteralsContainingDelimiters : false
61+
62+ Style/RedundantBegin :
63+ Enabled : true
64+
65+ Style/RedundantNext :
66+ Enabled : true
67+ AllowMultiNext : false
68+ AllowEmptyNext : true
69+
70+ Style/RedundantNilInControlExpression :
71+ Enabled : false
72+
73+ Style/RedundantReturn :
74+ Enabled : false
75+
76+ Style/RedundantSelf :
77+ Enabled : false
78+ AllowedMethodNames :
79+ - in?
80+ - inspect
81+ - not_nil!
82+
83+ Style/UnlessElse :
84+ Enabled : true
85+
86+ Style/VerboseBlock :
87+ Enabled : false
88+ ExcludeMultipleLineBlocks : true
89+ ExcludeCallsWithBlock : true
90+ ExcludePrefixOperators : true
91+ ExcludeOperators : true
92+ ExcludeSetters : false
93+ MaxLineLength : ~
94+ MaxLength : ~
95+
96+ Style/WhileTrue :
97+ Enabled : false
98+
99+ Lint/UnusedArgument :
100+ Enabled : false
101+
102+ Naming/BlockParameterName :
103+ Enabled : false
104+
105+ Metrics/CyclomaticComplexity :
106+ Enabled : false
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ describe Choose do
44 # TODO: Write tests
55
66 it " works" do
7- false .should eq( false )
7+ false .should be_false
88 end
99end
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ module Choose
99 @@fullname : String ?
1010
1111 def self.banner
12- str = <<-EOF
12+ str = %(
1313 choose - A wise license generator
14-
14+
1515 Usage:
1616 choose <command> license [output] [--options]
1717
@@ -27,7 +27,7 @@ module Choose
2727 need license Show the copyright placeholder
2828
2929 Options:
30- EOF
30+ )
3131
3232 str
3333 end
You can’t perform that action at this time.
0 commit comments