File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ export class VFileMessage extends Error {
158
158
? options . place . start
159
159
: options . place
160
160
161
- /* eslint-disable no-unused-expressions */
162
161
/**
163
162
* Stack of ancestor nodes surrounding the message.
164
163
*
@@ -196,7 +195,7 @@ export class VFileMessage extends Error {
196
195
*
197
196
* @type {string | undefined }
198
197
*/
199
- this . file
198
+ this . file = ''
200
199
201
200
// Field from `Error`.
202
201
/**
@@ -274,21 +273,21 @@ export class VFileMessage extends Error {
274
273
*
275
274
* @type {string | undefined }
276
275
*/
277
- this . actual
276
+ this . actual = undefined
278
277
279
278
/**
280
279
* Suggest acceptable values that can be used instead of `actual`.
281
280
*
282
281
* @type {Array<string> | undefined }
283
282
*/
284
- this . expected
283
+ this . expected = undefined
285
284
286
285
/**
287
286
* Long form description of the message (you should use markdown).
288
287
*
289
288
* @type {string | undefined }
290
289
*/
291
- this . note
290
+ this . note = undefined
292
291
293
292
/**
294
293
* Link to docs for the message.
@@ -298,8 +297,7 @@ export class VFileMessage extends Error {
298
297
*
299
298
* @type {string | undefined }
300
299
*/
301
- this . url
302
- /* eslint-enable no-unused-expressions */
300
+ this . url = undefined
303
301
}
304
302
}
305
303
You can’t perform that action at this time.
0 commit comments