jekyll 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +350 -347
- data/LICENSE +21 -21
- data/README.markdown +86 -86
- data/exe/jekyll +57 -57
- data/lib/blank_template/_config.yml +3 -3
- data/lib/blank_template/_layouts/default.html +12 -12
- data/lib/blank_template/_sass/main.scss +9 -9
- data/lib/blank_template/assets/css/main.scss +4 -4
- data/lib/blank_template/index.md +8 -8
- data/lib/jekyll/cache.rb +190 -190
- data/lib/jekyll/cleaner.rb +111 -111
- data/lib/jekyll/collection.rb +309 -309
- data/lib/jekyll/command.rb +105 -105
- data/lib/jekyll/commands/build.rb +93 -93
- data/lib/jekyll/commands/clean.rb +45 -45
- data/lib/jekyll/commands/doctor.rb +177 -177
- data/lib/jekyll/commands/help.rb +34 -34
- data/lib/jekyll/commands/new.rb +169 -169
- data/lib/jekyll/commands/new_theme.rb +40 -40
- data/lib/jekyll/commands/serve/live_reload_reactor.rb +122 -122
- data/lib/jekyll/commands/serve/livereload_assets/livereload.js +1183 -1183
- data/lib/jekyll/commands/serve/servlet.rb +202 -202
- data/lib/jekyll/commands/serve/websockets.rb +81 -81
- data/lib/jekyll/commands/serve.rb +362 -365
- data/lib/jekyll/configuration.rb +313 -313
- data/lib/jekyll/converter.rb +54 -54
- data/lib/jekyll/converters/identity.rb +41 -41
- data/lib/jekyll/converters/markdown/kramdown_parser.rb +199 -199
- data/lib/jekyll/converters/markdown.rb +113 -113
- data/lib/jekyll/converters/smartypants.rb +70 -70
- data/lib/jekyll/convertible.rb +257 -260
- data/lib/jekyll/deprecator.rb +50 -50
- data/lib/jekyll/document.rb +544 -544
- data/lib/jekyll/drops/collection_drop.rb +20 -20
- data/lib/jekyll/drops/document_drop.rb +70 -70
- data/lib/jekyll/drops/drop.rb +293 -293
- data/lib/jekyll/drops/excerpt_drop.rb +19 -19
- data/lib/jekyll/drops/jekyll_drop.rb +32 -32
- data/lib/jekyll/drops/site_drop.rb +66 -66
- data/lib/jekyll/drops/static_file_drop.rb +14 -14
- data/lib/jekyll/drops/unified_payload_drop.rb +26 -26
- data/lib/jekyll/drops/url_drop.rb +140 -140
- data/lib/jekyll/entry_filter.rb +121 -121
- data/lib/jekyll/errors.rb +20 -20
- data/lib/jekyll/excerpt.rb +201 -201
- data/lib/jekyll/external.rb +79 -79
- data/lib/jekyll/filters/date_filters.rb +110 -110
- data/lib/jekyll/filters/grouping_filters.rb +64 -64
- data/lib/jekyll/filters/url_filters.rb +98 -98
- data/lib/jekyll/filters.rb +535 -535
- data/lib/jekyll/frontmatter_defaults.rb +240 -240
- data/lib/jekyll/generator.rb +5 -5
- data/lib/jekyll/hooks.rb +107 -107
- data/lib/jekyll/inclusion.rb +32 -32
- data/lib/jekyll/layout.rb +67 -67
- data/lib/jekyll/liquid_extensions.rb +22 -22
- data/lib/jekyll/liquid_renderer/file.rb +77 -77
- data/lib/jekyll/liquid_renderer/table.rb +55 -55
- data/lib/jekyll/liquid_renderer.rb +80 -80
- data/lib/jekyll/log_adapter.rb +151 -151
- data/lib/jekyll/mime.types +866 -866
- data/lib/jekyll/page.rb +217 -217
- data/lib/jekyll/page_excerpt.rb +25 -25
- data/lib/jekyll/page_without_a_file.rb +14 -14
- data/lib/jekyll/path_manager.rb +74 -74
- data/lib/jekyll/plugin.rb +92 -92
- data/lib/jekyll/plugin_manager.rb +115 -115
- data/lib/jekyll/profiler.rb +58 -58
- data/lib/jekyll/publisher.rb +23 -23
- data/lib/jekyll/reader.rb +192 -192
- data/lib/jekyll/readers/collection_reader.rb +23 -23
- data/lib/jekyll/readers/data_reader.rb +79 -79
- data/lib/jekyll/readers/layout_reader.rb +62 -62
- data/lib/jekyll/readers/page_reader.rb +25 -25
- data/lib/jekyll/readers/post_reader.rb +85 -85
- data/lib/jekyll/readers/static_file_reader.rb +25 -25
- data/lib/jekyll/readers/theme_assets_reader.rb +52 -52
- data/lib/jekyll/regenerator.rb +195 -195
- data/lib/jekyll/related_posts.rb +52 -52
- data/lib/jekyll/renderer.rb +265 -265
- data/lib/jekyll/site.rb +551 -551
- data/lib/jekyll/static_file.rb +208 -208
- data/lib/jekyll/stevenson.rb +60 -60
- data/lib/jekyll/tags/highlight.rb +110 -110
- data/lib/jekyll/tags/include.rb +275 -270
- data/lib/jekyll/tags/link.rb +42 -42
- data/lib/jekyll/tags/post_url.rb +106 -106
- data/lib/jekyll/theme.rb +86 -86
- data/lib/jekyll/theme_builder.rb +121 -121
- data/lib/jekyll/url.rb +167 -167
- data/lib/jekyll/utils/ansi.rb +57 -57
- data/lib/jekyll/utils/exec.rb +26 -26
- data/lib/jekyll/utils/internet.rb +37 -37
- data/lib/jekyll/utils/platforms.rb +67 -67
- data/lib/jekyll/utils/thread_event.rb +31 -31
- data/lib/jekyll/utils/win_tz.rb +75 -75
- data/lib/jekyll/utils.rb +367 -367
- data/lib/jekyll/version.rb +5 -5
- data/lib/jekyll.rb +195 -195
- data/lib/site_template/.gitignore +5 -5
- data/lib/site_template/404.html +25 -25
- data/lib/site_template/_config.yml +55 -55
- data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +29 -29
- data/lib/site_template/about.markdown +18 -18
- data/lib/site_template/index.markdown +6 -6
- data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -74
- data/lib/theme_template/Gemfile +4 -4
- data/lib/theme_template/LICENSE.txt.erb +21 -21
- data/lib/theme_template/README.md.erb +52 -52
- data/lib/theme_template/_layouts/default.html +1 -1
- data/lib/theme_template/_layouts/page.html +5 -5
- data/lib/theme_template/_layouts/post.html +5 -5
- data/lib/theme_template/example/_config.yml.erb +1 -1
- data/lib/theme_template/example/_post.md +12 -12
- data/lib/theme_template/example/index.html +14 -14
- data/lib/theme_template/example/style.scss +7 -7
- data/lib/theme_template/gitignore.erb +6 -6
- data/lib/theme_template/theme.gemspec.erb +16 -16
- data/rubocop/jekyll/assert_equal_literal_actual.rb +149 -149
- data/rubocop/jekyll/no_p_allowed.rb +23 -23
- data/rubocop/jekyll/no_puts_allowed.rb +23 -23
- data/rubocop/jekyll.rb +5 -5
- metadata +3 -3
data/.rubocop.yml
CHANGED
@@ -1,347 +1,350 @@
|
|
1
|
-
---
|
2
|
-
inherit_from: .rubocop_todo.yml
|
3
|
-
|
4
|
-
require:
|
5
|
-
- rubocop-performance
|
6
|
-
- ./rubocop/jekyll
|
7
|
-
|
8
|
-
Jekyll/NoPutsAllowed:
|
9
|
-
Exclude:
|
10
|
-
- rake/*.rake
|
11
|
-
|
12
|
-
AllCops:
|
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
|
-
- !ruby/regexp /
|
142
|
-
-
|
143
|
-
- lib/jekyll/
|
144
|
-
- lib/jekyll/
|
145
|
-
- lib/jekyll/
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
- lib/jekyll/
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
- lib/jekyll/
|
174
|
-
- lib/jekyll/drops/
|
175
|
-
- lib/jekyll/
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
- !ruby/regexp /
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
- lib/jekyll/
|
258
|
-
- lib/jekyll/
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
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
|
-
|
322
|
-
|
323
|
-
Style/
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
1
|
+
---
|
2
|
+
inherit_from: .rubocop_todo.yml
|
3
|
+
|
4
|
+
require:
|
5
|
+
- rubocop-performance
|
6
|
+
- ./rubocop/jekyll
|
7
|
+
|
8
|
+
Jekyll/NoPutsAllowed:
|
9
|
+
Exclude:
|
10
|
+
- rake/*.rake
|
11
|
+
|
12
|
+
AllCops:
|
13
|
+
SuggestExtensions: false
|
14
|
+
TargetRubyVersion: 2.4
|
15
|
+
Include:
|
16
|
+
- lib/**/*.rb
|
17
|
+
- test/**/*.rb
|
18
|
+
Exclude:
|
19
|
+
- bin/**/*
|
20
|
+
- exe/**/*
|
21
|
+
- benchmark/**/*
|
22
|
+
- script/**/*
|
23
|
+
- vendor/**/*
|
24
|
+
- tmp/**/*
|
25
|
+
|
26
|
+
Layout/BeginEndAlignment:
|
27
|
+
Enabled: true
|
28
|
+
Layout/EmptyComment:
|
29
|
+
Enabled: false
|
30
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
31
|
+
Enabled: true
|
32
|
+
Layout/EndAlignment:
|
33
|
+
Severity: error
|
34
|
+
Layout/HashAlignment:
|
35
|
+
EnforcedHashRocketStyle: table
|
36
|
+
Layout/IndentationWidth:
|
37
|
+
Severity: error
|
38
|
+
Layout/FirstArrayElementIndentation:
|
39
|
+
EnforcedStyle: consistent
|
40
|
+
Layout/FirstHashElementIndentation:
|
41
|
+
EnforcedStyle: consistent
|
42
|
+
Layout/LineLength:
|
43
|
+
Exclude:
|
44
|
+
- !ruby/regexp /features\/.*.rb/
|
45
|
+
- Rakefile
|
46
|
+
- rake/*.rake
|
47
|
+
- Gemfile
|
48
|
+
Max: 100
|
49
|
+
Severity: warning
|
50
|
+
Layout/MultilineMethodCallIndentation:
|
51
|
+
EnforcedStyle: indented
|
52
|
+
Layout/MultilineOperationIndentation:
|
53
|
+
EnforcedStyle: indented
|
54
|
+
Layout/SpaceAroundMethodCallOperator:
|
55
|
+
Enabled: true
|
56
|
+
Layout/SpaceInsideHashLiteralBraces:
|
57
|
+
Enabled: true
|
58
|
+
Exclude:
|
59
|
+
- test/**/*.rb
|
60
|
+
|
61
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
62
|
+
Enabled: true
|
63
|
+
Lint/ConstantDefinitionInBlock:
|
64
|
+
Enabled: true
|
65
|
+
Exclude:
|
66
|
+
- test/**/*.rb
|
67
|
+
Lint/DeprecatedOpenSSLConstant:
|
68
|
+
Enabled: true
|
69
|
+
Lint/DuplicateBranch:
|
70
|
+
Enabled: true
|
71
|
+
Lint/DuplicateElsifCondition:
|
72
|
+
Enabled: true
|
73
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
74
|
+
Enabled: true
|
75
|
+
Lint/DuplicateRescueException:
|
76
|
+
Enabled: true
|
77
|
+
Lint/DuplicateRequire:
|
78
|
+
Enabled: true
|
79
|
+
Lint/EmptyBlock:
|
80
|
+
Enabled: true
|
81
|
+
Lint/EmptyClass:
|
82
|
+
Enabled: true
|
83
|
+
Lint/EmptyConditionalBody:
|
84
|
+
Enabled: true
|
85
|
+
Lint/EmptyFile:
|
86
|
+
Enabled: true
|
87
|
+
Lint/FloatComparison:
|
88
|
+
Enabled: true
|
89
|
+
Lint/HashCompareByIdentity:
|
90
|
+
Enabled: true
|
91
|
+
Lint/IdentityComparison:
|
92
|
+
Enabled: true
|
93
|
+
Lint/MissingSuper:
|
94
|
+
Enabled: false
|
95
|
+
Lint/MixedRegexpCaptureTypes:
|
96
|
+
Enabled: false
|
97
|
+
Lint/NestedPercentLiteral:
|
98
|
+
Exclude:
|
99
|
+
- test/test_site.rb
|
100
|
+
Lint/NoReturnInBeginEndBlocks:
|
101
|
+
Enabled: true
|
102
|
+
Lint/OutOfRangeRegexpRef:
|
103
|
+
Enabled: true
|
104
|
+
Lint/RaiseException:
|
105
|
+
Enabled: true
|
106
|
+
Lint/RedundantSafeNavigation:
|
107
|
+
Enabled: true
|
108
|
+
Lint/SelfAssignment:
|
109
|
+
Enabled: true
|
110
|
+
Lint/StructNewOverride:
|
111
|
+
Enabled: true
|
112
|
+
Lint/ToEnumArguments:
|
113
|
+
Enabled: false
|
114
|
+
Lint/TopLevelReturnWithArgument:
|
115
|
+
Enabled: true
|
116
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
117
|
+
Enabled: true
|
118
|
+
Lint/UnmodifiedReduceAccumulator:
|
119
|
+
Enabled: true
|
120
|
+
Lint/UnreachableCode:
|
121
|
+
Severity: error
|
122
|
+
Lint/UnreachableLoop:
|
123
|
+
Enabled: true
|
124
|
+
Lint/UselessMethodDefinition:
|
125
|
+
Enabled: true
|
126
|
+
Lint/UselessTimes:
|
127
|
+
Enabled: true
|
128
|
+
Lint/Void:
|
129
|
+
Exclude:
|
130
|
+
- lib/jekyll/site.rb
|
131
|
+
|
132
|
+
Metrics/AbcSize:
|
133
|
+
Max: 23
|
134
|
+
Metrics/BlockLength:
|
135
|
+
Exclude:
|
136
|
+
- test/**/*.rb
|
137
|
+
- lib/jekyll/configuration.rb
|
138
|
+
- rake/*.rake
|
139
|
+
Metrics/ClassLength:
|
140
|
+
Exclude:
|
141
|
+
- !ruby/regexp /features\/.*.rb$/
|
142
|
+
- !ruby/regexp /test\/.*.rb$/
|
143
|
+
- lib/jekyll/document.rb
|
144
|
+
- lib/jekyll/site.rb
|
145
|
+
- lib/jekyll/commands/serve.rb
|
146
|
+
- lib/jekyll/configuration.rb
|
147
|
+
Max: 240
|
148
|
+
Metrics/CyclomaticComplexity:
|
149
|
+
Exclude:
|
150
|
+
- lib/jekyll/utils.rb
|
151
|
+
- lib/jekyll/commands/serve.rb
|
152
|
+
Max: 11
|
153
|
+
Metrics/MethodLength:
|
154
|
+
CountComments: false
|
155
|
+
Max: 20
|
156
|
+
Severity: error
|
157
|
+
Metrics/ModuleLength:
|
158
|
+
Max: 240
|
159
|
+
Exclude:
|
160
|
+
- lib/jekyll/filters.rb
|
161
|
+
Metrics/ParameterLists:
|
162
|
+
Max: 4
|
163
|
+
Metrics/PerceivedComplexity:
|
164
|
+
Max: 13
|
165
|
+
|
166
|
+
Naming/FileName:
|
167
|
+
Enabled: false
|
168
|
+
Naming/HeredocDelimiterNaming:
|
169
|
+
Exclude:
|
170
|
+
- test/**/*.rb
|
171
|
+
Naming/MemoizedInstanceVariableName:
|
172
|
+
Exclude:
|
173
|
+
- lib/jekyll/convertible.rb
|
174
|
+
- lib/jekyll/drops/site_drop.rb
|
175
|
+
- lib/jekyll/drops/unified_payload_drop.rb
|
176
|
+
- lib/jekyll/page_without_a_file.rb
|
177
|
+
|
178
|
+
Performance/AncestorsInclude:
|
179
|
+
Enabled: false
|
180
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
181
|
+
Enabled: true
|
182
|
+
Performance/BigDecimalWithNumericArgument:
|
183
|
+
Enabled: true
|
184
|
+
Performance/BlockGivenWithExplicitBlock:
|
185
|
+
Enabled: true
|
186
|
+
Performance/ChainArrayAllocation:
|
187
|
+
Enabled: true
|
188
|
+
Performance/CollectionLiteralInLoop:
|
189
|
+
Enabled: true
|
190
|
+
Performance/ConstantRegexp:
|
191
|
+
Enabled: true
|
192
|
+
Performance/MethodObjectAsBlock:
|
193
|
+
Enabled: true
|
194
|
+
Performance/RedundantSortBlock:
|
195
|
+
Enabled: true
|
196
|
+
Performance/RedundantStringChars:
|
197
|
+
Enabled: true
|
198
|
+
Performance/ReverseFirst:
|
199
|
+
Enabled: true
|
200
|
+
Performance/SortReverse:
|
201
|
+
Enabled: false
|
202
|
+
Performance/Squeeze:
|
203
|
+
Enabled: true
|
204
|
+
Performance/StringInclude:
|
205
|
+
Enabled: true
|
206
|
+
Exclude:
|
207
|
+
- lib/jekyll/utils/platforms.rb
|
208
|
+
Performance/Sum:
|
209
|
+
Enabled: true
|
210
|
+
|
211
|
+
Security/MarshalLoad:
|
212
|
+
Exclude:
|
213
|
+
- !ruby/regexp /test\/.*.rb$/
|
214
|
+
- lib/jekyll/regenerator.rb
|
215
|
+
Security/YAMLLoad:
|
216
|
+
Exclude:
|
217
|
+
- !ruby/regexp /features\/.*.rb/
|
218
|
+
- !ruby/regexp /test\/.*.rb$/
|
219
|
+
|
220
|
+
Style/ArgumentsForwarding:
|
221
|
+
Enabled: false
|
222
|
+
Style/ArrayCoercion:
|
223
|
+
Enabled: true
|
224
|
+
Style/AccessModifierDeclarations:
|
225
|
+
Enabled: false
|
226
|
+
Style/AccessorGrouping:
|
227
|
+
Enabled: false
|
228
|
+
Style/Alias:
|
229
|
+
EnforcedStyle: prefer_alias_method
|
230
|
+
Style/AndOr:
|
231
|
+
Severity: error
|
232
|
+
Style/BisectedAttrAccessor:
|
233
|
+
Enabled: true
|
234
|
+
Style/CaseLikeIf:
|
235
|
+
Enabled: true
|
236
|
+
Style/ClassAndModuleChildren:
|
237
|
+
Exclude:
|
238
|
+
- test/**/*.rb
|
239
|
+
Style/ClassEqualityComparison:
|
240
|
+
Enabled: true
|
241
|
+
Style/CollectionCompact:
|
242
|
+
Enabled: true
|
243
|
+
Style/CombinableLoops:
|
244
|
+
Enabled: true
|
245
|
+
Style/Documentation:
|
246
|
+
Enabled: false
|
247
|
+
Style/DocumentDynamicEvalDefinition:
|
248
|
+
Enabled: true
|
249
|
+
Style/DoubleNegation:
|
250
|
+
Enabled: false
|
251
|
+
Style/ExponentialNotation:
|
252
|
+
Enabled: true
|
253
|
+
Style/ExplicitBlockArgument:
|
254
|
+
Enabled: false
|
255
|
+
Style/FormatStringToken:
|
256
|
+
Exclude:
|
257
|
+
- lib/jekyll/utils/ansi.rb
|
258
|
+
- lib/jekyll/liquid_renderer/table.rb
|
259
|
+
- lib/jekyll/profiler.rb
|
260
|
+
Style/FrozenStringLiteralComment:
|
261
|
+
EnforcedStyle: always
|
262
|
+
Style/GlobalStdStream:
|
263
|
+
Enabled: true
|
264
|
+
Style/GuardClause:
|
265
|
+
Enabled: false
|
266
|
+
Style/HashAsLastArrayItem:
|
267
|
+
Enabled: true
|
268
|
+
Style/HashEachMethods:
|
269
|
+
Enabled: true
|
270
|
+
Style/HashLikeCase:
|
271
|
+
Enabled: true
|
272
|
+
Style/HashSyntax:
|
273
|
+
EnforcedStyle: hash_rockets
|
274
|
+
Severity: error
|
275
|
+
Style/HashTransformKeys:
|
276
|
+
Enabled: false
|
277
|
+
Style/HashTransformValues:
|
278
|
+
Enabled: true
|
279
|
+
Style/KeywordParametersOrder:
|
280
|
+
Enabled: true
|
281
|
+
Style/MixinUsage:
|
282
|
+
Exclude:
|
283
|
+
- test/helper.rb
|
284
|
+
Style/ModuleFunction:
|
285
|
+
Enabled: false
|
286
|
+
Style/MultilineTernaryOperator:
|
287
|
+
Severity: error
|
288
|
+
Style/NegatedIfElseCondition:
|
289
|
+
Enabled: true
|
290
|
+
Style/NilLambda:
|
291
|
+
Enabled: true
|
292
|
+
Style/OptionalBooleanParameter:
|
293
|
+
Enabled: true
|
294
|
+
Style/PercentLiteralDelimiters:
|
295
|
+
PreferredDelimiters:
|
296
|
+
"%q": "{}"
|
297
|
+
"%Q": "{}"
|
298
|
+
"%r": "!!"
|
299
|
+
"%s": "()"
|
300
|
+
"%w": "()"
|
301
|
+
"%W": "()"
|
302
|
+
"%x": "()"
|
303
|
+
Style/RedundantArgument:
|
304
|
+
Enabled: true
|
305
|
+
Style/RedundantAssignment:
|
306
|
+
Enabled: true
|
307
|
+
Style/RedundantBegin:
|
308
|
+
Enabled: false
|
309
|
+
Style/RedundantFetchBlock:
|
310
|
+
Enabled: false
|
311
|
+
Style/RedundantFileExtensionInRequire:
|
312
|
+
Enabled: true
|
313
|
+
Style/RedundantRegexpCharacterClass:
|
314
|
+
Enabled: true
|
315
|
+
Style/RedundantRegexpEscape:
|
316
|
+
Enabled: true
|
317
|
+
Style/RedundantSelfAssignment:
|
318
|
+
Enabled: true
|
319
|
+
Style/RegexpLiteral:
|
320
|
+
EnforcedStyle: percent_r
|
321
|
+
Style/RescueModifier:
|
322
|
+
Enabled: false
|
323
|
+
Style/SafeNavigation:
|
324
|
+
Exclude:
|
325
|
+
- lib/jekyll/document.rb
|
326
|
+
Style/SignalException:
|
327
|
+
EnforcedStyle: only_raise
|
328
|
+
Style/SingleArgumentDig:
|
329
|
+
Enabled: true
|
330
|
+
Style/SlicingWithRange:
|
331
|
+
Enabled: false
|
332
|
+
Style/SoleNestedConditional:
|
333
|
+
Enabled: true
|
334
|
+
Style/StringLiterals:
|
335
|
+
EnforcedStyle: double_quotes
|
336
|
+
Style/StringConcatenation:
|
337
|
+
Enabled: true
|
338
|
+
Exclude:
|
339
|
+
- lib/jekyll/commands/*.rb
|
340
|
+
- test/**/*.rb
|
341
|
+
Style/StringLiteralsInInterpolation:
|
342
|
+
EnforcedStyle: double_quotes
|
343
|
+
Style/SwapValues:
|
344
|
+
Enabled: true
|
345
|
+
Style/SymbolArray:
|
346
|
+
EnforcedStyle: brackets
|
347
|
+
Style/TrailingCommaInArrayLiteral:
|
348
|
+
EnforcedStyleForMultiline: consistent_comma
|
349
|
+
Style/TrailingCommaInHashLiteral:
|
350
|
+
EnforcedStyleForMultiline: consistent_comma
|