gscan 4.28.0 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/specs/v2.js CHANGED
@@ -26,7 +26,7 @@ let rules = {
26
26
  // New rules
27
27
  'GS001-DEPR-USER-GET': {
28
28
  level: 'error',
29
- rule: `<code>{{#get "users"}}</code> should be replaced with <code>{{#get "authors"}}</code>`,
29
+ rule: `Replace <code>{{#get "users"}}</code> with <code>{{#get "authors"}}</code>`,
30
30
  details: oneLineTrim`The usage of <code>{{#get "users"}}</code> is deprecated and will not return any data. It should be replaced with <code>{{#get "authors"}}</code>.<br>
31
31
  Find more information about the <code>{{get}}</code> helper <a href="${docsBaseUrl}helpers/get/" target=_blank>here</a>.`,
32
32
  regex: /{{\s*?#get ("|')\s*users("|')\s*/g,
@@ -34,7 +34,7 @@ let rules = {
34
34
  },
35
35
  'GS001-DEPR-AUTH-INCL': {
36
36
  level: 'error',
37
- rule: `<code>include="author"</code> should be replaced with <code>include="authors"</code>`,
37
+ rule: `Replace <code>include="author"</code> with <code>include="authors"</code>`,
38
38
  details: oneLineTrim`The usage of <code>{{#get "posts" include="author"}}</code> is deprecated and should be replaced with <code>{{#get "posts" include="authors"}}</code>.<br>
39
39
  Find more information about the <code>{{get}}</code> helper <a href="${docsBaseUrl}helpers/get/" target=_blank>here</a>.`,
40
40
  // This regex seems only to work properly with the escaped characters. Removing them resulted
@@ -44,7 +44,7 @@ let rules = {
44
44
  },
45
45
  'GS001-DEPR-AUTH-FIELD': {
46
46
  level: 'error',
47
- rule: `<code>fields="author"</code> should be replaced with <code>fields="authors"</code>`,
47
+ rule: `Replace <code>fields="author"</code> with <code>fields="authors"</code>`,
48
48
  details: oneLineTrim`The usage of <code>{{#get "posts" fields="author"}}</code> is deprecated and should be replaced with
49
49
  <code>{{#get "posts" fields="primary_author"}}</code> or <code>{{#get "posts" fields="authors.[#]"}}</code>.<br>
50
50
  Find more information about the <code>{{get}}</code> helper <a href="${docsBaseUrl}helpers/get/" target=_blank>here</a>.`,
@@ -55,7 +55,7 @@ let rules = {
55
55
  },
56
56
  'GS001-DEPR-AUTH-FILT': {
57
57
  level: 'error',
58
- rule: `<code>filter="author:[...]"</code> should be replaced with <code>filter="authors:[...]"</code>`,
58
+ rule: `Replace <code>filter="author:[...]"</code> with <code>filter="authors:[...]"</code>`,
59
59
  details: oneLineTrim`The usage of <code>{{#get "posts" filter="author:[...]"}}</code> is deprecated and should be replaced with <code>{{#get "posts" filter="authors:[...]"}}</code>.<br>
60
60
  Find more information about the <code>{{get}}</code> helper <a href="${docsBaseUrl}helpers/get/" target=_blank>here</a>.`,
61
61
  // This regex seems only to work properly with the escaped characters. Removing them resulted
@@ -65,7 +65,7 @@ let rules = {
65
65
  },
66
66
  'GS001-DEPR-AUTHBL': {
67
67
  level: 'error',
68
- rule: 'The <code>{{#author}}</code> block helper should be replaced with <code>{{#primary_author}}</code> or <code>{{#foreach authors}}...{{/foreach}}</code>',
68
+ rule: 'Replace <code>{{#author}}</code> with <code>{{#primary_author}}</code> or <code>{{#foreach authors}}...{{/foreach}}</code>',
69
69
  details: oneLineTrim`The usage of <code>{{#author}}</code> block helper outside of <code>author.hbs</code> is deprecated and
70
70
  should be replaced with <code>{{#primary_author}}</code> or <code>{{#foreach authors}}...{{/foreach}}</code>.<br>
71
71
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -75,7 +75,7 @@ let rules = {
75
75
  },
76
76
  'GS001-DEPR-CON-AUTH': {
77
77
  level: 'error',
78
- rule: `The <code>{{#if author.*}}</code> block helper should be replaced with <code>{{#if primary_author.*}}</code>
78
+ rule: `Replace <code>{{#if author.*}}</code> with <code>{{#if primary_author.*}}</code>
79
79
  or <code>{{#if authors.[#].*}}</code>`,
80
80
  details: oneLineTrim`The usage of <code>{{#if author.*}}</code> is deprecated and should be replaced with <code>{{#if primary_author.*}}</code>
81
81
  or <code>{{#if authors.[#].*}}</code>.<br>
@@ -85,7 +85,7 @@ let rules = {
85
85
  },
86
86
  'GS001-DEPR-CON-PAUTH': {
87
87
  level: 'error',
88
- rule: `The <code>{{#if post.author.*}}</code> block helper should be replaced with <code>{{#if post.primary_author.*}}</code>
88
+ rule: `Replace <code>{{#if post.author.*}}</code> with <code>{{#if post.primary_author.*}}</code>
89
89
  or <code>{{#if post.authors.[#].*}}</code>`,
90
90
  details: oneLineTrim`The usage of <code>{{#if post.author.*}}</code> is deprecated and should be replaced with <code>{{#if post.primary_author.*}}</code>
91
91
  or <code>{{#if post.authors.[#].*}}</code>.<br>
@@ -95,7 +95,7 @@ let rules = {
95
95
  },
96
96
  'GS001-DEPR-AUTH': {
97
97
  level: 'error',
98
- rule: '<code>{{author}}</code> should be replaced with <code>{{authors}}</code>',
98
+ rule: 'Replace <code>{{author}}</code> with <code>{{authors}}</code>',
99
99
  details: oneLineTrim`The usage of <code>{{author}}</code> is deprecated and should be replaced with <code>{{authors}}</code>.<br>
100
100
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
101
101
  regex: /{{\s*?author\s*?}}/g,
@@ -103,7 +103,7 @@ let rules = {
103
103
  },
104
104
  'GS001-DEPR-AUTH-ID': {
105
105
  level: 'error',
106
- rule: 'Replace the <code>{{author.id}}</code> helper with <code>{{primary_author.id}}</code> or <code>{{authors.[#].id}}</code>',
106
+ rule: 'Replace <code>{{author.id}}</code> with <code>{{primary_author.id}}</code> or <code>{{authors.[#].id}}</code>',
107
107
  details: oneLineTrim`The usage of <code>{{author.id}}</code> is deprecated and should be replaced with either <code>{{primary_author.id}}</code>
108
108
  or <code>{{authors.[#].id}}</code>.<br>
109
109
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -112,7 +112,7 @@ let rules = {
112
112
  },
113
113
  'GS001-DEPR-AUTH-SLUG': {
114
114
  level: 'error',
115
- rule: 'Replace the <code>{{author.slug}}</code> helper with <code>{{primary_author.slug}}</code> or <code>{{authors.[#].slug}}</code>',
115
+ rule: 'Replace <code>{{author.slug}}</code> with <code>{{primary_author.slug}}</code> or <code>{{authors.[#].slug}}</code>',
116
116
  details: oneLineTrim`The usage of <code>{{author.slug}}</code> is deprecated and should be replaced with either <code>{{primary_author.slug}}</code>
117
117
  or <code>{{authors.[#].slug}}</code>.<br>
118
118
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -121,7 +121,7 @@ let rules = {
121
121
  },
122
122
  'GS001-DEPR-AUTH-MAIL': {
123
123
  level: 'error',
124
- rule: 'Replace the <code>{{author.email}}</code> helper with <code>{{primary_author.email}}</code> or <code>{{authors.[#].email}}</code>',
124
+ rule: 'Replace <code>{{author.email}}</code> with <code>{{primary_author.email}}</code> or <code>{{authors.[#].email}}</code>',
125
125
  details: oneLineTrim`The usage of <code>{{author.email}}</code> is deprecated and should be replaced with either <code>{{primary_author.email}}</code>
126
126
  or <code>{{authors.[#].email}}</code>.<br>
127
127
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -130,7 +130,7 @@ let rules = {
130
130
  },
131
131
  'GS001-DEPR-AUTH-MT': {
132
132
  level: 'error',
133
- rule: 'Replace the <code>{{author.meta_title}}</code> helper with <code>{{primary_author.meta_title}}</code> or <code>{{authors.[#].meta_title}}</code>',
133
+ rule: 'Replace <code>{{author.meta_title}}</code> with <code>{{primary_author.meta_title}}</code> or <code>{{authors.[#].meta_title}}</code>',
134
134
  details: oneLineTrim`The usage of <code>{{author.meta_title}}</code> is deprecated and should be replaced with either <code>{{primary_author.meta_title}}</code>
135
135
  or <code>{{authors.[#].meta_title}}</code>.<br>
136
136
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -139,7 +139,7 @@ let rules = {
139
139
  },
140
140
  'GS001-DEPR-AUTH-MD': {
141
141
  level: 'error',
142
- rule: 'Replace the <code>{{author.meta_description}}</code> helper with <code>{{primary_author.meta_description}}</code> or <code>{{authors.[#].meta_description}}</code>',
142
+ rule: 'Replace <code>{{author.meta_description}}</code> with <code>{{primary_author.meta_description}}</code> or <code>{{authors.[#].meta_description}}</code>',
143
143
  details: oneLineTrim`The usage of <code>{{author.meta_description}}</code> is deprecated and should be replaced with either <code>{{primary_author.meta_description}}</code>
144
144
  or <code>{{authors.[#].meta_description}}</code>.<br>
145
145
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -148,7 +148,7 @@ let rules = {
148
148
  },
149
149
  'GS001-DEPR-AUTH-NAME': {
150
150
  level: 'error',
151
- rule: 'Replace the <code>{{author.name}}</code> helper with <code>{{primary_author.name}}</code> or <code>{{authors.[#].name}}</code>',
151
+ rule: 'Replace <code>{{author.name}}</code> with <code>{{primary_author.name}}</code> or <code>{{authors.[#].name}}</code>',
152
152
  details: oneLineTrim`The usage of <code>{{author.name}}</code> is deprecated and should be replaced with either <code>{{primary_author.name}}</code>
153
153
  or <code>{{authors.[#].name}}</code>.<br>
154
154
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -157,7 +157,7 @@ let rules = {
157
157
  },
158
158
  'GS001-DEPR-AUTH-BIO': {
159
159
  level: 'error',
160
- rule: 'Replace the <code>{{author.bio}}</code> helper with <code>{{primary_author.bio}}</code> or <code>{{authors.[#].bio}}</code>',
160
+ rule: 'Replace <code>{{author.bio}}</code> with <code>{{primary_author.bio}}</code> or <code>{{authors.[#].bio}}</code>',
161
161
  details: oneLineTrim`The usage of <code>{{author.bio}}</code> is deprecated and should be replaced with either <code>{{primary_author.bio}}</code>
162
162
  or <code>{{authors.[#].bio}}</code>.<br>
163
163
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -166,7 +166,7 @@ let rules = {
166
166
  },
167
167
  'GS001-DEPR-AUTH-LOC': {
168
168
  level: 'error',
169
- rule: 'Replace the <code>{{author.location}}</code> helper with <code>{{primary_author.location}}</code> or <code>{{authors.[#].location}}</code>',
169
+ rule: 'Replace <code>{{author.location}}</code> with <code>{{primary_author.location}}</code> or <code>{{authors.[#].location}}</code>',
170
170
  details: oneLineTrim`The usage of <code>{{author.location}}</code> is deprecated and should be replaced with either <code>{{primary_author.location}}</code>
171
171
  or <code>{{authors.[#].location}}</code>.<br>
172
172
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -175,7 +175,7 @@ let rules = {
175
175
  },
176
176
  'GS001-DEPR-AUTH-WEB': {
177
177
  level: 'error',
178
- rule: 'Replace the <code>{{author.website}}</code> helper with <code>{{primary_author.website}}</code> or <code>{{authors.[#].website}}</code>',
178
+ rule: 'Replace <code>{{author.website}}</code> with <code>{{primary_author.website}}</code> or <code>{{authors.[#].website}}</code>',
179
179
  details: oneLineTrim`The usage of <code>{{author.website}}</code> is deprecated and should be replaced with either <code>{{primary_author.website}}</code>
180
180
  or <code>{{authors.[#].website}}</code>.<br>
181
181
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -184,7 +184,7 @@ let rules = {
184
184
  },
185
185
  'GS001-DEPR-AUTH-TW': {
186
186
  level: 'error',
187
- rule: 'Replace the <code>{{author.twitter}}</code> helper with <code>{{primary_author.twitter}}</code> or <code>{{authors.[#].twitter}}</code>',
187
+ rule: 'Replace <code>{{author.twitter}}</code> with <code>{{primary_author.twitter}}</code> or <code>{{authors.[#].twitter}}</code>',
188
188
  details: oneLineTrim`The usage of <code>{{author.twitter}}</code> is deprecated and should be replaced with either <code>{{primary_author.twitter}}</code>
189
189
  or <code>{{authors.[#].twitter}}</code>.<br>
190
190
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -193,7 +193,7 @@ let rules = {
193
193
  },
194
194
  'GS001-DEPR-AUTH-FB': {
195
195
  level: 'error',
196
- rule: 'Replace the <code>{{author.facebook}}</code> helper with <code>{{primary_author.facebook}}</code> or <code>{{authors.[#].facebook}}</code>',
196
+ rule: 'Replace <code>{{author.facebook}}</code> with <code>{{primary_author.facebook}}</code> or <code>{{authors.[#].facebook}}</code>',
197
197
  details: oneLineTrim`The usage of <code>{{author.facebook}}</code> is deprecated and should be replaced with either <code>{{primary_author.facebook}}</code>
198
198
  or <code>{{authors.[#].facebook}}</code>.<br>
199
199
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -202,7 +202,7 @@ let rules = {
202
202
  },
203
203
  'GS001-DEPR-AUTH-PIMG': {
204
204
  level: 'error',
205
- rule: 'Replace the <code>{{author.profile_image}}</code> helper with <code>{{primary_author.profile_image}}</code> or <code>{{authors.[#].profile_image}}</code>',
205
+ rule: 'Replace <code>{{author.profile_image}}</code> with <code>{{primary_author.profile_image}}</code> or <code>{{authors.[#].profile_image}}</code>',
206
206
  details: oneLineTrim`The usage of <code>{{author.profile_image}}</code> is deprecated and should be replaced with either <code>{{primary_author.profile_image}}</code>
207
207
  or <code>{{authors.[#].profile_image}}</code>.<br>
208
208
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -211,7 +211,7 @@ let rules = {
211
211
  },
212
212
  'GS001-DEPR-AUTH-CIMG': {
213
213
  level: 'error',
214
- rule: 'Replace the <code>{{author.cover_image}}</code> helper with <code>{{primary_author.cover_image}}</code> or <code>{{authors.[#].cover_image}}</code>',
214
+ rule: 'Replace <code>{{author.cover_image}}</code> with <code>{{primary_author.cover_image}}</code> or <code>{{authors.[#].cover_image}}</code>',
215
215
  details: oneLineTrim`The usage of <code>{{author.cover_image}}</code> is deprecated and should be replaced with either <code>{{primary_author.cover_image}}</code>
216
216
  or <code>{{authors.[#].cover_image}}</code>.<br>
217
217
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -220,7 +220,7 @@ let rules = {
220
220
  },
221
221
  'GS001-DEPR-AUTH-URL': {
222
222
  level: 'error',
223
- rule: 'Replace the <code>{{author.url}}</code> helper with <code>{{primary_author.url}}</code> or <code>{{authors.[#].url}}</code>',
223
+ rule: 'Replace <code>{{author.url}}</code> with <code>{{primary_author.url}}</code> or <code>{{authors.[#].url}}</code>',
224
224
  details: oneLineTrim`The usage of <code>{{author.url}}</code> is deprecated and should be replaced with either <code>{{primary_author.url}}</code>
225
225
  or <code>{{authors.[#].url}}</code>.<br>
226
226
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -229,7 +229,7 @@ let rules = {
229
229
  },
230
230
  'GS001-DEPR-PAUTH': {
231
231
  level: 'error',
232
- rule: 'Replace the <code>{{post.author}}</code> helper with <code>{{post.primary_author}}</code> or <code>{{authors.[#]}}</code>',
232
+ rule: 'Replace <code>{{post.author}}</code> with <code>{{post.primary_author}}</code> or <code>{{authors.[#]}}</code>',
233
233
  details: oneLineTrim`The usage of <code>{{post.author}}</code> is deprecated and should be replaced with either <code>{{post.primary_author}}</code>
234
234
  or <code>{{post.authors.[#]}}</code>.<br>
235
235
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -238,7 +238,7 @@ let rules = {
238
238
  },
239
239
  'GS001-DEPR-PAUTH-ID': {
240
240
  level: 'error',
241
- rule: 'Replace the <code>{{post.author.id}}</code> helper with <code>{{post.primary_author.id}}</code> or <code>{{authors.[#].id}}</code>',
241
+ rule: 'Replace <code>{{post.author.id}}</code> with <code>{{post.primary_author.id}}</code> or <code>{{authors.[#].id}}</code>',
242
242
  details: oneLineTrim`The usage of <code>{{post.author.id}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.id}}</code>
243
243
  or <code>{{post.authors.[#].id}}</code>.<br>
244
244
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -247,7 +247,7 @@ let rules = {
247
247
  },
248
248
  'GS001-DEPR-PAUTH-SLUG': {
249
249
  level: 'error',
250
- rule: 'Replace the <code>{{post.author.slug}}</code> helper with <code>{{post.primary_author.slug}}</code> or <code>{{post.authors.[#].slug}}</code>',
250
+ rule: 'Replace <code>{{post.author.slug}}</code> with <code>{{post.primary_author.slug}}</code> or <code>{{post.authors.[#].slug}}</code>',
251
251
  details: oneLineTrim`The usage of <code>{{post.author.slug}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.slug}}</code>
252
252
  or <code>{{post.authors.[#].slug}}</code>.<br>
253
253
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -256,7 +256,7 @@ let rules = {
256
256
  },
257
257
  'GS001-DEPR-PAUTH-MAIL': {
258
258
  level: 'error',
259
- rule: 'Replace the <code>{{post.author.email}}</code> helper with <code>{{post.primary_author.email}}</code> or <code>{{post.authors.[#].email}}</code>',
259
+ rule: 'Replace <code>{{post.author.email}}</code> with <code>{{post.primary_author.email}}</code> or <code>{{post.authors.[#].email}}</code>',
260
260
  details: oneLineTrim`The usage of <code>{{post.author.email}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.email}}</code>
261
261
  or <code>{{post.authors.[#].email}}</code>.<br>
262
262
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -265,7 +265,7 @@ let rules = {
265
265
  },
266
266
  'GS001-DEPR-PAUTH-MT': {
267
267
  level: 'error',
268
- rule: 'Replace the <code>{{post.author.meta_title}}</code> helper with <code>{{post.primary_author.meta_title}}</code> or <code>{{post.authors.[#].meta_title}}</code>',
268
+ rule: 'Replace <code>{{post.author.meta_title}}</code> with <code>{{post.primary_author.meta_title}}</code> or <code>{{post.authors.[#].meta_title}}</code>',
269
269
  details: oneLineTrim`The usage of <code>{{post.author.meta_title}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.meta_title}}</code>
270
270
  or <code>{{post.authors.[#].meta_title}}</code>.<br>
271
271
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -274,7 +274,7 @@ let rules = {
274
274
  },
275
275
  'GS001-DEPR-PAUTH-MD': {
276
276
  level: 'error',
277
- rule: 'Replace the <code>{{post.author.meta_description}}</code> helper with <code>{{post.primary_author.meta_description}}</code> or <code>{{post.authors.[#].meta_description}}</code>',
277
+ rule: 'Replace <code>{{post.author.meta_description}}</code> with <code>{{post.primary_author.meta_description}}</code> or <code>{{post.authors.[#].meta_description}}</code>',
278
278
  details: oneLineTrim`The usage of <code>{{post.author.meta_description}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.meta_description}}</code>
279
279
  or <code>{{post.authors.[#].meta_description}}</code>.<br>
280
280
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -283,7 +283,7 @@ let rules = {
283
283
  },
284
284
  'GS001-DEPR-PAUTH-NAME': {
285
285
  level: 'error',
286
- rule: 'Replace the <code>{{post.author.name}}</code> helper with <code>{{post.primary_author.name}}</code> or <code>{{post.authors.[#].name}}</code>',
286
+ rule: 'Replace <code>{{post.author.name}}</code> with <code>{{post.primary_author.name}}</code> or <code>{{post.authors.[#].name}}</code>',
287
287
  details: oneLineTrim`The usage of <code>{{post.author.name}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.name}}</code>
288
288
  or <code>{{post.authors.[#].name}}</code>.<br>
289
289
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -292,7 +292,7 @@ let rules = {
292
292
  },
293
293
  'GS001-DEPR-PAUTH-BIO': {
294
294
  level: 'error',
295
- rule: 'Replace the <code>{{post.author.bio}}</code> helper with <code>{{post.primary_author.bio}}</code> or <code>{{post.authors.[#].bio}}</code>',
295
+ rule: 'Replace <code>{{post.author.bio}}</code> with <code>{{post.primary_author.bio}}</code> or <code>{{post.authors.[#].bio}}</code>',
296
296
  details: oneLineTrim`The usage of <code>{{post.author.bio}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.bio}}</code>
297
297
  or <code>{{post.authors.[#].bio}}</code>.<br>
298
298
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -301,7 +301,7 @@ let rules = {
301
301
  },
302
302
  'GS001-DEPR-PAUTH-LOC': {
303
303
  level: 'error',
304
- rule: 'Replace the <code>{{post.author.location}}</code> helper with <code>{{post.primary_author.location}}</code> or <code>{{post.authors.[#].location}}</code>',
304
+ rule: 'Replace <code>{{post.author.location}}</code> with <code>{{post.primary_author.location}}</code> or <code>{{post.authors.[#].location}}</code>',
305
305
  details: oneLineTrim`The usage of <code>{{post.author.location}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.location}}</code>
306
306
  or <code>{{post.authors.[#].location}}</code>.<br>
307
307
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -310,7 +310,7 @@ let rules = {
310
310
  },
311
311
  'GS001-DEPR-PAUTH-WEB': {
312
312
  level: 'error',
313
- rule: 'Replace the <code>{{post.author.website}}</code> helper with <code>{{post.primary_author.website}}</code> or <code>{{post.authors.[#].website}}</code>',
313
+ rule: 'Replace <code>{{post.author.website}}</code> with <code>{{post.primary_author.website}}</code> or <code>{{post.authors.[#].website}}</code>',
314
314
  details: oneLineTrim`The usage of <code>{{post.author.website}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.website}}</code>
315
315
  or <code>{{post.authors.[#].website}}</code>.<br>
316
316
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -319,7 +319,7 @@ let rules = {
319
319
  },
320
320
  'GS001-DEPR-PAUTH-TW': {
321
321
  level: 'error',
322
- rule: 'Replace the <code>{{post.author.twitter}}</code> helper with <code>{{post.primary_author.twitter}}</code> or <code>{{post.authors.[#].twitter}}</code>',
322
+ rule: 'Replace <code>{{post.author.twitter}}</code> with <code>{{post.primary_author.twitter}}</code> or <code>{{post.authors.[#].twitter}}</code>',
323
323
  details: oneLineTrim`The usage of <code>{{post.author.twitter}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.twitter}}</code>
324
324
  or <code>{{post.authors.[#].twitter}}</code>.<br>
325
325
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -328,7 +328,7 @@ let rules = {
328
328
  },
329
329
  'GS001-DEPR-PAUTH-FB': {
330
330
  level: 'error',
331
- rule: 'Replace the <code>{{post.author.facebook}}</code> helper with <code>{{post.primary_author.facebook}}</code> or <code>{{post.authors.[#].facebook}}</code>',
331
+ rule: 'Replace <code>{{post.author.facebook}}</code> with <code>{{post.primary_author.facebook}}</code> or <code>{{post.authors.[#].facebook}}</code>',
332
332
  details: oneLineTrim`The usage of <code>{{post.author.facebook}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.facebook}}</code>
333
333
  or <code>{{post.authors.[#].facebook}}</code>.<br>
334
334
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -337,7 +337,7 @@ let rules = {
337
337
  },
338
338
  'GS001-DEPR-PAUTH-PIMG': {
339
339
  level: 'error',
340
- rule: 'Replace the <code>{{post.author.profile_image}}</code> helper with <code>{{post.primary_author.profile_image}}</code> or <code>{{post.authors.[#].profile_image}}</code>',
340
+ rule: 'Replace <code>{{post.author.profile_image}}</code> with <code>{{post.primary_author.profile_image}}</code> or <code>{{post.authors.[#].profile_image}}</code>',
341
341
  details: oneLineTrim`The usage of <code>{{post.author.profile_image}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.profile_image}}</code>
342
342
  or <code>{{post.authors.[#].profile_image}}</code>.<br>
343
343
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -346,7 +346,7 @@ let rules = {
346
346
  },
347
347
  'GS001-DEPR-PAUTH-CIMG': {
348
348
  level: 'error',
349
- rule: 'Replace the <code>{{post.author.cover_image}}</code> helper with <code>{{post.primary_author.cover_image}}</code> or <code>{{post.authors.[#].cover_image}}</code>',
349
+ rule: 'Replace <code>{{post.author.cover_image}}</code> with <code>{{post.primary_author.cover_image}}</code> or <code>{{post.authors.[#].cover_image}}</code>',
350
350
  details: oneLineTrim`The usage of <code>{{post.author.cover_image}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.cover_image}}</code>
351
351
  or <code>{{post.authors.[#].cover_image}}</code>.<br>
352
352
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -355,7 +355,7 @@ let rules = {
355
355
  },
356
356
  'GS001-DEPR-PAUTH-URL': {
357
357
  level: 'error',
358
- rule: 'Replace the <code>{{post.author.url}}</code> helper with <code>{{post.primary_author.url}}</code> or <code>{{post.authors.[#].url}}</code>',
358
+ rule: 'Replace <code>{{post.author.url}}</code> with <code>{{post.primary_author.url}}</code> or <code>{{post.authors.[#].url}}</code>',
359
359
  details: oneLineTrim`The usage of <code>{{post.author.url}}</code> is deprecated and should be replaced with either <code>{{post.primary_author.url}}</code>
360
360
  or <code>{{post.authors.[#].url}}</code>.<br>
361
361
  Find more information about the <code>{{authors}}</code> helper <a href="${docsBaseUrl}helpers/authors/" target=_blank>here</a>.`,
@@ -589,7 +589,7 @@ let rules = {
589
589
  // Updated v1 rules
590
590
  'GS001-DEPR-AC': {
591
591
  level: 'error',
592
- rule: 'Replace the <code>{{author.cover}}</code> helper with <code>{{primary_author.cover_image}}</code>',
592
+ rule: 'Replace <code>{{author.cover}}</code> with <code>{{primary_author.cover_image}}</code>',
593
593
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
594
594
  Instead of <code>{{author.cover}}</code> you need to use
595
595
  <code>{{primary_author.cover_image}}</code> or <code>{{authors.[#].cover_image}}</code>.<br>
@@ -599,7 +599,7 @@ let rules = {
599
599
  },
600
600
  'GS001-DEPR-AC-2': {
601
601
  level: 'error',
602
- rule: 'Replace the <code>{{primary_author.cover}}</code> helper with <code>{{primary_author.cover_image}}</code>',
602
+ rule: 'Replace <code>{{primary_author.cover}}</code> with <code>{{primary_author.cover_image}}</code>',
603
603
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
604
604
  Instead of <code>{{primary_author.cover}}</code> you need to use
605
605
  <code>{{primary_author.cover_image}}</code>.<br>
@@ -609,7 +609,7 @@ let rules = {
609
609
  },
610
610
  'GS001-DEPR-AC-3': {
611
611
  level: 'error',
612
- rule: 'Replace the <code>{{authors.[#].cover}}</code> helper with <code>{{authors.[#].cover_image}}</code>',
612
+ rule: 'Replace <code>{{authors.[#].cover}}</code> with <code>{{authors.[#].cover_image}}</code>',
613
613
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
614
614
  Instead of <code>{{authors.[#].cover}}</code> you need to use
615
615
  <code>{{authors.[#].cover_image}}</code>.<br>
@@ -620,7 +620,7 @@ let rules = {
620
620
 
621
621
  'GS001-DEPR-AIMG': {
622
622
  level: 'error',
623
- rule: 'Replace the <code>{{author.image}}</code> helper with <code>{{primary_author.profile_image}}</code> or <code>{{authors.[#].profile_image}}</code>',
623
+ rule: 'Replace <code>{{author.image}}</code> with <code>{{primary_author.profile_image}}</code> or <code>{{authors.[#].profile_image}}</code>',
624
624
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
625
625
  Instead of <code>{{author.image}}</code>, you need to use
626
626
  <code>{{primary_author.profile_image}}</code> or <code>{{authors.[#].profile_image}}</code>.<br>
@@ -630,7 +630,7 @@ let rules = {
630
630
  },
631
631
  'GS001-DEPR-AIMG-2': {
632
632
  level: 'error',
633
- rule: 'Replace the <code>{{primary_author.image}}</code> helper with <code>{{primary_author.profile_image}}</code>',
633
+ rule: 'Replace <code>{{primary_author.image}}</code> with <code>{{primary_author.profile_image}}</code>',
634
634
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
635
635
  Instead of <code>{{primary_author.image}}</code>, you need to use
636
636
  <code>{{primary_author.profile_image}}</code>.<br>
@@ -640,7 +640,7 @@ let rules = {
640
640
  },
641
641
  'GS001-DEPR-AIMG-3': {
642
642
  level: 'error',
643
- rule: 'Replace the <code>{{authors.[#].image}}</code> helper with <code>{{authors.[#].profile_image}}</code>',
643
+ rule: 'Replace <code>{{authors.[#].image}}</code> with <code>{{authors.[#].profile_image}}</code>',
644
644
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
645
645
  Instead of <code>{{authors.[#].image}}</code>, you need to use
646
646
  <code>{{authors.[#].profile_image}}</code>.<br>
@@ -651,7 +651,7 @@ let rules = {
651
651
 
652
652
  'GS001-DEPR-PAC': {
653
653
  level: 'error',
654
- rule: 'Replace the <code>{{post.author.cover}}</code> helper with <code>{{post.primary_author.cover_image}}</code> or <code>{{post.authors.[#].cover_image}}</code>',
654
+ rule: 'Replace <code>{{post.author.cover}}</code> with <code>{{post.primary_author.cover_image}}</code> or <code>{{post.authors.[#].cover_image}}</code>',
655
655
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
656
656
  Instead of <code>{{post.author.cover}}</code>, you need to use
657
657
  <code>{{post.primary_author.cover_image}}</code> or <code>{{post.authors.[#].cover_image}}</code>.<br>
@@ -661,7 +661,7 @@ let rules = {
661
661
  },
662
662
  'GS001-DEPR-PAC-2': {
663
663
  level: 'error',
664
- rule: 'Replace the <code>{{post.primary_author.cover}}</code> helper with <code>{{post.primary_author.cover_image}}</code>',
664
+ rule: 'Replace <code>{{post.primary_author.cover}}</code> with <code>{{post.primary_author.cover_image}}</code>',
665
665
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
666
666
  Instead of <code>{{post.primary_author.cover}}</code>, you need to use
667
667
  <code>{{post.primary_author.cover_image}}</code>.<br>
@@ -671,7 +671,7 @@ let rules = {
671
671
  },
672
672
  'GS001-DEPR-PAC-3': {
673
673
  level: 'error',
674
- rule: 'Replace the <code>{{post.authors.[#].cover}}</code> helper with <code>{{post.authors.[#].cover_image}}</code>',
674
+ rule: 'Replace <code>{{post.authors.[#].cover}}</code> with <code>{{post.authors.[#].cover_image}}</code>',
675
675
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
676
676
  Instead of <code>{{post.authors.[#].cover}}</code>, you need to use
677
677
  <code>{{post.authors.[#].cover_image}}</code>.<br>
@@ -682,7 +682,7 @@ let rules = {
682
682
 
683
683
  'GS001-DEPR-PAIMG': {
684
684
  level: 'error',
685
- rule: 'Replace the <code>{{post.author.image}}</code> helper with <code>{{post.primary_author.profile_image}}</code> or <code>{{post.authors.[#].profile_image}}</code>',
685
+ rule: 'Replace <code>{{post.author.image}}</code> with <code>{{post.primary_author.profile_image}}</code> or <code>{{post.authors.[#].profile_image}}</code>',
686
686
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
687
687
  Instead of <code>{{post.author.image}}</code>, you need to use
688
688
  <code>{{post.primary_author.profile_image}}</code> or <code>{{post.authors.[#].profile_image}}</code>.<br>
@@ -692,7 +692,7 @@ let rules = {
692
692
  },
693
693
  'GS001-DEPR-PAIMG-2': {
694
694
  level: 'error',
695
- rule: 'Replace the <code>{{post.primary_author.image}}</code> helper with <code>{{post.primary_author.profile_image}}</code>',
695
+ rule: 'Replace <code>{{post.primary_author.image}}</code> with <code>{{post.primary_author.profile_image}}</code>',
696
696
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
697
697
  Instead of <code>{{post.primary_author.image}}</code>, you need to use
698
698
  <code>{{post.primary_author.profile_image}}</code>.<br>
@@ -702,7 +702,7 @@ let rules = {
702
702
  },
703
703
  'GS001-DEPR-PAIMG-3': {
704
704
  level: 'error',
705
- rule: 'Replace the <code>{{post.authors.[#].image}}</code> helper with <code>{{post.authors.[#].profile_image}}</code>',
705
+ rule: 'Replace <code>{{post.authors.[#].image}}</code> with <code>{{post.authors.[#].profile_image}}</code>',
706
706
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
707
707
  Instead of <code>{{post.authors.[#].image}}</code>, you need to use
708
708
  <code>{{post.authors.[#].profile_image}}</code>.<br>
@@ -713,7 +713,7 @@ let rules = {
713
713
 
714
714
  'GS001-DEPR-CON-AC': {
715
715
  level: 'error',
716
- rule: 'Replace the <code>{{#if author.cover}}</code> helper with <code>{{#if primary_author.cover_image}}</code> or <code>{{#if authors.[#].cover_image}}</code>',
716
+ rule: 'Replace <code>{{#if author.cover}}</code> with <code>{{#if primary_author.cover_image}}</code> or <code>{{#if authors.[#].cover_image}}</code>',
717
717
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
718
718
  Instead of <code>{{#if author.cover}}</code>, you need to use
719
719
  <code>{{#if primary_author.cover_image}}</code> or <code>{{#if authors.[#].cover_image}}</code>.<br>
@@ -724,7 +724,7 @@ let rules = {
724
724
 
725
725
  'GS001-DEPR-CON-AC-2': {
726
726
  level: 'error',
727
- rule: 'Replace the <code>{{#if primary_author.cover}}</code> helper with <code>{{#if primary_author.cover_image}}</code>',
727
+ rule: 'Replace <code>{{#if primary_author.cover}}</code> with <code>{{#if primary_author.cover_image}}</code>',
728
728
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
729
729
  Instead of <code>{{#if primary_author.cover}}</code>, you need to use
730
730
  <code>{{#if primary_author.cover_image}}</code>.<br>
@@ -735,7 +735,7 @@ let rules = {
735
735
 
736
736
  'GS001-DEPR-CON-AC-3': {
737
737
  level: 'error',
738
- rule: 'Replace the <code>{{#if authors.[#].cover}}</code> helper with <code>{{#if authors.[#].cover_image}}</code>',
738
+ rule: 'Replace <code>{{#if authors.[#].cover}}</code> with <code>{{#if authors.[#].cover_image}}</code>',
739
739
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
740
740
  Instead of <code>{{#if authors.[#].cover}}</code>, you need to use
741
741
  <code>{{#if authors.[#].cover_image}}</code>.<br>
@@ -746,7 +746,7 @@ let rules = {
746
746
 
747
747
  'GS001-DEPR-CON-AIMG': {
748
748
  level: 'error',
749
- rule: 'Replace the <code>{{#if author.image}}</code> helper with <code>{{#if primary_author.profile_image}}</code> or <code>{{#if authors.[#].profile_image}}</code>',
749
+ rule: 'Replace <code>{{#if author.image}}</code> with <code>{{#if primary_author.profile_image}}</code> or <code>{{#if authors.[#].profile_image}}</code>',
750
750
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
751
751
  Instead of <code>{{#if author.image}}</code>, you need to use
752
752
  <code>{{#if primary_author.profile_image}}</code> or <code>{{#if authors.[#].profile_image}}</code>.<br>
@@ -756,7 +756,7 @@ let rules = {
756
756
  },
757
757
  'GS001-DEPR-CON-AIMG-2': {
758
758
  level: 'error',
759
- rule: 'Replace the <code>{{#if primary_author.image}}</code> helper with <code>{{#if primary_author.profile_image}}</code>',
759
+ rule: 'Replace <code>{{#if primary_author.image}}</code> with <code>{{#if primary_author.profile_image}}</code>',
760
760
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
761
761
  Instead of <code>{{#if primary_author.image}}</code>, you need to use
762
762
  <code>{{#if primary_author.profile_image}}</code>.<br>
@@ -766,7 +766,7 @@ let rules = {
766
766
  },
767
767
  'GS001-DEPR-CON-AIMG-3': {
768
768
  level: 'error',
769
- rule: 'Replace the <code>{{#if authors.[#].image}}</code> helper with <code>{{#if authors.[#].profile_image}}</code>',
769
+ rule: 'Replace <code>{{#if authors.[#].image}}</code> with <code>{{#if authors.[#].profile_image}}</code>',
770
770
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
771
771
  Instead of <code>{{#if authors.[#].image}}</code>, you need to use
772
772
  <code>{{#if authors.[#].profile_image}}</code>.<br>
@@ -777,7 +777,7 @@ let rules = {
777
777
 
778
778
  'GS001-DEPR-CON-PAC': {
779
779
  level: 'error',
780
- rule: 'Replace the <code>{{#if post.author.cover}}</code> helper with <code>{{#if post.primary_author.cover_image}}</code> or <code>{{#if post.authors.[#].cover_image}}</code>',
780
+ rule: 'Replace <code>{{#if post.author.cover}}</code> with <code>{{#if post.primary_author.cover_image}}</code> or <code>{{#if post.authors.[#].cover_image}}</code>',
781
781
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
782
782
  Instead of <code>{{#if post.author.cover}}</code>, you need to use
783
783
  <code>{{#if post.primary_author.cover_image}}</code> or <code>{{#if post.authors.[#].cover_image}}</code>.<br>
@@ -787,7 +787,7 @@ let rules = {
787
787
  },
788
788
  'GS001-DEPR-CON-PAC-2': {
789
789
  level: 'error',
790
- rule: 'Replace the <code>{{#if post.primary_author.cover}}</code> helper with <code>{{#if post.primary_author.cover_image}}</code>',
790
+ rule: 'Replace <code>{{#if post.primary_author.cover}}</code> with <code>{{#if post.primary_author.cover_image}}</code>',
791
791
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
792
792
  Instead of <code>{{#if post.primary_author.cover}}</code>, you need to use
793
793
  <code>{{#if post.primary_author.cover_image}}</code>.<br>
@@ -797,7 +797,7 @@ let rules = {
797
797
  },
798
798
  'GS001-DEPR-CON-PAC-3': {
799
799
  level: 'error',
800
- rule: 'Replace the <code>{{#if post.authors.[#].cover}}</code> helper with <code>{{#if post.authors.[#].cover_image}}</code>',
800
+ rule: 'Replace <code>{{#if post.authors.[#].cover}}</code> with <code>{{#if post.authors.[#].cover_image}}</code>',
801
801
  details: oneLineTrim`The <code>cover</code> attribute was replaced with <code>cover_image</code>.<br>
802
802
  Instead of <code>{{#if post.authors.[#].cover}}</code>, you need to use
803
803
  <code>{{#if post.authors.[#].cover_image}}</code>.<br>
@@ -808,7 +808,7 @@ let rules = {
808
808
 
809
809
  'GS001-DEPR-CON-PAIMG': {
810
810
  level: 'error',
811
- rule: 'Replace the <code>{{#if post.author.image}}</code> helper with <code>{{#if post.primary_author.profile_image}}</code> or <code>{{#if post.authors.[#].profile_image}}</code>',
811
+ rule: 'Replace <code>{{#if post.author.image}}</code> with <code>{{#if post.primary_author.profile_image}}</code> or <code>{{#if post.authors.[#].profile_image}}</code>',
812
812
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
813
813
  Instead of <code>{{#if post.author.image}}</code>, you need to use
814
814
  <code>{{#if post.primary_author.profile_image}}</code> or <code>{{#if post.authors.[#].profile_image}}</code>.<br>
@@ -818,7 +818,7 @@ let rules = {
818
818
  },
819
819
  'GS001-DEPR-CON-PAIMG-2': {
820
820
  level: 'error',
821
- rule: 'Replace the <code>{{#if post.primary_author.image}}</code> helper with <code>{{#if post.primary_author.profile_image}}</code>',
821
+ rule: 'Replace <code>{{#if post.primary_author.image}}</code> with <code>{{#if post.primary_author.profile_image}}</code>',
822
822
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
823
823
  Instead of <code>{{#if post.primary_author.image}}</code>, you need to use
824
824
  <code>{{#if post.primary_author.profile_image}}</code>.<br>
@@ -828,7 +828,7 @@ let rules = {
828
828
  },
829
829
  'GS001-DEPR-CON-PAIMG-3': {
830
830
  level: 'error',
831
- rule: 'Replace the <code>{{#if post.authors.[#].image}}</code> helper with <code>{{#if post.authors.[#].profile_image}}</code>',
831
+ rule: 'Replace <code>{{#if post.authors.[#].image}}</code> with <code>{{#if post.authors.[#].profile_image}}</code>',
832
832
  details: oneLineTrim`The <code>image</code> attribute was replaced with <code>profile_image</code>.<br>
833
833
  Instead of <code>{{#if post.authors.[#].image}}</code>, you need to use
834
834
  <code>{{#if post.authors.[#].profile_image}}</code>.<br>
@@ -859,5 +859,14 @@ rules = _.each(_.merge({}, previousRules, rules), function replaceDocsUrl(value)
859
859
  module.exports = {
860
860
  knownHelpers: knownHelpers,
861
861
  templates: templates,
862
- rules: rules
862
+ rules: rules,
863
+ /**
864
+ * Copy of Ghost defaults for https://github.com/TryGhost/Ghost/blob/e25f1df0ae551c447da0d319bae06eadf9665444/core/frontend/services/theme-engine/config/defaults.json
865
+ */
866
+ defaultPackageJSON: {
867
+ posts_per_page: 5,
868
+ card_assets: {
869
+ exclude: ['bookmark', 'gallery']
870
+ }
871
+ }
863
872
  };
package/lib/specs/v3.js CHANGED
@@ -68,5 +68,6 @@ rules = _.each(_.merge({}, previousRules, rules), function replaceDocsUrl(value)
68
68
  module.exports = {
69
69
  knownHelpers: knownHelpers,
70
70
  templates: templates,
71
- rules: rules
71
+ rules: rules,
72
+ defaultPackageJSON: previousSpec.defaultPackageJSON
72
73
  };
package/lib/specs/v4.js CHANGED
@@ -149,7 +149,7 @@ let rules = {
149
149
  },
150
150
  'GS001-DEPR-SITE-LANG': {
151
151
  level: 'warning',
152
- rule: 'The <code>{{@site.lang}}</code> helper should be replaced with <code>{{@site.locale}}</code>',
152
+ rule: 'Replace <code>{{@site.lang}}</code> with <code>{{@site.locale}}</code>',
153
153
  details: oneLineTrim`Replace <code>{{@site.lang}}</code> helper with <code>{{@site.locale}}</code>.<br>
154
154
  The <code>{{@site.lang}}</code> helper will be removed in next version of Ghost and should not be used.
155
155
  Find more information about the <code>@site</code> property <a href="${docsBaseUrl}helpers/site/" target=_blank>here</a>.`,
@@ -182,7 +182,7 @@ let rules = {
182
182
  },
183
183
  'GS090-NO-PRODUCTS-HELPER': {
184
184
  level: 'warning',
185
- rule: 'The <code>{{products}}</code> helper should be replaces with <code>{{tiers}}</code>',
185
+ rule: 'Replace <code>{{products}}</code> with <code>{{tiers}}</code>',
186
186
  details: oneLineTrim`The <code>{{products}}</code> helper has been deprecated in favor of <code>{{tiers}}</code><br>
187
187
  The <code>{{products}}</code> helper will be removed in Ghost v5 and should not be used.
188
188
  Find more information about the <code>{{tiers}}</code> property <a href="${docsBaseUrl}helpers/tiers/" target=_blank>here</a>.`,
@@ -190,7 +190,7 @@ let rules = {
190
190
  },
191
191
  'GS090-NO-PRODUCT-DATA-HELPER': {
192
192
  level: 'warning',
193
- rule: 'The <code>{{@product}}</code> data helper should be replaces with <code>{{#get "tiers"}}</code>',
193
+ rule: 'Replace <code>{{@product}}</code> with <code>{{#get "tiers"}}</code>',
194
194
  details: oneLineTrim`The <code>{{@product}}</code> data helper has been deprecated in favor of <code>{{#get "tiers"}}</code><br>
195
195
  The <code>{{@product}}</code> data helper will be removed in Ghost v5 and should not be used.
196
196
  Find more information about the <code>{{#get "tiers"}}</code> property <a href="${docsBaseUrl}helpers/tiers/" target=_blank>here</a>.`,
@@ -198,7 +198,7 @@ let rules = {
198
198
  },
199
199
  'GS090-NO-PRODUCTS-DATA-HELPER': {
200
200
  level: 'warning',
201
- rule: 'The <code>{{@products}}</code> data helper should be replaces with <code>{{#get "tiers"}}</code>',
201
+ rule: 'Replace <code>{{@products}}</code> with <code>{{#get "tiers"}}</code>',
202
202
  details: oneLineTrim`The <code>{{@products}}</code> data helper has been deprecated in favor of <code>{{#get "tiers"}}</code><br>
203
203
  The <code>{{@products}}</code> data helper will be removed in Ghost v5 and should not be used.
204
204
  Find more information about the <code>{{#get "tiers"}}</code> property <a href="${docsBaseUrl}helpers/tiers/" target=_blank>here</a>.`,
@@ -331,5 +331,6 @@ rules = _.each(rules, function replaceDocsUrl(value) {
331
331
  module.exports = {
332
332
  knownHelpers: knownHelpers,
333
333
  templates: templates,
334
- rules: rules
334
+ rules: rules,
335
+ defaultPackageJSON: previousSpec.defaultPackageJSON
335
336
  };