@@ -201,6 +201,7 @@ function quux (foo = 'FOO') {
201
201
function quux (foo = ' FOO' ) {
202
202
203
203
}
204
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
204
205
// Message: Expected @arg names to be "foo". Got "Foo".
205
206
206
207
/**
@@ -442,6 +443,7 @@ function quux (foo) {
442
443
function quux (foo ) {
443
444
444
445
}
446
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
445
447
// Message: Invalid JSDoc tag (preference). Replace "param" JSDoc tag with "arg".
446
448
447
449
/**
@@ -458,6 +460,7 @@ function quux (foo) {
458
460
function quux (foo ) {
459
461
460
462
}
463
+ // Settings: {"jsdoc":{"additionalTagNames":{"customTags":["bar"]}}}
461
464
// Message: Invalid JSDoc tag name "baz".
462
465
463
466
/**
@@ -467,6 +470,7 @@ function quux (foo) {
467
470
function quux (foo ) {
468
471
469
472
}
473
+ // Settings: {"jsdoc":{"additionalTagNames":{"customTags":["bar"]}}}
470
474
// Message: Invalid JSDoc tag name "baz".
471
475
```
472
476
@@ -486,20 +490,23 @@ function quux (foo) {
486
490
function quux (foo ) {
487
491
488
492
}
493
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
489
494
490
495
/**
491
496
* @bar foo
492
497
*/
493
498
function quux (foo ) {
494
499
495
500
}
501
+ // Settings: {"jsdoc":{"additionalTagNames":{"customTags":["bar"]}}}
496
502
497
503
/**
498
504
* @baz @bar foo
499
505
*/
500
506
function quux (foo ) {
501
507
502
508
}
509
+ // Settings: {"jsdoc":{"additionalTagNames":{"customTags":["baz","bar"]}}}
503
510
504
511
/**
505
512
* @abstract
@@ -1250,6 +1257,7 @@ function quux (foo) {
1250
1257
function quux (foo ) {
1251
1258
1252
1259
}
1260
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
1253
1261
// Message: Missing JSDoc @arg "foo" declaration.
1254
1262
1255
1263
/**
@@ -1292,6 +1300,7 @@ function quux (foo) {
1292
1300
function quux (foo ) {
1293
1301
1294
1302
}
1303
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
1295
1304
1296
1305
/**
1297
1306
* @override
@@ -1307,6 +1316,7 @@ function quux (foo) {
1307
1316
function quux (foo ) {
1308
1317
1309
1318
}
1319
+ // Settings: {"jsdoc":{"allowOverrideWithoutParam":true}}
1310
1320
```
1311
1321
1312
1322
@@ -1337,6 +1347,7 @@ function quux (foo) {
1337
1347
function quux (foo ) {
1338
1348
1339
1349
}
1350
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
1340
1351
// Message: Missing JSDoc @arg "foo" description.
1341
1352
```
1342
1353
@@ -1439,6 +1450,7 @@ function quux (foo) {
1439
1450
function quux (foo ) {
1440
1451
1441
1452
}
1453
+ // Settings: {"jsdoc":{"tagNamePreference":{"param":"arg"}}}
1442
1454
// Message: Missing JSDoc @arg "foo" type.
1443
1455
```
1444
1456
@@ -1488,6 +1500,7 @@ function quux (foo) {
1488
1500
function quux (foo ) {
1489
1501
1490
1502
}
1503
+ // Settings: {"jsdoc":{"tagNamePreference":{"returns":"return"}}}
1491
1504
// Message: Missing JSDoc @return description.
1492
1505
```
1493
1506
@@ -1545,6 +1558,7 @@ function quux () {
1545
1558
function quux () {
1546
1559
1547
1560
}
1561
+ // Settings: {"jsdoc":{"tagNamePreference":{"returns":"return"}}}
1548
1562
// Message: Missing JSDoc @return type.
1549
1563
```
1550
1564
0 commit comments