From c2651faebae1206be27fa953b6b9bde9687ce2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Thu, 6 Jan 2022 16:52:31 +0100 Subject: [PATCH] lint --- jsdoc2md.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsdoc2md.js b/jsdoc2md.js index 681b462..dea093c 100644 --- a/jsdoc2md.js +++ b/jsdoc2md.js @@ -22,9 +22,9 @@ fs.mkdirSync(outputDir) // make docs dir const templateData = jsdoc2md.getTemplateDataSync(getJsdocDataOptions) /* reduce templateData to an array of class names */ -const classNames = templateData.filter(({kind}) => kind === 'class').map(({name}) => name) +const classNames = templateData.filter(({ kind }) => kind === 'class').map(({ name }) => name) -const moduleNames = templateData.filter(({kind}) => kind === 'module').map(({name}) => name) +const moduleNames = templateData.filter(({ kind }) => kind === 'module').map(({ name }) => name) /* create a documentation file for each class */ for (const className of classNames) {