eslint-plugin-jsdoc 46.4.5 → 46.5.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.
Files changed (66) hide show
  1. package/README.md +31 -0
  2. package/dist/alignTransform.js +5 -5
  3. package/dist/alignTransform.js.map +1 -1
  4. package/dist/index.js +21 -10
  5. package/dist/index.js.map +1 -1
  6. package/dist/iterateJsdoc.js +1 -1
  7. package/dist/iterateJsdoc.js.map +1 -1
  8. package/dist/rules/checkExamples.js +12 -6
  9. package/dist/rules/checkExamples.js.map +1 -1
  10. package/package.json +19 -15
  11. package/docs/advanced.md +0 -102
  12. package/docs/rules/check-access.md +0 -193
  13. package/docs/rules/check-alignment.md +0 -169
  14. package/docs/rules/check-examples.md +0 -784
  15. package/docs/rules/check-indentation.md +0 -296
  16. package/docs/rules/check-line-alignment.md +0 -1002
  17. package/docs/rules/check-param-names.md +0 -1035
  18. package/docs/rules/check-property-names.md +0 -244
  19. package/docs/rules/check-syntax.md +0 -80
  20. package/docs/rules/check-tag-names.md +0 -1132
  21. package/docs/rules/check-types.md +0 -1198
  22. package/docs/rules/check-values.md +0 -409
  23. package/docs/rules/empty-tags.md +0 -220
  24. package/docs/rules/implements-on-classes.md +0 -219
  25. package/docs/rules/imports-as-dependencies.md +0 -99
  26. package/docs/rules/informative-docs.md +0 -400
  27. package/docs/rules/match-description.md +0 -1008
  28. package/docs/rules/match-name.md +0 -249
  29. package/docs/rules/multiline-blocks.md +0 -398
  30. package/docs/rules/no-bad-blocks.md +0 -174
  31. package/docs/rules/no-blank-block-descriptions.md +0 -91
  32. package/docs/rules/no-blank-blocks.md +0 -98
  33. package/docs/rules/no-defaults.md +0 -207
  34. package/docs/rules/no-missing-syntax.md +0 -275
  35. package/docs/rules/no-multi-asterisks.md +0 -278
  36. package/docs/rules/no-restricted-syntax.md +0 -383
  37. package/docs/rules/no-types.md +0 -168
  38. package/docs/rules/no-undefined-types.md +0 -789
  39. package/docs/rules/require-asterisk-prefix.md +0 -297
  40. package/docs/rules/require-description-complete-sentence.md +0 -820
  41. package/docs/rules/require-description.md +0 -585
  42. package/docs/rules/require-example.md +0 -390
  43. package/docs/rules/require-file-overview.md +0 -324
  44. package/docs/rules/require-hyphen-before-param-description.md +0 -281
  45. package/docs/rules/require-jsdoc.md +0 -1857
  46. package/docs/rules/require-param-description.md +0 -238
  47. package/docs/rules/require-param-name.md +0 -163
  48. package/docs/rules/require-param-type.md +0 -227
  49. package/docs/rules/require-param.md +0 -1820
  50. package/docs/rules/require-property-description.md +0 -88
  51. package/docs/rules/require-property-name.md +0 -79
  52. package/docs/rules/require-property-type.md +0 -79
  53. package/docs/rules/require-property.md +0 -128
  54. package/docs/rules/require-returns-check.md +0 -1053
  55. package/docs/rules/require-returns-description.md +0 -181
  56. package/docs/rules/require-returns-type.md +0 -144
  57. package/docs/rules/require-returns.md +0 -1191
  58. package/docs/rules/require-throws.md +0 -326
  59. package/docs/rules/require-yields-check.md +0 -544
  60. package/docs/rules/require-yields.md +0 -823
  61. package/docs/rules/sort-tags.md +0 -635
  62. package/docs/rules/tag-lines.md +0 -551
  63. package/docs/rules/text-escaping.md +0 -177
  64. package/docs/rules/valid-types.md +0 -881
  65. package/docs/settings.md +0 -362
  66. package/tsconfig.json +0 -22
