eslint-plugin-jsdoc 54.1.0 → 54.2.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.
@@ -12,6 +12,10 @@ export default iterateJsdoc(({
12
12
  settings,
13
13
  utils,
14
14
  }) => {
15
+ if (utils.avoidDocs()) {
16
+ return;
17
+ }
18
+
15
19
  const {
16
20
  requireSeparateTemplates = false,
17
21
  } = context.options[0] || {};
@@ -189,6 +193,12 @@ export default iterateJsdoc(({
189
193
  {
190
194
  additionalProperties: false,
191
195
  properties: {
196
+ exemptedBy: {
197
+ items: {
198
+ type: 'string',
199
+ },
200
+ type: 'array',
201
+ },
192
202
  requireSeparateTemplates: {
193
203
  type: 'boolean',
194
204
  },
@@ -169,7 +169,7 @@ export default iterateJsdoc(({
169
169
  },
170
170
  ] of tg.source.entries()) {
171
171
  if (description) {
172
- lines.splice(0, lines.length);
172
+ lines.splice(0);
173
173
  tagSourceIdx = idx;
174
174
  }
175
175
 
@@ -11,6 +11,7 @@ const inlineTags = new Set([
11
11
  ]);
12
12
 
13
13
  const jsdocTypePrattKeywords = new Set([
14
+ 'extends',
14
15
  'import',
15
16
  'is',
16
17
  'readonly',