eslint-plugin-jsdoc 46.4.6 → 46.5.1

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 (191) hide show
  1. package/README.md +31 -0
  2. package/dist/index.js +21 -10
  3. package/dist/index.js.map +1 -1
  4. package/dist/jsdocUtils.js +1 -1
  5. package/dist/jsdocUtils.js.map +1 -1
  6. package/dist/rules/matchDescription.js +1 -1
  7. package/dist/rules/matchDescription.js.map +1 -1
  8. package/package.json +14 -12
  9. package/dist/WarnSettings.d.ts +0 -17
  10. package/dist/WarnSettings.d.ts.map +0 -1
  11. package/dist/alignTransform.d.ts +0 -32
  12. package/dist/alignTransform.d.ts.map +0 -1
  13. package/dist/defaultTagOrder.d.ts +0 -5
  14. package/dist/defaultTagOrder.d.ts.map +0 -1
  15. package/dist/exportParser.d.ts +0 -41
  16. package/dist/exportParser.d.ts.map +0 -1
  17. package/dist/getDefaultTagStructureForMode.d.ts +0 -11
  18. package/dist/getDefaultTagStructureForMode.d.ts.map +0 -1
  19. package/dist/index.d.ts +0 -10
  20. package/dist/index.d.ts.map +0 -1
  21. package/dist/iterateJsdoc.d.ts +0 -460
  22. package/dist/iterateJsdoc.d.ts.map +0 -1
  23. package/dist/jsdocUtils.d.ts +0 -421
  24. package/dist/jsdocUtils.d.ts.map +0 -1
  25. package/dist/rules/checkAccess.d.ts +0 -3
  26. package/dist/rules/checkAccess.d.ts.map +0 -1
  27. package/dist/rules/checkAlignment.d.ts +0 -3
  28. package/dist/rules/checkAlignment.d.ts.map +0 -1
  29. package/dist/rules/checkExamples.d.ts +0 -4
  30. package/dist/rules/checkExamples.d.ts.map +0 -1
  31. package/dist/rules/checkIndentation.d.ts +0 -3
  32. package/dist/rules/checkIndentation.d.ts.map +0 -1
  33. package/dist/rules/checkLineAlignment.d.ts +0 -10
  34. package/dist/rules/checkLineAlignment.d.ts.map +0 -1
  35. package/dist/rules/checkParamNames.d.ts +0 -3
  36. package/dist/rules/checkParamNames.d.ts.map +0 -1
  37. package/dist/rules/checkPropertyNames.d.ts +0 -3
  38. package/dist/rules/checkPropertyNames.d.ts.map +0 -1
  39. package/dist/rules/checkSyntax.d.ts +0 -3
  40. package/dist/rules/checkSyntax.d.ts.map +0 -1
  41. package/dist/rules/checkTagNames.d.ts +0 -3
  42. package/dist/rules/checkTagNames.d.ts.map +0 -1
  43. package/dist/rules/checkTypes.d.ts +0 -3
  44. package/dist/rules/checkTypes.d.ts.map +0 -1
  45. package/dist/rules/checkValues.d.ts +0 -3
  46. package/dist/rules/checkValues.d.ts.map +0 -1
  47. package/dist/rules/emptyTags.d.ts +0 -3
  48. package/dist/rules/emptyTags.d.ts.map +0 -1
  49. package/dist/rules/implementsOnClasses.d.ts +0 -3
  50. package/dist/rules/implementsOnClasses.d.ts.map +0 -1
  51. package/dist/rules/importsAsDependencies.d.ts +0 -3
  52. package/dist/rules/importsAsDependencies.d.ts.map +0 -1
  53. package/dist/rules/informativeDocs.d.ts +0 -3
  54. package/dist/rules/informativeDocs.d.ts.map +0 -1
  55. package/dist/rules/matchDescription.d.ts +0 -3
  56. package/dist/rules/matchDescription.d.ts.map +0 -1
  57. package/dist/rules/matchName.d.ts +0 -3
  58. package/dist/rules/matchName.d.ts.map +0 -1
  59. package/dist/rules/multilineBlocks.d.ts +0 -3
  60. package/dist/rules/multilineBlocks.d.ts.map +0 -1
  61. package/dist/rules/noBadBlocks.d.ts +0 -3
  62. package/dist/rules/noBadBlocks.d.ts.map +0 -1
  63. package/dist/rules/noBlankBlockDescriptions.d.ts +0 -3
  64. package/dist/rules/noBlankBlockDescriptions.d.ts.map +0 -1
  65. package/dist/rules/noBlankBlocks.d.ts +0 -3
  66. package/dist/rules/noBlankBlocks.d.ts.map +0 -1
  67. package/dist/rules/noDefaults.d.ts +0 -3
  68. package/dist/rules/noDefaults.d.ts.map +0 -1
  69. package/dist/rules/noMissingSyntax.d.ts +0 -10
  70. package/dist/rules/noMissingSyntax.d.ts.map +0 -1
  71. package/dist/rules/noMultiAsterisks.d.ts +0 -3
  72. package/dist/rules/noMultiAsterisks.d.ts.map +0 -1
  73. package/dist/rules/noRestrictedSyntax.d.ts +0 -3
  74. package/dist/rules/noRestrictedSyntax.d.ts.map +0 -1
  75. package/dist/rules/noTypes.d.ts +0 -3
  76. package/dist/rules/noTypes.d.ts.map +0 -1
  77. package/dist/rules/noUndefinedTypes.d.ts +0 -3
  78. package/dist/rules/noUndefinedTypes.d.ts.map +0 -1
  79. package/dist/rules/requireAsteriskPrefix.d.ts +0 -3
  80. package/dist/rules/requireAsteriskPrefix.d.ts.map +0 -1
  81. package/dist/rules/requireDescription.d.ts +0 -3
  82. package/dist/rules/requireDescription.d.ts.map +0 -1
  83. package/dist/rules/requireDescriptionCompleteSentence.d.ts +0 -3
  84. package/dist/rules/requireDescriptionCompleteSentence.d.ts.map +0 -1
  85. package/dist/rules/requireExample.d.ts +0 -3
  86. package/dist/rules/requireExample.d.ts.map +0 -1
  87. package/dist/rules/requireFileOverview.d.ts +0 -3
  88. package/dist/rules/requireFileOverview.d.ts.map +0 -1
  89. package/dist/rules/requireHyphenBeforeParamDescription.d.ts +0 -3
  90. package/dist/rules/requireHyphenBeforeParamDescription.d.ts.map +0 -1
  91. package/dist/rules/requireJsdoc.d.ts +0 -9
  92. package/dist/rules/requireJsdoc.d.ts.map +0 -1
  93. package/dist/rules/requireParam.d.ts +0 -4
  94. package/dist/rules/requireParam.d.ts.map +0 -1
  95. package/dist/rules/requireParamDescription.d.ts +0 -3
  96. package/dist/rules/requireParamDescription.d.ts.map +0 -1
  97. package/dist/rules/requireParamName.d.ts +0 -3
  98. package/dist/rules/requireParamName.d.ts.map +0 -1
  99. package/dist/rules/requireParamType.d.ts +0 -3
  100. package/dist/rules/requireParamType.d.ts.map +0 -1
  101. package/dist/rules/requireProperty.d.ts +0 -3
  102. package/dist/rules/requireProperty.d.ts.map +0 -1
  103. package/dist/rules/requirePropertyDescription.d.ts +0 -3
  104. package/dist/rules/requirePropertyDescription.d.ts.map +0 -1
  105. package/dist/rules/requirePropertyName.d.ts +0 -3
  106. package/dist/rules/requirePropertyName.d.ts.map +0 -1
  107. package/dist/rules/requirePropertyType.d.ts +0 -3
  108. package/dist/rules/requirePropertyType.d.ts.map +0 -1
  109. package/dist/rules/requireReturns.d.ts +0 -3
  110. package/dist/rules/requireReturns.d.ts.map +0 -1
  111. package/dist/rules/requireReturnsCheck.d.ts +0 -3
  112. package/dist/rules/requireReturnsCheck.d.ts.map +0 -1
  113. package/dist/rules/requireReturnsDescription.d.ts +0 -3
  114. package/dist/rules/requireReturnsDescription.d.ts.map +0 -1
  115. package/dist/rules/requireReturnsType.d.ts +0 -3
  116. package/dist/rules/requireReturnsType.d.ts.map +0 -1
  117. package/dist/rules/requireThrows.d.ts +0 -3
  118. package/dist/rules/requireThrows.d.ts.map +0 -1
  119. package/dist/rules/requireYields.d.ts +0 -3
  120. package/dist/rules/requireYields.d.ts.map +0 -1
  121. package/dist/rules/requireYieldsCheck.d.ts +0 -3
  122. package/dist/rules/requireYieldsCheck.d.ts.map +0 -1
  123. package/dist/rules/sortTags.d.ts +0 -3
  124. package/dist/rules/sortTags.d.ts.map +0 -1
  125. package/dist/rules/tagLines.d.ts +0 -3
  126. package/dist/rules/tagLines.d.ts.map +0 -1
  127. package/dist/rules/textEscaping.d.ts +0 -3
  128. package/dist/rules/textEscaping.d.ts.map +0 -1
  129. package/dist/rules/validTypes.d.ts +0 -3
  130. package/dist/rules/validTypes.d.ts.map +0 -1
  131. package/dist/tagNames.d.ts +0 -16
  132. package/dist/tagNames.d.ts.map +0 -1
  133. package/dist/utils/hasReturnValue.d.ts +0 -20
  134. package/dist/utils/hasReturnValue.d.ts.map +0 -1
  135. package/docs/advanced.md +0 -102
  136. package/docs/rules/check-access.md +0 -193
  137. package/docs/rules/check-alignment.md +0 -169
  138. package/docs/rules/check-examples.md +0 -784
  139. package/docs/rules/check-indentation.md +0 -296
  140. package/docs/rules/check-line-alignment.md +0 -1002
  141. package/docs/rules/check-param-names.md +0 -1035
  142. package/docs/rules/check-property-names.md +0 -244
  143. package/docs/rules/check-syntax.md +0 -80
  144. package/docs/rules/check-tag-names.md +0 -1132
  145. package/docs/rules/check-types.md +0 -1198
  146. package/docs/rules/check-values.md +0 -409
  147. package/docs/rules/empty-tags.md +0 -220
  148. package/docs/rules/implements-on-classes.md +0 -219
  149. package/docs/rules/imports-as-dependencies.md +0 -99
  150. package/docs/rules/informative-docs.md +0 -400
  151. package/docs/rules/match-description.md +0 -1008
  152. package/docs/rules/match-name.md +0 -249
  153. package/docs/rules/multiline-blocks.md +0 -398
  154. package/docs/rules/no-bad-blocks.md +0 -174
  155. package/docs/rules/no-blank-block-descriptions.md +0 -91
  156. package/docs/rules/no-blank-blocks.md +0 -98
  157. package/docs/rules/no-defaults.md +0 -207
  158. package/docs/rules/no-missing-syntax.md +0 -275
  159. package/docs/rules/no-multi-asterisks.md +0 -278
  160. package/docs/rules/no-restricted-syntax.md +0 -383
  161. package/docs/rules/no-types.md +0 -168
  162. package/docs/rules/no-undefined-types.md +0 -789
  163. package/docs/rules/require-asterisk-prefix.md +0 -297
  164. package/docs/rules/require-description-complete-sentence.md +0 -820
  165. package/docs/rules/require-description.md +0 -585
  166. package/docs/rules/require-example.md +0 -390
  167. package/docs/rules/require-file-overview.md +0 -324
  168. package/docs/rules/require-hyphen-before-param-description.md +0 -281
  169. package/docs/rules/require-jsdoc.md +0 -1857
  170. package/docs/rules/require-param-description.md +0 -238
  171. package/docs/rules/require-param-name.md +0 -163
  172. package/docs/rules/require-param-type.md +0 -227
  173. package/docs/rules/require-param.md +0 -1820
  174. package/docs/rules/require-property-description.md +0 -88
  175. package/docs/rules/require-property-name.md +0 -79
  176. package/docs/rules/require-property-type.md +0 -79
  177. package/docs/rules/require-property.md +0 -128
  178. package/docs/rules/require-returns-check.md +0 -1053
  179. package/docs/rules/require-returns-description.md +0 -181
  180. package/docs/rules/require-returns-type.md +0 -144
  181. package/docs/rules/require-returns.md +0 -1191
  182. package/docs/rules/require-throws.md +0 -326
  183. package/docs/rules/require-yields-check.md +0 -544
  184. package/docs/rules/require-yields.md +0 -823
  185. package/docs/rules/sort-tags.md +0 -635
  186. package/docs/rules/tag-lines.md +0 -551
  187. package/docs/rules/text-escaping.md +0 -177
  188. package/docs/rules/valid-types.md +0 -881
  189. package/docs/settings.md +0 -362
  190. package/tsconfig-prod.json +0 -20
  191. package/tsconfig.json +0 -21
