eslint-plugin-jsdoc 43.1.1 → 44.0.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 (109) hide show
  1. package/README.md +58 -24393
  2. package/dist/WarnSettings.js.map +1 -1
  3. package/dist/alignTransform.js.map +1 -1
  4. package/dist/bin/generateRule.js.map +1 -1
  5. package/dist/exportParser.js.map +1 -1
  6. package/dist/generateRule.js.map +1 -1
  7. package/dist/iterateJsdoc.js +2 -2
  8. package/dist/iterateJsdoc.js.map +1 -1
  9. package/dist/jsdocUtils.js.map +1 -1
  10. package/dist/rules/checkAccess.js.map +1 -1
  11. package/dist/rules/checkExamples.js.map +1 -1
  12. package/dist/rules/checkLineAlignment.js.map +1 -1
  13. package/dist/rules/checkParamNames.js.map +1 -1
  14. package/dist/rules/checkPropertyNames.js.map +1 -1
  15. package/dist/rules/checkTagNames.js.map +1 -1
  16. package/dist/rules/checkTypes.js.map +1 -1
  17. package/dist/rules/checkValues.js.map +1 -1
  18. package/dist/rules/emptyTags.js.map +1 -1
  19. package/dist/rules/implementsOnClasses.js.map +1 -1
  20. package/dist/rules/informativeDocs.js.map +1 -1
  21. package/dist/rules/matchDescription.js.map +1 -1
  22. package/dist/rules/matchName.js.map +1 -1
  23. package/dist/rules/multilineBlocks.js.map +1 -1
  24. package/dist/rules/noBadBlocks.js.map +1 -1
  25. package/dist/rules/noBlankBlockDescriptions.js.map +1 -1
  26. package/dist/rules/noBlankBlocks.js.map +1 -1
  27. package/dist/rules/noDefaults.js.map +1 -1
  28. package/dist/rules/noMultiAsterisks.js.map +1 -1
  29. package/dist/rules/noTypes.js.map +1 -1
  30. package/dist/rules/noUndefinedTypes.js.map +1 -1
  31. package/dist/rules/requireDescription.js.map +1 -1
  32. package/dist/rules/requireDescriptionCompleteSentence.js.map +1 -1
  33. package/dist/rules/requireExample.js.map +1 -1
  34. package/dist/rules/requireFileOverview.js.map +1 -1
  35. package/dist/rules/requireHyphenBeforeParamDescription.js.map +1 -1
  36. package/dist/rules/requireJsdoc.js.map +1 -1
  37. package/dist/rules/requireParam.js.map +1 -1
  38. package/dist/rules/requireParamDescription.js.map +1 -1
  39. package/dist/rules/requireParamName.js.map +1 -1
  40. package/dist/rules/requireParamType.js.map +1 -1
  41. package/dist/rules/requirePropertyDescription.js.map +1 -1
  42. package/dist/rules/requirePropertyName.js.map +1 -1
  43. package/dist/rules/requirePropertyType.js.map +1 -1
  44. package/dist/rules/requireReturns.js.map +1 -1
  45. package/dist/rules/requireReturnsCheck.js.map +1 -1
  46. package/dist/rules/requireReturnsDescription.js.map +1 -1
  47. package/dist/rules/requireThrows.js.map +1 -1
  48. package/dist/rules/requireYields.js.map +1 -1
  49. package/dist/rules/requireYieldsCheck.js.map +1 -1
  50. package/dist/rules/sortTags.js.map +1 -1
  51. package/dist/rules/tagLines.js.map +1 -1
  52. package/dist/rules/textEscaping.js.map +1 -1
  53. package/dist/rules/validTypes.js.map +1 -1
  54. package/dist/utils/hasReturnValue.js.map +1 -1
  55. package/docs/advanced.md +102 -0
  56. package/docs/rules/check-access.md +193 -0
  57. package/docs/rules/check-alignment.md +169 -0
  58. package/docs/rules/check-examples.md +784 -0
  59. package/docs/rules/check-indentation.md +296 -0
  60. package/docs/rules/check-line-alignment.md +995 -0
  61. package/docs/rules/check-param-names.md +1035 -0
  62. package/docs/rules/check-property-names.md +244 -0
  63. package/docs/rules/check-syntax.md +80 -0
  64. package/docs/rules/check-tag-names.md +1117 -0
  65. package/docs/rules/check-types.md +1198 -0
  66. package/docs/rules/check-values.md +409 -0
  67. package/docs/rules/empty-tags.md +220 -0
  68. package/docs/rules/implements-on-classes.md +219 -0
  69. package/docs/rules/informative-docs.md +400 -0
  70. package/docs/rules/match-description.md +979 -0
  71. package/docs/rules/match-name.md +243 -0
  72. package/docs/rules/multiline-blocks.md +398 -0
  73. package/docs/rules/no-bad-blocks.md +174 -0
  74. package/docs/rules/no-blank-block-descriptions.md +91 -0
  75. package/docs/rules/no-blank-blocks.md +98 -0
  76. package/docs/rules/no-defaults.md +207 -0
  77. package/docs/rules/no-missing-syntax.md +269 -0
  78. package/docs/rules/no-multi-asterisks.md +278 -0
  79. package/docs/rules/no-restricted-syntax.md +377 -0
  80. package/docs/rules/no-types.md +168 -0
  81. package/docs/rules/no-undefined-types.md +731 -0
  82. package/docs/rules/require-asterisk-prefix.md +297 -0
  83. package/docs/rules/require-description-complete-sentence.md +584 -0
  84. package/docs/rules/require-description.md +820 -0
  85. package/docs/rules/require-example.md +390 -0
  86. package/docs/rules/require-file-overview.md +317 -0
  87. package/docs/rules/require-hyphen-before-param-description.md +258 -0
  88. package/docs/rules/require-jsdoc.md +1837 -0
  89. package/docs/rules/require-param-description.md +1816 -0
  90. package/docs/rules/require-param-name.md +238 -0
  91. package/docs/rules/require-param-type.md +163 -0
  92. package/docs/rules/require-param.md +227 -0
  93. package/docs/rules/require-property-description.md +128 -0
  94. package/docs/rules/require-property-name.md +88 -0
  95. package/docs/rules/require-property-type.md +79 -0
  96. package/docs/rules/require-property.md +79 -0
  97. package/docs/rules/require-returns-check.md +1164 -0
  98. package/docs/rules/require-returns-description.md +1053 -0
  99. package/docs/rules/require-returns-type.md +181 -0
  100. package/docs/rules/require-returns.md +144 -0
  101. package/docs/rules/require-throws.md +326 -0
  102. package/docs/rules/require-yields-check.md +823 -0
  103. package/docs/rules/require-yields.md +544 -0
  104. package/docs/rules/sort-tags.md +635 -0
  105. package/docs/rules/tag-lines.md +551 -0
  106. package/docs/rules/text-escaping.md +177 -0
  107. package/docs/rules/valid-types.md +834 -0
  108. package/docs/settings.md +355 -0
  109. package/package.json +15 -15
