-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop_disabled.yml
153 lines (109 loc) · 3.04 KB
/
.rubocop_disabled.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
148
149
150
151
152
153
# These are all the cops that are disabled in the default configuration.
Style/Lambda:
Description: "Use the new lambda literal syntax for single-line blocks."
Enabled: false
Style/StabbyLambdaParentheses:
Enabled: false
Style/InlineComment:
Description: "Avoid inline comments."
Enabled: false
Style/MethodCalledOnDoEndBlock:
Description: "Avoid chaining a method call on a do...end block."
Enabled: false
Style/SymbolArray:
Description: "Use %i or %I for arrays of symbols."
Enabled: false
Style/Documentation:
Description: "Document classes and non-namespace modules."
Enabled: false
Layout/EmptyLinesAroundAccessModifier:
Description: "Keep blank lines around access modifiers."
Enabled: false
Style/EmptyLiteral:
Description: "Prefer literals to Array.new/Hash.new/String.new."
Enabled: false
Style/ClassAndModuleChildren:
Description: "Checks style of children classes and modules."
Enabled: false
Metrics/ClassLength:
Description: "Avoid classes longer than 100 lines of code."
Enabled: false
Metrics/MethodLength:
Description: "Avoid methods longer than 10 lines of code."
Enabled: false
Metrics/ParameterLists:
Description: "Avoid parameter lists longer than three or four parameters."
Enabled: false
Metrics/CyclomaticComplexity:
Description: "Avoid complex methods."
Enabled: false
Layout/AlignArray:
Description: >-
Align the elements of an array literal if they span more than
one line.
Enabled: false
Style/UnneededPercentQ:
Description: "Checks for %q/%Q when single quotes or double quotes would do."
Enabled: false
Style/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: false
Style/MutableConstant:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/RedundantParentheses:
Enabled: false
Style/EmptyCaseCondition:
Enabled: false
Style/EmptyMethod:
Enabled: false
Style/FormatStringToken:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/MultilineArrayBraceLayout:
Enabled: false
Layout/IndentArray:
Enabled: false
Layout/MultilineHashBraceLayout:
Enabled: false
Style/NestedParenthesizedCalls:
Enabled: false
Style/Alias:
Enabled: false
Style/MultilineIfModifier:
Enabled: false
Lint/AmbiguousBlockAssociation:
Enabled: false
Performance/StringReplacement:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/NumericPredicate:
Enabled: false
Layout/SpaceInLambdaLiteral:
Enabled: false
Layout/SpaceInsideBlockBraces:
Enabled: false
Lint/UselessAccessModifier:
Enabled: false
Performance/RedundantBlockCall:
Enabled: false
Style/NumericLiteralPrefix:
Enabled: false
Style/Encoding:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Rails/Blank:
Enabled: false
Rails/Delegate:
Enabled: false
Rails/OutputSafety:
Enabled: false
#################### Lint ################################
### Warnings
Lint/AssignmentInCondition:
Description: "Don't use assignment in conditions."
Enabled: false