eslint-plugin-jsdoc 54.0.0 → 54.1.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.
- package/dist/iterateJsdoc.cjs +3 -1
- package/dist/iterateJsdoc.cjs.map +1 -1
- package/dist/iterateJsdoc.d.ts.map +1 -1
- package/dist/rules/noUndefinedTypes.cjs +6 -3
- package/dist/rules/noUndefinedTypes.cjs.map +1 -1
- package/dist/rules/requireJsdoc.cjs +4 -2
- package/dist/rules/requireJsdoc.cjs.map +1 -1
- package/dist/rules/validTypes.cjs +1 -1
- package/dist/rules/validTypes.cjs.map +1 -1
- package/package.json +21 -22
- package/src/iterateJsdoc.js +2 -1
- package/src/rules/noUndefinedTypes.js +4 -2
- package/src/rules/requireJsdoc.js +2 -1
- package/src/rules/validTypes.js +1 -0
|
@@ -375,8 +375,9 @@ export default iterateJsdoc(({
|
|
|
375
375
|
})())
|
|
376
376
|
.concat(...getValidRuntimeIdentifiers(node && (
|
|
377
377
|
(sourceCode.getScope &&
|
|
378
|
-
/* c8 ignore next
|
|
378
|
+
/* c8 ignore next 3 */
|
|
379
379
|
sourceCode.getScope(node)) ||
|
|
380
|
+
// @ts-expect-error ESLint 8
|
|
380
381
|
context.getScope()
|
|
381
382
|
)))
|
|
382
383
|
.concat(
|
|
@@ -503,8 +504,9 @@ export default iterateJsdoc(({
|
|
|
503
504
|
} else if (markVariablesAsUsed && !extraTypes.includes(val)) {
|
|
504
505
|
if (sourceCode.markVariableAsUsed) {
|
|
505
506
|
sourceCode.markVariableAsUsed(val);
|
|
506
|
-
/* c8 ignore next
|
|
507
|
+
/* c8 ignore next 4 */
|
|
507
508
|
} else {
|
|
509
|
+
// @ts-expect-error ESLint 8
|
|
508
510
|
context.markVariableAsUsed(val);
|
|
509
511
|
}
|
|
510
512
|
}
|
|
@@ -250,8 +250,9 @@ const isExemptedImplementer = (node, sourceCode, context, settings) => {
|
|
|
250
250
|
|
|
251
251
|
const interfaceMethodNode = getMethodOnInterface(interfaceName, methodName, node && (
|
|
252
252
|
(sourceCode.getScope &&
|
|
253
|
-
/* c8 ignore next
|
|
253
|
+
/* c8 ignore next 3 */
|
|
254
254
|
sourceCode.getScope(node)) ||
|
|
255
|
+
// @ts-expect-error ESLint 8
|
|
255
256
|
context.getScope()
|
|
256
257
|
));
|
|
257
258
|
if (interfaceMethodNode) {
|