How to use the comment-parser.stringify function in comment-parser

To help you get started, we’ve selected a few comment-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gajus / eslint-plugin-jsdoc / src / iterateJsdoc.js View on Github external
utils.stringify = (tagBlock) => {
    const indent = jsdocUtils.getIndent(sourceCode);

    return commentStringify([tagBlock], {indent}).slice(indent.length - 1);
  };

comment-parser

Generic JSDoc-like comment parser

MIT
Latest version published 7 months ago

Package Health Score

76 / 100
Full package analysis