Commit f50082a
committed
Enable cops in the Layout Department
Those cops don't change how you can express yourself in Ruby,
but help you to format your code automatically.
- [Layout/AccessModifierIndentation](https://docs.rubocop.org/rubocop/cops_layout.html#layoutaccessmodifierindentation)
- [Layout/ArgumentAlignment](https://docs.rubocop.org/rubocop/cops_layout.html#layoutargumentalignment)
- [Layout/ClosingParenthesisIndentation](https://docs.rubocop.org/rubocop/cops_layout.html#layoutclosingparenthesisindentation)
- [Layout/CommentIndentation](https://docs.rubocop.org/rubocop/cops_layout.html#layoutcommentindentation)
- [Layout/ConditionPosition](https://docs.rubocop.org/rubocop/cops_layout.html#layoutconditionposition)
- [Layout/DefEndAlignment](https://docs.rubocop.org/rubocop/cops_layout.html#layoutdefendalignment)
- [Layout/DotPosition](https://docs.rubocop.org/rubocop/cops_layout.html#layoutdotposition)
- [Layout/ElseAlignment](https://docs.rubocop.org/rubocop/cops_layout.html#layoutelsealignment)
- [Layout/EmptyLineAfterMagicComment](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylineaftermagiccomment)
- [Layout/EmptyLineBetweenDefs](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinebetweendefs)
- [Layout/EmptyLinesAroundAccessModifier](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundaccessmodifier)
- [Layout/EmptyLinesAroundArguments](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundarguments)
- [Layout/EmptyLinesAroundAttributeAccessor](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundattributeaccessor)
- [Layout/EmptyLinesAroundBlockBody](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundblockbody)
- [Layout/EmptyLinesAroundClassBody](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundclassbody)
- [Layout/EmptyLinesAroundExceptionHandlingKeywords](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundexceptionhandlingkeywords)
- [Layout/EmptyLinesAroundMethodBody](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundmethodbody)
- [Layout/EmptyLinesAroundModuleBody](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundmodulebody)
- [Layout/EndOfLine](https://docs.rubocop.org/rubocop/cops_layout.html#layoutendofline)
- [Layout/IndentationConsistency](https://docs.rubocop.org/rubocop/cops_layout.html#layoutindentationconsistency)
- [Layout/IndentationStyle](https://docs.rubocop.org/rubocop/cops_layout.html#layoutindentationstyle)
- [Layout/InitialIndentation](https://docs.rubocop.org/rubocop/cops_layout.html#layoutinitialindentation)
- [Layout/LeadingCommentSpace](https://docs.rubocop.org/rubocop/cops_layout.html#layoutleadingcommentspace)
- [Layout/LeadingEmptyLines](https://docs.rubocop.org/rubocop/cops_layout.html#layoutleadingemptylines)
- [Layout/LineContinuationLeadingSpace](https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationleadingspace)
- [Layout/LineContinuationSpacing](https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationspacing)
- [Layout/SpaceAfterColon](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceaftercolon)
- [Layout/SpaceAfterComma](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceaftercomma)
- [Layout/SpaceAfterMethodName](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceaftermethodname)
- [Layout/SpaceAfterNot](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceafternot)
- [Layout/SpaceAfterSemicolon](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceaftersemicolon)
- [Layout/SpaceAroundBlockParameters](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacearoundblockparameters)
- [Layout/SpaceAroundEqualsInParameterDefault](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacearoundequalsinparameterdefault)
- [Layout/SpaceAroundKeyword](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacearoundkeyword)
- [Layout/SpaceAroundMethodCallOperator](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacearoundmethodcalloperator)
- [Layout/SpaceAroundOperators](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacearoundoperators)
- [Layout/SpaceBeforeBlockBraces](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforeblockbraces)
- [Layout/SpaceBeforeBrackets](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets)
- [Layout/SpaceBeforeComma](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforecomma)
- [Layout/SpaceBeforeComment](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforecomment)
- [Layout/SpaceBeforeFirstArg](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforefirstarg)
- [Layout/SpaceBeforeSemicolon](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforesemicolon)
- [Layout/SpaceInLambdaLiteral](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinlambdaliteral)
- [Layout/SpaceInsideArrayLiteralBrackets](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidearrayliteralbrackets)
- [Layout/SpaceInsideArrayPercentLiteral](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidearraypercentliteral)
- [Layout/SpaceInsideArrayPercentLiteral](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidearraypercentliteral)
- [Layout/SpaceInsideBlockBraces](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsideblockbraces)
- [Layout/SpaceInsideHashLiteralBraces](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidehashliteralbraces)
- [Layout/SpaceInsideParens](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsideparens)
- [Layout/SpaceInsidePercentLiteralDelimiters](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidepercentliteraldelimiters)
- [Layout/SpaceInsideRangeLiteral](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsiderangeliteral)
- [Layout/SpaceInsideReferenceBrackets](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidereferencebrackets)
- [Layout/SpaceInsideStringInterpolation](https://docs.rubocop.org/rubocop/cops_layout.html#layoutspaceinsidestringinterpolation)
- [Layout/TrailingEmptyLines](https://docs.rubocop.org/rubocop/cops_layout.html#layouttrailingemptylines)
- [Layout/TrailingWhitespace](https://docs.rubocop.org/rubocop/cops_layout.html#layouttrailingwhitespace)1 parent d264927 commit f50082a
2 files changed
+60
-220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 44 | | |
48 | | - | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
| |||
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 69 | | |
92 | 70 | | |
93 | 71 | | |
94 | 72 | | |
95 | 73 | | |
96 | 74 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 75 | | |
104 | 76 | | |
105 | 77 | | |
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 | 78 | | |
134 | 79 | | |
135 | 80 | | |
136 | 81 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 82 | | |
141 | 83 | | |
142 | 84 | | |
| |||
168 | 110 | | |
169 | 111 | | |
170 | 112 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 113 | | |
190 | | - | |
| 114 | + | |
191 | 115 | | |
192 | 116 | | |
193 | | - | |
| 117 | + | |
194 | 118 | | |
195 | 119 | | |
196 | 120 | | |
| |||
208 | 132 | | |
209 | 133 | | |
210 | 134 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | 135 | | |
215 | 136 | | |
216 | 137 | | |
| |||
236 | 157 | | |
237 | 158 | | |
238 | 159 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 160 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 161 | + | |
322 | 162 | | |
323 | 163 | | |
324 | 164 | | |
| |||
0 commit comments