forked from prawnpdf/prawn-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
129 lines (126 loc) · 2.32 KB
/
.rubocop.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
# We need to reference non-ascii characters when testing and explaining
# behavior related to win-1252, UTF-8 and UTF-16 encodings for example.
AsciiComments:
Enabled: false
# We don't always prefer modified if statements even if they do fit on
# a line.
IfUnlessModifier:
Enabled: false
# %w() style arrays don't always look better.
WordArray:
Enabled: false
# This cops are candidates for enabling and doing the related cleanup and/or
# refactoring
Style/BlockDelimiters:
Enabled: false
EnforcedStyle: semantic
Void:
Enabled: false
StringLiterals:
Enabled: false
HashSyntax:
Enabled: false
UselessAssignment:
Enabled: false
Lambda:
Enabled: false
LineLength:
Enabled: false
SpaceBeforeBlockBraces:
Enabled: false
SpaceInsideBrackets:
Enabled: false
FormatString:
Enabled: false
CollectionMethods:
Enabled: false
DotPosition:
Enabled: false
SingleLineBlockParams:
Enabled: false
PercentLiteralDelimiters:
Enabled: false
Documentation:
Enabled: false
RegexpLiteral:
Enabled: false
MethodLength:
Enabled: false
VariableInterpolation:
Enabled: false
AndOr:
Enabled: false
AssignmentInCondition:
Enabled: false
ClassAndModuleChildren:
Enabled: false
NumericLiterals:
Enabled: false
DoubleNegation:
Enabled: false
SelfAssignment:
Enabled: false
ClassLength:
Enabled: false
CaseEquality:
Enabled: false
RedundantSelf:
Enabled: false
BlockNesting:
Enabled: false
NegatedWhile:
Enabled: false
MultilineIfThen:
Enabled: false
ModuleFunction:
Enabled: false
CyclomaticComplexity:
Enabled: false
UnreachableCode:
Enabled: false
AccessorMethodName:
Enabled: false
SpaceAfterControlKeyword:
Enabled: false
PredicateName:
Enabled: false
ConstantName:
Enabled: false
MethodName:
Enabled: false
Alias:
Enabled: false
RedundantReturn:
Enabled: false
WhileUntilModifier:
Enabled: false
StringConversionInInterpolation:
Enabled: false
RedundantBegin:
Enabled: false
PerlBackrefs:
Enabled: false
ClassVars:
Enabled: false
ParameterLists:
Enabled: false
AbcSize:
Enabled: false
PerceivedComplexity:
Enabled: false
UnusedBlockArgument:
Enabled: false
UnusedMethodArgument:
Enabled: false
Next:
Enabled: false
ClassCheck:
Enabled: false
SpaceBeforeComma:
Enabled: false
StringLiteralsInInterpolation:
Enabled: false
GuardClause:
Enabled: false
BlockEndNewline:
Enabled: false