eslint-plugin-jsdoc 65.4.2 → 65.4.3
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/package.json
CHANGED
|
@@ -511,10 +511,19 @@ export default iterateJsdoc(({
|
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
+
let fixed = false;
|
|
515
|
+
|
|
514
516
|
/**
|
|
515
517
|
* @returns {void}
|
|
516
518
|
*/
|
|
517
519
|
const fixer = () => {
|
|
520
|
+
// Every report shares this fixer and `jsdoc`, so only add the tags once;
|
|
521
|
+
// each report then gets the same, complete fix
|
|
522
|
+
if (fixed) {
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
fixed = true;
|
|
518
527
|
for (const missingTag of missingTags) {
|
|
519
528
|
fix(missingTag);
|
|
520
529
|
}
|