@@ -1,820 +0,0 @@
1
- <a name="user-content-require-description-complete-sentence"></a>
2
- <a name="require-description-complete-sentence"></a>
3
- # <code>require-description-complete-sentence</code>
4
-
5
- * [Fixer](#user-content-require-description-complete-sentence-fixer)
6
- * [Options](#user-content-require-description-complete-sentence-options)
7
- * [`tags`](#user-content-require-description-complete-sentence-options-tags)
8
- * [`abbreviations`](#user-content-require-description-complete-sentence-options-abbreviations)
9
- * [`newlineBeforeCapsAssumesBadSentenceEnd`](#user-content-require-description-complete-sentence-options-newlinebeforecapsassumesbadsentenceend)
10
- * [Context and settings](#user-content-require-description-complete-sentence-context-and-settings)
11
- * [Failing examples](#user-content-require-description-complete-sentence-failing-examples)
12
- * [Passing examples](#user-content-require-description-complete-sentence-passing-examples)
13
-
14
-
15
- Requires that block description, explicit `@description`, and
16
- `@param`/`@returns` tag descriptions are written in complete sentences, i.e.,
17
-
18
- * Description must start with an uppercase alphabetical character.
19
- * Paragraphs must start with an uppercase alphabetical character.
20
- * Sentences must end with a period, question mark, exclamation mark, or triple backticks.
21
- * Every line in a paragraph (except the first) which starts with an uppercase
22
- character must be preceded by a line ending with a period.
23
- * A colon or semi-colon followed by two line breaks is still part of the
24
- containing paragraph (unlike normal dual line breaks).
25
- * Text within inline tags `{...}` or within triple backticks are not checked for sentence divisions.
26
- * Periods after items within the `abbreviations` option array are not treated
27
- as sentence endings.
28
-
29
- <a name="user-content-require-description-complete-sentence-fixer"></a>
30
- <a name="require-description-complete-sentence-fixer"></a>
31
- ## Fixer
32
-
33
- If sentences do not end with terminal punctuation, a period will be added.
34
-
35
- If sentences do not start with an uppercase character, the initial
36
- letter will be capitalized.
37
-
38
- <a name="user-content-require-description-complete-sentence-options"></a>
39
- <a name="require-description-complete-sentence-options"></a>
40
- ## Options
41
-
42
- <a name="user-content-require-description-complete-sentence-options-tags"></a>
43
- <a name="require-description-complete-sentence-options-tags"></a>
44
- ### <code>tags</code>
45
-
46
- If you want additional tags to be checked for their descriptions, you may
47
- add them within this option.
48
-
49
- ```js
50
- {
51
- 'jsdoc/require-description-complete-sentence': ['error', {
52
- tags: ['see', 'copyright']
53
- }]
54
- }
55
- ```
56
-
57
- The tags `@param`/`@arg`/`@argument` and `@property`/`@prop` will be properly
58
- parsed to ensure that the checked "description" text includes only the text
59
- after the name.
60
-
61
- All other tags will treat the text following the tag name, a space, and
62
- an optional curly-bracketed type expression (and another space) as part of
63
- its "description" (e.g., for `@returns {someType} some description`, the
64
- description is `some description` while for `@some-tag xyz`, the description
65
- is `xyz`).
66
-
67
- <a name="user-content-require-description-complete-sentence-options-abbreviations"></a>
68
- <a name="require-description-complete-sentence-options-abbreviations"></a>
69
- ### <code>abbreviations</code>
70
-
71
- You can provide an `abbreviations` options array to avoid such strings of text
72
- being treated as sentence endings when followed by dots. The `.` is not
73
- necessary at the end of the array items.
74
-
75
- <a name="user-content-require-description-complete-sentence-options-newlinebeforecapsassumesbadsentenceend"></a>
76
- <a name="require-description-complete-sentence-options-newlinebeforecapsassumesbadsentenceend"></a>
77
- ### <code>newlineBeforeCapsAssumesBadSentenceEnd</code>
78
-
79
- When `false` (the new default), we will not assume capital letters after
80
- newlines are an incorrect way to end the sentence (they may be proper
81
- nouns, for example).
82
-
83
- <a name="user-content-require-description-complete-sentence-context-and-settings"></a>
84
- <a name="require-description-complete-sentence-context-and-settings"></a>
85
- ## Context and settings
86
-
87
- |||
88
- |---|---|
89
- |Context|everywhere|
90
- |Tags|doc block, `param`, `returns`, `description`, `property`, `summary`, `file`, `classdesc`, `todo`, `deprecated`, `throws`, 'yields' and others added by `tags`|
91
- |Aliases|`arg`, `argument`, `return`, `desc`, `prop`, `fileoverview`, `overview`, `exception`, `yield`|
92
- |Recommended|false|
93
- |Options|`abbreviations`, `newlineBeforeCapsAssumesBadSentenceEnd`, `tags`|
94
-
95
- <a name="user-content-require-description-complete-sentence-failing-examples"></a>
96
- <a name="require-description-complete-sentence-failing-examples"></a>
97
- ## Failing examples
98
-
99
- The following patterns are considered problems:
100
-
101
- ````js
102
- /**
103
- * foo.
104
- */
105
- function quux () {
106
-
107
- }
108
- // Message: Sentences should start with an uppercase character.
109
-
110
- /**
111
- * foo?
112
- */
113
- function quux () {
114
-
115
- }
116
- // Message: Sentences should start with an uppercase character.
117
-
118
- /**
119
- * @description foo.
120
- */
121
- function quux () {
122
-
123
- }
124
- // Message: Sentences should start with an uppercase character.
125
-
126
- /**
127
- * Foo)
128
- */
129
- function quux () {
130
-
131
- }
132
- // Message: Sentences must end with a period.
133
-
134
- /**
135
- * `foo` is a variable
136
- */
137
- function quux () {
138
-
139
- }
140
- // Message: Sentences must end with a period.
141
-
142
- /**
143
- * Foo.
144
- *
145
- * foo.
146
- */
147
- function quux () {
148
-
149
- }
150
- // Message: Sentences should start with an uppercase character.
151
-
152
- /**
153
- * тест.
154
- */
155
- function quux () {
156
-
157
- }
158
- // Message: Sentences should start with an uppercase character.
159
-
160
- /**
161
- * Foo
162
- */
163
- function quux () {
164
-
165
- }
166
- // Message: Sentences must end with a period.
167
-
168
- /**
169
- * Foo
170
- *
171
- * @param x
172
- */
173
- function quux () {
174
-
175
- }
176
- // Message: Sentences must end with a period.
177
-
178
- /**
179
- * Foo
180
- * Bar.
181
- */
182
- function quux () {
183
-
184
- }
185
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"newlineBeforeCapsAssumesBadSentenceEnd":true}]
186
- // Message: A line of text is started with an uppercase character, but the preceding line does not end the sentence.
187
-
188
- /**
189
- * Foo.
190
- *
191
- * @param foo foo.
192
- */
193
- function quux (foo) {
194
-
195
- }
196
- // Message: Sentences should start with an uppercase character.
197
-
198
- /**
199
- * Foo.
200
- *
201
- * @param foo bar
202
- */
203
- function quux (foo) {
204
-
205
- }
206
- // Message: Sentences should start with an uppercase character.
207
-
208
- /**
209
- * {@see Foo.bar} buz
210
- */
211
- function quux (foo) {
212
-
213
- }
214
- // Message: Sentences should start with an uppercase character.
215
-
216
- /**
217
- * Foo.
218
- *
219
- * @returns {number} foo
220
- */
221
- function quux (foo) {
222
-
223
- }
224
- // Message: Sentences should start with an uppercase character.
225
-
226
- /**
227
- * Foo.
228
- *
229
- * @returns foo.
230
- */
231
- function quux (foo) {
232
-
233
- }
234
- // Message: Sentences should start with an uppercase character.
235
-
236
- /**
237
- * lorem ipsum dolor sit amet, consectetur adipiscing elit. pellentesque elit diam,
238
- * iaculis eu dignissim sed, ultrices sed nisi. nulla at ligula auctor, consectetur neque sed,
239
- * tincidunt nibh. vivamus sit amet vulputate ligula. vivamus interdum elementum nisl,
240
- * vitae rutrum tortor semper ut. morbi porta ante vitae dictum fermentum.
241
- * proin ut nulla at quam convallis gravida in id elit. sed dolor mauris, blandit quis ante at,
242
- * consequat auctor magna. duis pharetra purus in porttitor mollis.
243
- */
244
- function longDescription (foo) {
245
-
246
- }
247
- // Message: Sentences should start with an uppercase character.
248
-
249
- /**
250
- * @arg {number} foo - Foo
251
- */
252
- function quux (foo) {
253
-
254
- }
255
- // Message: Sentences must end with a period.
256
-
257
- /**
258
- * @argument {number} foo - Foo
259
- */
260
- function quux (foo) {
261
-
262
- }
263
- // Message: Sentences must end with a period.
264
-
265
- /**
266
- * @return {number} foo
267
- */
268
- function quux (foo) {
269
-
270
- }
271
- // Message: Sentences should start with an uppercase character.
272
-
273
- /**
274
- * Returns bar.
275
- *
276
- * @return {number} bar
277
- */
278
- function quux (foo) {
279
-
280
- }
281
- // Message: Sentences should start with an uppercase character.
282
-
283
- /**
284
- * @throws {object} Hello World
285
- * hello world
286
- */
287
- // Message: Sentences must end with a period.
288
-
289
- /**
290
- * @summary Foo
291
- */
292
- function quux () {
293
-
294
- }
295
- // Message: Sentences must end with a period.
296
-
297
- /**
298
- * @throws {SomeType} Foo
299
- */
300
- function quux () {
301
-
302
- }
303
- // Message: Sentences must end with a period.
304
-
305
- /**
306
- * @see Foo
307
- */
308
- function quux () {
309
-
310
- }
311
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["see"]}]
312
- // Message: Sentences must end with a period.
313
-
314
- /**
315
- * @param foo Foo bar
316
- */
317
- function quux (foo) {
318
-
319
- }
320
- // Settings: {"jsdoc":{"tagNamePreference":{"description":false}}}
321
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["param"]}]
322
- // Message: Sentences must end with a period.
323
-
324
- /**
325
- * Sorry, but this isn't a complete sentence, Mr.
326
- */
327
- function quux () {
328
-
329
- }
330
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
331
- // Message: Sentences must end with a period.
332
-
333
- /**
334
- * Sorry, but this isn't a complete sentence Mr.
335
- */
336
- function quux () {
337
-
338
- }
339
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr."]}]
340
- // Message: Sentences must end with a period.
341
-
342
- /**
343
- * Sorry, but this isn't a complete sentence Mr.
344
- */
345
- function quux () {
346
-
347
- }
348
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
349
- // Message: Sentences must end with a period.
350
-
351
- /**
352
- * Sorry, but this isn't a complete sentence Mr. and Mrs.
353
- */
354
- function quux () {
355
-
356
- }
357
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr","Mrs"]}]
358
- // Message: Sentences must end with a period.
359
-
360
- /**
361
- * This is a complete sentence. But this isn't, Mr.
362
- */
363
- function quux () {
364
-
365
- }
366
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
367
- // Message: Sentences must end with a period.
368
-
369
- /**
370
- * This is a complete Mr. sentence. But this isn't, Mr.
371
- */
372
- function quux () {
373
-
374
- }
375
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
376
- // Message: Sentences must end with a period.
377
-
378
- /**
379
- * This is a complete Mr. sentence.
380
- */
381
- function quux () {
382
-
383
- }
384
- // Message: Sentences should start with an uppercase character.
385
-
386
- /**
387
- * This is fun, i.e. enjoyable, but not superlatively so, e.g. not
388
- * super, wonderful, etc..
389
- */
390
- function quux () {
391
-
392
- }
393
- // Message: Sentences should start with an uppercase character.
394
-
395
- /**
396
- * Do not have dynamic content; e.g. homepage. Here a simple unique id
397
- * suffices.
398
- */
399
- function quux () {
400
-
401
- }
402
- // Message: Sentences should start with an uppercase character.
403
-
404
- /**
405
- * Implements support for the
406
- * Swahili voice synthesizer.
407
- */
408
- function speak() {
409
- }
410
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"newlineBeforeCapsAssumesBadSentenceEnd":true}]
411
- // Message: A line of text is started with an uppercase character, but the preceding line does not end the sentence.
412
-
413
- /**
414
- * Foo.
415
- *
416
- * @template TempA, TempB foo.
417
- */
418
- function quux (foo) {
419
-
420
- }
421
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["template"]}]
422
- // Message: Sentences should start with an uppercase character.
423
-
424
- /**
425
- * Just a component.
426
- * @param {Object} props Свойства.
427
- * @return {ReactElement}.
428
- */
429
- function quux () {}
430
- // Message: Sentences must be more than punctuation.
431
- ````
432
-
433
-
434
-
435
- <a name="user-content-require-description-complete-sentence-passing-examples"></a>
436
- <a name="require-description-complete-sentence-passing-examples"></a>
437
- ## Passing examples
438
-
439
- The following patterns are not considered problems:
440
-
441
- ````js
442
- /**
443
- * @param foo - Foo.
444
- */
445
- function quux () {
446
-
447
- }
448
-
449
- /**
450
- * Foo.
451
- */
452
- function quux () {
453
-
454
- }
455
-
456
- /**
457
- * Foo.
458
- * Bar.
459
- */
460
- function quux () {
461
-
462
- }
463
-
464
- /**
465
- * Foo.
466
- *
467
- * Bar.
468
- */
469
- function quux () {
470
-
471
- }
472
-
473
- /**
474
- * Тест.
475
- */
476
- function quux () {
477
-
478
- }
479
-
480
- /**
481
- * Foo
482
- * bar.
483
- */
484
- function quux () {
485
-
486
- }
487
-
488
- /**
489
- * @returns Foo bar.
490
- */
491
- function quux () {
492
-
493
- }
494
-
495
- /**
496
- * Foo {@see Math.sin}.
497
- */
498
- function quux () {
499
-
500
- }
501
-
502
- /**
503
- * Foo {@see Math.sin} bar.
504
- */
505
- function quux () {
506
-
507
- }
508
-
509
- /**
510
- * Foo?
511
- *
512
- * Bar!
513
- *
514
- * Baz:
515
- * 1. Foo.
516
- * 2. Bar.
517
- */
518
- function quux () {
519
-
520
- }
521
-
522
- /**
523
- * Hello:
524
- * World.
525
- */
526
- function quux () {
527
-
528
- }
529
-
530
- /**
531
- * Hello: world.
532
- */
533
- function quux () {
534
-
535
- }
536
-
537
- /**
538
- *
539
- */
540
- function quux () {
541
-
542
- }
543
-
544
- /**
545
- * @description Foo.
546
- */
547
- function quux () {
548
-
549
- }
550
-
551
- /**
552
- * `foo` is a variable.
553
- */
554
- function quux () {
555
-
556
- }
557
-
558
- /**
559
- * Foo.
560
- *
561
- * `foo`.
562
- */
563
- function quux () {
564
-
565
- }
566
-
567
- /**
568
- * @param foo - `bar`.
569
- */
570
- function quux () {
571
-
572
- }
573
-
574
- /**
575
- * @returns {number} `foo`.
576
- */
577
- function quux () {
578
-
579
- }
580
-
581
- /**
582
- * Foo
583
- * `bar`.
584
- */
585
- function quux () {
586
-
587
- }
588
-
589
- /**
590
- * @example Foo
591
- */
592
- function quux () {
593
-
594
- }
595
-
596
- /**
597
- * @see Foo
598
- */
599
- function quux () {
600
-
601
- }
602
-
603
- /**
604
- * Foo.
605
- *
606
- * @param foo Foo.
607
- */
608
- function quux (foo) {
609
-
610
- }
611
-
612
- /**
613
- * Foo.
614
- *
615
- * @param foo Foo.
616
- */
617
- function quux (foo) {
618
-
619
- }
620
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["param"]}]
621
-
622
- /**
623
- * @param foo Foo bar.
624
- */
625
- function quux (foo) {
626
-
627
- }
628
- // Settings: {"jsdoc":{"tagNamePreference":{"description":false}}}
629
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["param"]}]
630
-
631
- /**
632
- *
633
- */
634
- function quux (foo) {
635
-
636
- }
637
- // Settings: {"jsdoc":{"tagNamePreference":{"description":false}}}
638
-
639
- /**
640
- * We stop loading Items when we have loaded:
641
- *
642
- * 1) The main Item;
643
- * 2) All its variants.
644
- */
645
-
646
- /**
647
- * This method is working on 2 steps.
648
- *
649
- * | Step | Comment |
650
- * |------|-------------|
651
- * | 1 | do it |
652
- * | 2 | do it again |
653
- */
654
-
655
- /**
656
- * This is something that
657
- * I want to test.
658
- */
659
- function quux () {
660
-
661
- }
662
-
663
- /**
664
- * When making HTTP requests, the
665
- * URL is super important.
666
- */
667
- function quux () {
668
-
669
- }
670
-
671
- /**
672
- * Sorry, but this isn't a complete sentence, Mr.
673
- */
674
- function quux () {
675
-
676
- }
677
-
678
- /**
679
- * Sorry, but this isn't a complete sentence Mr..
680
- */
681
- function quux () {
682
-
683
- }
684
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr."]}]
685
-
686
- /**
687
- * Sorry, but this isn't a complete sentence Mr.
688
- */
689
- function quux () {
690
-
691
- }
692
-
693
- /**
694
- * Sorry, but this isn't a complete sentence Mr. and Mrs..
695
- */
696
- function quux () {
697
-
698
- }
699
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr","Mrs"]}]
700
-
701
- /**
702
- * This is a complete sentence aMr.
703
- */
704
- function quux () {
705
-
706
- }
707
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
708
-
709
- /**
710
- * This is a complete sentence. But this isn't, Mr.
711
- */
712
- function quux () {
713
-
714
- }
715
-
716
- /**
717
- * This is a complete Mr. Sentence. But this isn't, Mr.
718
- */
719
- function quux () {
720
-
721
- }
722
-
723
- /**
724
- * This is a complete Mr. sentence.
725
- */
726
- function quux () {
727
-
728
- }
729
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
730
-
731
- /**
732
- * This is fun, i.e. enjoyable, but not superlatively so, e.g. not
733
- * super, wonderful, etc..
734
- */
735
- function quux () {
736
-
737
- }
738
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["etc","e.g.","i.e."]}]
739
-
740
-
741
- **
742
- * Do not have dynamic content; e.g. homepage. Here a simple unique id
743
- * suffices.
744
- */
745
- function quux () {
746
-
747
- }
748
- // "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["etc","e.g.","i.e."]}]
749
-
750
- /**
751
- * Implements support for the
752
- * Swahili voice synthesizer.
753
- */
754
- function speak() {
755
- }
756
-
757
- /**
758
- * @param foo
759
- *
760
- * @returns {void}
761
- */
762
- export default (foo) => {
763
- foo()
764
- }
765
-
766
- /** @file To learn more,
767
- * see: https://github.com/d3/d3-ease. */
768
-
769
- /** To learn more,
770
- * see: https://github.com/d3/d3-ease. */
771
-
772
- /**
773
- * This is a complete sentence...
774
- */
775
- function quux () {
776
-
777
- }
778
-
779
- /**
780
- * He wanted a few items: a jacket and shirt...
781
- */
782
- function quux () {
783
-
784
- }
785
-
786
- /**
787
- * The code in question was...
788
- * ```
789
- * alert('hello');
790
- * ```
791
- */
792
- function quux () {
793
-
794
- }
795
-
796
- /**
797
- * @param {number|string|Date|Object|OverType|WhateverElse} multiType -
798
- * Nice long explanation...
799
- */
800
- function test (multiType) {
801
- }
802
-
803
- /**
804
- * Any kind of fowl (e.g., a duck).
805
- */
806
- function quux () {}
807
-
808
- /**
809
- * The code in question was...
810
- * ```
811
- * do something
812
- *
813
- * interesting
814
- * ```
815
- */
816
- function quux () {
817
-
818
- }
819
- ````
820
-