@@ -1,551 +0,0 @@
1
- <a name="user-content-tag-lines"></a>
2
- <a name="tag-lines"></a>
3
- # <code>tag-lines</code>
4
-
5
- * [Fixer](#user-content-tag-lines-fixer)
6
- * [Options](#user-content-tag-lines-options)
7
- * [`count` (defaults to 1)](#user-content-tag-lines-options-count-defaults-to-1)
8
- * [`applyToEndTag` (defaults to `true`)](#user-content-tag-lines-options-applytoendtag-defaults-to-true)
9
- * [`startLines` (defaults to `0`)](#user-content-tag-lines-options-startlines-defaults-to-0)
10
- * [`endLines` (defaults to `0`)](#user-content-tag-lines-options-endlines-defaults-to-0)
11
- * [`tags` (default to empty object)](#user-content-tag-lines-options-tags-default-to-empty-object)
12
- * [Context and settings](#user-content-tag-lines-context-and-settings)
13
- * [Failing examples](#user-content-tag-lines-failing-examples)
14
- * [Passing examples](#user-content-tag-lines-passing-examples)
15
-
16
-
17
- Enforces lines (or no lines) between tags.
18
-
19
- If you only want lines preceding all tags or after all tags, you can use
20
- the "any" option along with `startLines` and/or `endLines`.
21
-
22
- The "always" or "never" options of this rule should not
23
- be used with the linebreak-setting options of the `sort-tags` rule as both
24
- may try to impose a conflicting number of lines.
25
-
26
- <a name="user-content-tag-lines-fixer"></a>
27
- <a name="tag-lines-fixer"></a>
28
- ## Fixer
29
-
30
- (TODO)
31
-
32
- <a name="user-content-tag-lines-options"></a>
33
- <a name="tag-lines-options"></a>
34
- ## Options
35
-
36
- The first option is a single string set to "always", "never", or "any"
37
- (defaults to "never").
38
-
39
- "any" is only useful with `tags` (allowing non-enforcement of lines except
40
- for particular tags) or with `startLines` or `endLines`. It is also
41
- necessary if using the linebreak-setting options of the `sort-tags` rule
42
- so that the two rules won't conflict in both attempting to set lines
43
- between tags.
44
-
45
- The second option is an object with the following optional properties.
46
-
47
- <a name="user-content-tag-lines-options-count-defaults-to-1"></a>
48
- <a name="tag-lines-options-count-defaults-to-1"></a>
49
- ### <code>count</code> (defaults to 1)
50
-
51
- Use with "always" to indicate the number of lines to require be present.
52
-
53
- <a name="user-content-tag-lines-options-applytoendtag-defaults-to-true"></a>
54
- <a name="tag-lines-options-applytoendtag-defaults-to-true"></a>
55
- ### <code>applyToEndTag</code> (defaults to <code>true</code>)
56
-
57
- Set to `false` and use with "always" to indicate the normal lines to be
58
- added after tags should not be added after the final tag.
59
-
60
- <a name="user-content-tag-lines-options-startlines-defaults-to-0"></a>
61
- <a name="tag-lines-options-startlines-defaults-to-0"></a>
62
- ### <code>startLines</code> (defaults to <code>0</code>)
63
-
64
- If not set to `null`, will enforce end lines to the given count before the
65
- first tag only, unless there is only whitespace content, in which case,
66
- a line count will not be enforced.
67
-
68
- <a name="user-content-tag-lines-options-endlines-defaults-to-0"></a>
69
- <a name="tag-lines-options-endlines-defaults-to-0"></a>
70
- ### <code>endLines</code> (defaults to <code>0</code>)
71
-
72
- If not set to `null`, will enforce end lines to the given count on the
73
- final tag only.
74
-
75
- <a name="user-content-tag-lines-options-tags-default-to-empty-object"></a>
76
- <a name="tag-lines-options-tags-default-to-empty-object"></a>
77
- ### <code>tags</code> (default to empty object)
78
-
79
- Overrides the default behavior depending on specific tags.
80
-
81
- An object whose keys are tag names and whose values are objects with the
82
- following keys:
83
-
84
- 1. `lines` - Set to `always`, `never`, or `any` to override.
85
- 2. `count` - Overrides main `count` (for "always")
86
-
87
- <a name="user-content-tag-lines-context-and-settings"></a>
88
- <a name="tag-lines-context-and-settings"></a>
89
- ## Context and settings
90
-
91
- |||
92
- |---|---|
93
- |Context|everywhere|
94
- |Tags|Any|
95
- |Recommended|true|
96
- |Settings|N/A|
97
- |Options|string ("always", "any", "never") followed by object with `applyToEndTag`, `count`, `endLines`, `startLines`, `tags`|
98
-
99
- <a name="user-content-tag-lines-failing-examples"></a>
100
- <a name="tag-lines-failing-examples"></a>
101
- ## Failing examples
102
-
103
- The following patterns are considered problems:
104
-
105
- ````js
106
- /**
107
- * Some description
108
- * @param {string} a
109
- * @param {number} b
110
- */
111
- // "jsdoc/tag-lines": ["error"|"warn", "always"]
112
- // Message: Expected 1 line between tags but found 0
113
-
114
- /**
115
- * Some description
116
- * @param {string} a
117
- * @param {number} b
118
- */
119
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"count":2}]
120
- // Message: Expected 2 lines between tags but found 0
121
-
122
- /**
123
- * Some description
124
- * @param {string} a
125
- *
126
- * @param {number} b
127
- */
128
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"count":2}]
129
- // Message: Expected 2 lines between tags but found 1
130
-
131
- /**
132
- * Some description
133
- * @param {string} a
134
- * @param {number} b
135
- */
136
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"applyToEndTag":false}]
137
- // Message: Expected 1 line between tags but found 0
138
-
139
- /**
140
- * Some description
141
- * @param {string} a
142
- *
143
- * @param {number} b
144
- *
145
- */
146
- // "jsdoc/tag-lines": ["error"|"warn", "never"]
147
- // Message: Expected no lines between tags
148
-
149
- /**
150
- * Some description
151
- * @param {string} a
152
- *
153
- * @param {number} b
154
- *
155
- */
156
- // Message: Expected no lines between tags
157
-
158
- /**
159
- * Some description
160
- * @param {string} a
161
- *
162
- * @param {number} b
163
- * @param {number} c
164
- */
165
- // "jsdoc/tag-lines": ["error"|"warn", "always"]
166
- // Message: Expected 1 line between tags but found 0
167
-
168
- /**
169
- * Some description
170
- * @param {string} a
171
- * @param {number} b
172
- */
173
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"always"}}}]
174
- // Message: Expected 1 line between tags but found 0
175
-
176
- /**
177
- * Some description
178
- * @param {string} a
179
- * @param {number} b
180
- */
181
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"always"}}}]
182
- // Message: Expected 1 line between tags but found 0
183
-
184
- /**
185
- * Some description
186
- * @param {string} a
187
- * @param {number} b
188
- *
189
- */
190
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"tags":{"param":{"lines":"never"}}}]
191
- // Message: Expected no lines between tags
192
-
193
- /**
194
- * Some description
195
- * @param {string} a
196
- *
197
- * @param {number} b
198
- */
199
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"count":2,"tags":{"param":{"lines":"always"}}}]
200
- // Message: Expected 2 lines between tags but found 1
201
-
202
- /**
203
- * Some description
204
- * @param {string} a
205
- *
206
- * @param {number} b
207
- */
208
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"count":5,"tags":{"param":{"count":2,"lines":"always"}}}]
209
- // Message: Expected 2 lines between tags but found 1
210
-
211
- /**
212
- * Some description
213
- * @param {string} a
214
- * @param {number} b
215
- */
216
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"tags":{"anotherTag":{"lines":"never"}}}]
217
- // Message: Expected 1 line between tags but found 0
218
-
219
- /**
220
- * Some description
221
- * @param {string} A broken up
222
- *
223
- * tag description.
224
- * @param {number} b
225
- *
226
- */
227
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"endLines":null}]
228
- // Message: Expected 1 line between tags but found 0
229
-
230
- /**
231
- * Some description
232
- * @param {number} b
233
- *
234
- * @returns {string} A broken up
235
- *
236
- * tag description.
237
- */
238
- // "jsdoc/tag-lines": ["error"|"warn", "always"]
239
- // Message: Expected 1 line between tags but found 0
240
-
241
- /**
242
- * Some description
243
- * @param {string} a
244
- * @param {string} b
245
- *
246
- * @returns {SomeType} An extended
247
- * description.
248
- *
249
- * This is still part of `@returns`.
250
- *
251
- */
252
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"endLines":0}]
253
- // Message: Expected 0 trailing lines
254
-
255
- /**
256
- * Some description
257
- * @param {string} a
258
- * @param {string} b
259
- *
260
- * @returns {SomeType} An extended
261
- * description.
262
- *
263
- * This is still part of `@returns`.
264
- *
265
- *
266
- *
267
- */
268
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"endLines":1}]
269
- // Message: Expected 1 trailing lines
270
-
271
- /**
272
- * Some description
273
- * @param {string} a
274
- * @param {string} b
275
- *
276
- * @returns {SomeType} An extended
277
- * description.
278
- *
279
- * This is still part of `@returns`.
280
- *
281
- */
282
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"endLines":2}]
283
- // Message: Expected 2 trailing lines
284
-
285
- /**
286
- * Some description
287
- *
288
- *
289
- * @param {string} a
290
- */
291
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":1}]
292
- // Message: Expected only 1 line after block description
293
-
294
- /**
295
- * Some description
296
- *
297
- * @param {string} a
298
- */
299
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":0}]
300
- // Message: Expected only 0 line after block description
301
-
302
- /**
303
- * Some description
304
- *
305
- * @param {string} a
306
- */
307
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":2}]
308
- // Message: Expected 2 lines after block description
309
-
310
- /**
311
- * Some description
312
- * @param {string} a
313
- */
314
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":1}]
315
- // Message: Expected 1 lines after block description
316
- ````
317
-
318
-
319
-
320
- <a name="user-content-tag-lines-passing-examples"></a>
321
- <a name="tag-lines-passing-examples"></a>
322
- ## Passing examples
323
-
324
- The following patterns are not considered problems:
325
-
326
- ````js
327
- /**
328
- * Some description
329
- * @param {string} a
330
- * @param {number} b
331
- */
332
-
333
- /**
334
- * Some description
335
- * @param {string} a
336
- * @param {number} b
337
- */
338
- // "jsdoc/tag-lines": ["error"|"warn", "never"]
339
-
340
- /**
341
- * @param {string} a
342
- *
343
- * @param {string} a
344
- */
345
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"applyToEndTag":false}]
346
-
347
- /**
348
- * @param {string} a
349
- */
350
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"applyToEndTag":false}]
351
-
352
- /** @param {number} b */
353
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"applyToEndTag":false}]
354
-
355
- /**
356
- * Some description
357
- * @param {string} a
358
- *
359
- * @param {number} b
360
- *
361
- */
362
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"endLines":null}]
363
-
364
- /**
365
- * Some description
366
- * @param {string} a
367
- *
368
- *
369
- * @param {number} b
370
- *
371
- *
372
- */
373
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"count":2,"endLines":null}]
374
-
375
- /**
376
- * Some description
377
- * @param {string} a
378
- * @param {number} b
379
- */
380
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"any"}}}]
381
-
382
- /**
383
- * Some description
384
- * @param {string} a
385
- * @param {number} b
386
- */
387
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"tags":{"param":{"lines":"any"}}}]
388
-
389
- /**
390
- * Some description
391
- * @param {string} a
392
- * @param {number} b
393
- */
394
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"tags":{"param":{"lines":"never"}}}]
395
-
396
- /**
397
- * Some description
398
- * @param {number} a
399
- * @param {number} b
400
- */
401
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"any"}}}]
402
-
403
- /**
404
- * Some description
405
- * @param {number} a
406
- *
407
- * @param {number} b
408
- */
409
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"any"}}}]
410
-
411
- /**
412
- * Some description
413
- * @param {number} a
414
- * @param {number} b
415
- */
416
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"param":{"lines":"never"}}}]
417
-
418
- /**
419
- * Some description
420
- * @param {string} a
421
- *
422
- *
423
- * @param {number} b
424
- *
425
- *
426
- */
427
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"count":5,"tags":{"param":{"count":2,"lines":"always"}}}]
428
-
429
- /**
430
- * Some description
431
- * @param {string} a
432
- * @param {number} b
433
- */
434
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"tags":{"anotherTag":{"lines":"always"}}}]
435
-
436
- /**
437
- * Some description
438
- * @param {string} a
439
- *
440
- * This is still part of `@param`.
441
- * @returns {SomeType} An extended
442
- * description.
443
- */
444
- // "jsdoc/tag-lines": ["error"|"warn", "never"]
445
-
446
- /**
447
- * Some description
448
- * @param {string} a
449
- * @returns {SomeType} An extended
450
- * description.
451
- *
452
- * This is still part of `@returns`.
453
- */
454
- // "jsdoc/tag-lines": ["error"|"warn", "never"]
455
-
456
- /**
457
- * Some description
458
- * @param {string} a
459
- *
460
- * This is still part of `@param`.
461
- *
462
- * @returns {SomeType} An extended
463
- * description.
464
- *
465
- */
466
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"endLines":null}]
467
-
468
- /**
469
- * Some description
470
- * @param {string} a
471
- *
472
- * @returns {SomeType} An extended
473
- * description.
474
- *
475
- * This is still part of `@returns`.
476
- *
477
- */
478
- // "jsdoc/tag-lines": ["error"|"warn", "always",{"endLines":null}]
479
-
480
- /**
481
- * Some description
482
- * @param {string} a
483
- * @param {string} b
484
- *
485
- * @returns {SomeType} An extended
486
- * description.
487
- *
488
- * This is still part of `@returns`.
489
- */
490
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"endLines":0}]
491
-
492
- /**
493
- * Some description
494
- *
495
- * @param {string} a
496
- */
497
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":1}]
498
-
499
- /**
500
- * Some description
501
- * @param {string} a
502
- *
503
- */
504
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"endLines":1}]
505
-
506
- /**
507
- * Some description
508
- *
509
- *
510
- * @param {string} a
511
- */
512
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"startLines":null}]
513
-
514
- /**
515
- * Some description
516
- * @param {string} a
517
- */
518
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"startLines":null}]
519
-
520
- /**
521
- * @param {string} input
522
- */
523
- function processSass (input) {
524
- }
525
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"startLines":1}]
526
-
527
- /**
528
- *
529
- * @param {string} input
530
- */
531
- function processSass (input) {
532
- }
533
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"startLines":1}]
534
-
535
- /**
536
- * Toggles the deselect all icon button action
537
- */
538
- function updateIconButton () {
539
- }
540
- // "jsdoc/tag-lines": ["error"|"warn", "never",{"startLines":1}]
541
-
542
- /** A class. */
543
- class _Foo {
544
- /** @param arg Argument. */
545
- conststructor(arg: string) {
546
- console.log(arg);
547
- }
548
- }
549
- // "jsdoc/tag-lines": ["error"|"warn", "any",{"startLines":1}]
550
- ````
551
-