Skip to content

Commit

Permalink
Lint JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 10, 2023
1 parent 028d68a commit 223a094
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Render Govspeak markup.
*
* @param {object} [options] Options for the extension
* @returns {object} A MarkedExtension to be passed to `marked.use()`
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/block-tokenizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @param {string} name Extension name, i.e. `govspeak-example`
* @param {string} open Opening tag, i.e. $E
* @param {string} [close] Closing tag, i.e. $E
* @returns {object} Tokens
* @returns {object|undefined} Tokens
*/
module.exports = function (lexer, src, name, open, close) {
if (!src.startsWith(`${open}\n`)) {
Expand Down

0 comments on commit 223a094

Please sign in to comment.