@@ -0,0 +1,355 @@
1
+ <a name="user-content-settings"></a>
2
+ <a name="settings"></a>
3
+ ## Settings
4
+
5
+ * [Allow tags (`@private` or `@internal`) to disable rules for that comment block](#user-content-settings-allow-tags-private-or-internal-to-disable-rules-for-that-comment-block)
6
+ * [`maxLines` and `minLines`](#user-content-settings-maxlines-and-minlines)
7
+ * [Mode](#user-content-settings-mode)
8
+ * [Alias Preference](#user-content-settings-alias-preference)
9
+ * [Default Preferred Aliases](#user-content-settings-alias-preference-default-preferred-aliases)
10
+ * [`@override`/`@augments`/`@extends`/`@implements`/`@ignore` Without Accompanying `@param`/`@description`/`@example`/`@returns`/`@throws`/`@yields`](#user-content-settings-override-augments-extends-implements-ignore-without-accompanying-param-description-example-returns-throws-yields)
11
+ * [Settings to Configure `check-types` and `no-undefined-types`](#user-content-settings-settings-to-configure-check-types-and-no-undefined-types)
12
+ * [`structuredTags`](#user-content-settings-structuredtags)
13
+ * [`contexts`](#user-content-settings-contexts)
14
+
15
+
16
+ <a name="user-content-settings-allow-tags-private-or-internal-to-disable-rules-for-that-comment-block"></a>
17
+ <a name="settings-allow-tags-private-or-internal-to-disable-rules-for-that-comment-block"></a>
18
+ ### Allow tags (<code>@private</code> or <code>@internal</code>) to disable rules for that comment block
19
+
20
+ - `settings.jsdoc.ignorePrivate` - Disables all rules for the comment block
21
+ on which a `@private` tag (or `@access private`) occurs. Defaults to
22
+ `false`. Note: This has no effect with the rule `check-access` (whose
23
+ purpose is to check access modifiers) or `empty-tags` (which checks
24
+ `@private` itself).
25
+ - `settings.jsdoc.ignoreInternal` - Disables all rules for the comment block
26
+ on which a `@internal` tag occurs. Defaults to `false`. Note: This has no
27
+ effect with the rule `empty-tags` (which checks `@internal` itself).
28
+
29
+ <a name="user-content-settings-maxlines-and-minlines"></a>
30
+ <a name="settings-maxlines-and-minlines"></a>
31
+ ### <code>maxLines</code> and <code>minLines</code>
32
+
33
+ One can use `minLines` and `maxLines` to indicate how many line breaks
34
+ (if any) will be checked to find a jsdoc comment block before the given
35
+ code block. These settings default to `0` and `1` respectively.
36
+
37
+ In conjunction with the `require-jsdoc` rule, these settings can
38
+ be enforced so as to report problems if a jsdoc block is not found within
39
+ the specified boundaries. The settings are also used in the fixer to determine
40
+ how many line breaks to add when a block is missing.
41
+
42
+ <a name="user-content-settings-mode"></a>
43
+ <a name="settings-mode"></a>
44
+ ### Mode
45
+
46
+ - `settings.jsdoc.mode` - Set to `typescript`, `closure`, or `jsdoc` (the
47
+ default unless the `@typescript-eslint` parser is in use in which case
48
+ `typescript` will be the default).
49
+ Note that if you do not wish to use separate `.eslintrc.*` files for a
50
+ project containing both JavaScript and TypeScript, you can also use
51
+ [`overrides`](https://eslint.org/docs/user-guide/configuring). You may also
52
+ set to `"permissive"` to try to be as accommodating to any of the styles,
53
+ but this is not recommended. Currently is used for the following:
54
+ - `check-tag-names`: Determine valid tags and aliases
55
+ - `no-undefined-types`: Only check `@template` for types in "closure" and
56
+ "typescript" modes
57
+ - `check-syntax`: determines aspects that may be enforced
58
+ - `valid-types`: in non-Closure mode, `@extends`, `@package` and access tags
59
+ (e.g., `@private`) with a bracketed type are reported as are missing
60
+ names with `@typedef`
61
+ - For type/namepath-checking rules, determine which tags will be checked for
62
+ types/namepaths (Closure allows types on some tags which the others do not,
63
+ so these tags will additionally be checked in "closure" mode)
64
+ - For type-checking rules, impacts parsing of types (through
65
+ [jsdoc-type-pratt-parser](https://github.com/simonseyock/jsdoc-type-pratt-parser)
66
+ dependency)
67
+ - Check preferred tag names
68
+ - Disallows namepath on `@interface` for "closure" mode in `valid-types` (and
69
+ avoids checking in other rules)
70
+
71
+ <a name="user-content-settings-alias-preference"></a>
72
+ <a name="settings-alias-preference"></a>
73
+ ### Alias Preference
74
+
75
+ Use `settings.jsdoc.tagNamePreference` to configure a preferred alias name for
76
+ a JSDoc tag. The format of the configuration is:
77
+ `<primary tag name>: <preferred alias name>`, e.g.
78
+
79
+ ```json
80
+ {
81
+ "rules": {},
82
+ "settings": {
83
+ "jsdoc": {
84
+ "tagNamePreference": {
85
+ "param": "arg",
86
+ "returns": "return"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ ```
92
+
93
+ Note: ESLint does not allow settings to have keys which conflict with
94
+ `Object.prototype` e.g. `'constructor'`. To work around this, you can use the
95
+ key `'tag constructor'`.
96
+
97
+ One may also use an object with a `message` and `replacement`.
98
+
99
+ The following will report the message
100
+ `@extends is to be used over @augments as it is more evocative of classes than @augments`
101
+ upon encountering `@augments`.
102
+
103
+ ```json
104
+ {
105
+ "rules": {},
106
+ "settings": {
107
+ "jsdoc": {
108
+ "tagNamePreference": {
109
+ "augments": {
110
+ "message": "@extends is to be used over @augments as it is more evocative of classes than @augments",
111
+ "replacement": "extends"
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ ```
118
+
119
+ If one wishes to reject a normally valid tag, e.g., `@todo`, one may set the
120
+ tag to `false`:
121
+
122
+ ```json
123
+ {
124
+ "rules": {},
125
+ "settings": {
126
+ "jsdoc": {
127
+ "tagNamePreference": {
128
+ "todo": false
129
+ }
130
+ }
131
+ }
132
+ }
133
+ ```
134
+
135
+ A project wishing to ensure no blocks are left excluded from entering the
136
+ documentation, might wish to prevent the `@ignore` tag in the above manner.
137
+
138
+ Or one may set the targeted tag to an object with a custom `message`, but
139
+ without a `replacement` property:
140
+
141
+ ```json
142
+ {
143
+ "rules": {},
144
+ "settings": {
145
+ "jsdoc": {
146
+ "tagNamePreference": {
147
+ "todo": {
148
+ "message": "We expect immediate perfection, so don't leave to-dos in your code."
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ ```
155
+
156
+ Note that the preferred tags indicated in the
157
+ `settings.jsdoc.tagNamePreference` map will be assumed to be defined by
158
+ `check-tag-names`.
159
+
160
+ See `check-tag-names` for how that fact can be used to set an alias to itself
161
+ to allow both the alias and the default (since aliases are otherwise not
162
+ permitted unless used in `tagNamePreference`).
163
+
164
+ <a name="user-content-settings-alias-preference-default-preferred-aliases"></a>
165
+ <a name="settings-alias-preference-default-preferred-aliases"></a>
166
+ #### Default Preferred Aliases
167
+
168
+ The defaults in `eslint-plugin-jsdoc` (for tags which offer
169
+ aliases) are as follows:
170
+
171
+ - `@abstract` (over `@virtual`)
172
+ - `@augments` (over `@extends`)
173
+ - `@class` (over `@constructor`)
174
+ - `@constant` (over `@const`)
175
+ - `@default` (over `@defaultvalue`)
176
+ - `@description` (over `@desc`)
177
+ - `@external` (over `@host`)
178
+ - `@file` (over `@fileoverview`, `@overview`)
179
+ - `@fires` (over `@emits`)
180
+ - `@function` (over `@func`, `@method`)
181
+ - `@member` (over `@var`)
182
+ - `@param` (over `@arg`, `@argument`)
183
+ - `@property` (over `@prop`)
184
+ - `@returns` (over `@return`)
185
+ - `@throws` (over `@exception`)
186
+ - `@yields` (over `@yield`)
187
+
188
+ This setting is utilized by the the rule for tag name checking
189
+ (`check-tag-names`) as well as in the `@param` and `@require` rules:
190
+
191
+ - `check-param-names`
192
+ - `check-tag-names`
193
+ - `require-hyphen-before-param-description`
194
+ - `require-description`
195
+ - `require-param`
196
+ - `require-param-description`
197
+ - `require-param-name`
198
+ - `require-param-type`
199
+ - `require-returns`
200
+ - `require-returns-check`
201
+ - `require-returns-description`
202
+ - `require-returns-type`
203
+
204
+ <a name="user-content-settings-override-augments-extends-implements-ignore-without-accompanying-param-description-example-returns-throws-yields"></a>
205
+ <a name="settings-override-augments-extends-implements-ignore-without-accompanying-param-description-example-returns-throws-yields"></a>
206
+ ### <code>@override</code>/<code>@augments</code>/<code>@extends</code>/<code>@implements</code>/<code>@ignore</code> Without Accompanying <code>@param</code>/<code>@description</code>/<code>@example</code>/<code>@returns</code>/<code>@throws</code>/<code>@yields</code>
207
+
208
+ The following settings allows the element(s) they reference to be omitted
209
+ on the JSDoc comment block of the function or that of its parent class
210
+ for any of the "require" rules (i.e., `require-param`, `require-description`,
211
+ `require-example`, `require-returns`, `require-throws`, `require-yields`).
212
+
213
+ * `settings.jsdoc.ignoreReplacesDocs` (`@ignore`) - Defaults to `true`
214
+ * `settings.jsdoc.overrideReplacesDocs` (`@override`) - Defaults to `true`
215
+ * `settings.jsdoc.augmentsExtendsReplacesDocs` (`@augments` or its alias
216
+ `@extends`) - Defaults to `false`.
217
+ * `settings.jsdoc.implementsReplacesDocs` (`@implements`) - Defaults to `false`
218
+
219
+ The format of the configuration is as follows:
220
+
221
+ ```json
222
+ {
223
+ "rules": {},
224
+ "settings": {
225
+ "jsdoc": {
226
+ "ignoreReplacesDocs": true,
227
+ "overrideReplacesDocs": true,
228
+ "augmentsExtendsReplacesDocs": true,
229
+ "implementsReplacesDocs": true
230
+ }
231
+ }
232
+ }
233
+ ```
234
+
235
+ <a name="user-content-settings-settings-to-configure-check-types-and-no-undefined-types"></a>
236
+ <a name="settings-settings-to-configure-check-types-and-no-undefined-types"></a>
237
+ ### Settings to Configure <code>check-types</code> and <code>no-undefined-types</code>
238
+
239
+ - `settings.jsdoc.preferredTypes` An option map to indicate preferred
240
+ or forbidden types (if default types are indicated here, these will
241
+ have precedence over the default recommendations for `check-types`).
242
+ The keys of this map are the types to be replaced (or forbidden).
243
+ These keys may include:
244
+ 1. The "ANY" type, `*`
245
+ 1. The pseudo-type `[]` which we use to denote the parent (array)
246
+ types used in the syntax `string[]`, `number[]`, etc.
247
+ 1. The pseudo-type `.<>` (or `.`) to represent the format `Array.<value>`
248
+ or `Object.<key, value>`
249
+ 1. The pseudo-type `<>` to represent the format `Array<value>` or
250
+ `Object<key, value>`
251
+ 1. A plain string type, e.g., `MyType`
252
+ 1. A plain string type followed by one of the above pseudo-types (except
253
+ for `[]` which is always assumed to be an `Array`), e.g., `Array.`, or
254
+ `SpecialObject<>`.
255
+
256
+ If a bare pseudo-type is used, it will match all parent types of that form.
257
+ If a pseudo-type prefixed with a type name is used, it will only match
258
+ parent types of that form and type name.
259
+
260
+ The values can be:
261
+ - `false` to forbid the type
262
+ - a string to indicate the type that should be preferred in its place
263
+ (and which `fix` mode can replace); this can be one of the formats
264
+ of the keys described above.
265
+ - Note that the format will not be changed unless you use a pseudo-type
266
+ in the replacement. (For example, `'Array.<>': 'MyArray'` will change
267
+ `Array.<string>` to `MyArray.<string>`, preserving the dot. To get rid
268
+ of the dot, you must use the pseudo-type with `<>`, i.e.,
269
+ `'Array.<>': 'MyArray<>'`, which will change `Array.<string>` to
270
+ `MyArray<string>`).
271
+ - If you use a _bare_ pseudo-type in the replacement (e.g.,
272
+ `'MyArray.<>': '<>'`), the type will be converted to the format
273
+ of the pseudo-type without changing the type name. For example,
274
+ `MyArray.<string>` will become `MyArray<string>` but `Array.<string>`
275
+ will not be modified.
276
+ - an object with:
277
+ - the key `message` to provide a specific error message
278
+ when encountering the discouraged type.
279
+ - The message string will have the substrings with special meaning,
280
+ `{{tagName}}` and `{{tagValue}}`, replaced with their
281
+ corresponding value.
282
+ - an optional key `replacement` with either of the following values:
283
+ - a string type to be preferred in its place (and which `fix` mode
284
+ can replace)
285
+ - `false` (for forbidding the type)
286
+ - an optional key `skipRootChecking` (for `check-types`) to allow for this
287
+ type in the context of a root (i.e., a parent object of some child type)
288
+
289
+ Note that the preferred types indicated as targets in
290
+ `settings.jsdoc.preferredTypes` map will be assumed to be defined by
291
+ `no-undefined-types`.
292
+
293
+ See the option of `check-types`, `unifyParentAndChildTypeChecks`, for
294
+ how the keys of `preferredTypes` may have `<>` or `.<>` (or just `.`)
295
+ appended and its bearing on whether types are checked as parents/children
296
+ only (e.g., to match `Array` if the type is `Array` vs. `Array.<string>`).
297
+
298
+ Note that if a value is present both as a key and as a value, neither the
299
+ key nor the value will be reported. Thus in `check-types`, this fact can
300
+ be used to allow both `object` and `Object` if one has a `preferredTypes`
301
+ key `object: 'Object'` and `Object: 'object'`.
302
+
303
+ <a name="user-content-settings-structuredtags"></a>
304
+ <a name="settings-structuredtags"></a>
305
+ ### <code>structuredTags</code>
306
+
307
+ An object indicating tags whose types and names/namepaths (whether defining or
308
+ referencing namepaths) will be checked, subject to configuration. If the tags
309
+ have predefined behavior or `allowEmptyNamepaths` behavior, this option will
310
+ override that behavior for any specified tags, though this option can also be
311
+ used for tags without predefined behavior. Its keys are tag names and its
312
+ values are objects with the following optional properties:
313
+ - `name` - String set to one of the following:
314
+ - `"text"` - When a name is present, plain text will be allowed in the
315
+ name position (non-whitespace immediately after the tag and whitespace),
316
+ e.g., in `@throws This is an error`, "This" would normally be the name,
317
+ but "text" allows non-name text here also. This is the default.
318
+ - `"namepath-defining"` - As with `namepath-referencing`, but also
319
+ indicates the tag adds a namepath to definitions, e.g., to prevent
320
+ `no-undefined-types` from reporting references to that namepath.
321
+ - `"namepath-referencing"` - This will cause any name position to be
322
+ checked to ensure it is a valid namepath. You might use this to ensure
323
+ that tags which normally allow free text, e.g., `@see` will instead
324
+ require a namepath.
325
+ - `false` - This will disallow any text in the name position.
326
+ - `type`:
327
+ - `true` - Allows valid types within brackets. This is the default.
328
+ - `false` - Explicitly disallows any brackets or bracketed type. You
329
+ might use this with `@throws` to suggest that only free form text
330
+ is being input or with `@augments` (for jsdoc mode) to disallow
331
+ Closure-style bracketed usage along with a required namepath.
332
+ - (An array of strings) - A list of permissible types.
333
+ - `required` - Array of one of the following (defaults to an empty array,
334
+ meaning none are required):
335
+ - One or both of the following strings (if both are included, then both
336
+ are required):
337
+ - `"name"` - Indicates that a name position is required (not just that
338
+ if present, it is a valid namepath). You might use this with `see`
339
+ to insist that a value (or namepath, depending on the `name` value)
340
+ is always present.
341
+ - `"type"` - Indicates that the type position (within curly brackets)
342
+ is required (not just that if present, it is a valid type). You
343
+ might use this with `@throws` or `@typedef` which might otherwise
344
+ normally have their types optional. See the type groups 3-5 above.
345
+ - `"typeOrName"` - Must have either type (e.g., `@throws {aType}`) or
346
+ name (`@throws Some text`); does not require that both exist but
347
+ disallows just an empty tag.
348
+
349
+ <a name="user-content-settings-contexts"></a>
350
+ <a name="settings-contexts"></a>
351
+ ### <code>contexts</code>
352
+
353
+ `settings.jsdoc.contexts` can be used as the default for any rules
354
+ with a `contexts` property option. See the "AST and Selectors" section
355
+ for more on this format.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "http://gajus.com"
6
6
  },
7
7
  "dependencies": {
8
- "@es-joy/jsdoccomment": "~0.37.1",
8
+ "@es-joy/jsdoccomment": "~0.38.0",
9
9
  "are-docs-informative": "^0.0.2",
10
10
  "comment-parser": "1.3.1",
11
11
  "debug": "^4.3.4",
@@ -16,39 +16,39 @@
16
16
  },
17
17
  "description": "JSDoc linting rules for ESLint.",
18
18
  "devDependencies": {
19
- "@babel/cli": "^7.21.0",
20
- "@babel/core": "^7.21.4",
21
- "@babel/eslint-parser": "^7.21.3",
19
+ "@babel/cli": "^7.21.5",
20
+ "@babel/core": "^7.21.8",
21
+ "@babel/eslint-parser": "^7.21.8",
22
22
  "@babel/node": "^7.20.7",
23
23
  "@babel/plugin-syntax-class-properties": "^7.12.13",
24
24
  "@babel/plugin-transform-flow-strip-types": "^7.21.0",
25
- "@babel/preset-env": "^7.21.4",
25
+ "@babel/preset-env": "^7.21.5",
26
26
  "@babel/register": "^7.21.0",
27
- "@es-joy/jsdoc-eslint-parser": "^0.17.0",
27
+ "@es-joy/jsdoc-eslint-parser": "^0.18.0",
28
28
  "@hkdobrev/run-if-changed": "^0.3.1",
29
29
  "@semantic-release/commit-analyzer": "^9.0.2",
30
30
  "@semantic-release/github": "^8.0.7",
31
31
  "@semantic-release/npm": "^10.0.3",
32
- "@typescript-eslint/parser": "^5.59.0",
32
+ "@typescript-eslint/parser": "^5.59.2",
33
33
  "babel-plugin-add-module-exports": "^1.0.4",
34
34
  "babel-plugin-istanbul": "^6.1.1",
35
35
  "camelcase": "^6.3.0",
36
36
  "chai": "^4.3.7",
37
37
  "cross-env": "^7.0.3",
38
38
  "decamelize": "^5.0.1",
39
- "eslint": "^8.38.0",
40
39
  "eslint-config-canonical": "~33.0.1",
40
+ "eslint": "^8.39.0",
41
41
  "gitdown": "^3.1.5",
42
- "glob": "^8.1.0",
42
+ "glob": "^10.2.2",
43
43
  "husky": "^8.0.3",
44
44
  "jsdoc-type-pratt-parser": "^4.0.0",
45
- "lint-staged": "^13.2.1",
45
+ "lint-staged": "^13.2.2",
46
46
  "lodash.defaultsdeep": "^4.6.1",
47
47
  "mocha": "^10.2.0",
48
48
  "nyc": "^15.1.0",
49
49
  "open-editor": "^3.0.0",
50
50
  "rimraf": "^5.0.0",
51
- "semantic-release": "^21.0.1",
51
+ "semantic-release": "^21.0.2",
52
52
  "typescript": "^5.0.4"
53
53
  },
54
54
  "engines": {
@@ -108,10 +108,10 @@
108
108
  },
109
109
  "scripts": {
110
110
  "build": "rimraf ./dist && cross-env NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --ignore ./src/bin/*.js --no-copy-ignored",
111
- "check-readme": "babel-node ./src/bin/generateReadme.js --check",
112
- "create-readme": "babel-node ./src/bin/generateReadme.js",
111
+ "check-readme": "babel-node ./src/bin/generateDocs.js --check",
112
+ "create-readme": "babel-node ./src/bin/generateDocs.js",
113
113
  "create-rule": "babel-node ./src/bin/generateRule.js",
114
- "install-offline": "npm install --prefer-offline --no-audit",
114
+ "install-offline": "pnpm install --prefer-offline --no-audit",
115
115
  "lint": "npm run lint-arg -- .",
116
116
  "lint-arg": "eslint --report-unused-disable-directives",
117
117
  "lint-fix": "npm run lint-arg -- --fix .",
@@ -121,5 +121,5 @@
121
121
  "test-cov": "cross-env TIMING=1 nyc --reporter text npm run test-no-cov",
122
122
  "test-index": "npm run test-no-cov -- test/rules/index.js"
123
123
  },
124
- "version": "43.1.1"
124
+ "version": "44.0.0"
125
125
  }