Skip to content

Commit

Permalink
fix: Allow lines between apiDoc tags (#38)
Browse files Browse the repository at this point in the history
* fix: Allow blank lines between apiDoc tags

* Fix jsdoc/check-types warnings
  • Loading branch information
seb-cr authored Aug 11, 2022
1 parent c3040f6 commit 2f8d8e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions mixins/apiDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ module.exports = {
],
},
],
// Allow blank lines between tags
"jsdoc/tag-lines": "off",
},
};
6 changes: 3 additions & 3 deletions tests/apidoc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @apiName GetUser
* @apiGroup User
*
* @apiParam {Number} id Users unique ID.
* @apiParam {number} id Users unique ID.
*
* @apiSuccess {String} firstname Firstname of the User.
* @apiSuccess {String} lastname Lastname of the User.
* @apiSuccess {string} firstname Firstname of the User.
* @apiSuccess {string} lastname Lastname of the User.
*
* @apiSuccessExample Success-Response:
* HTTP/1.1 200 OK
Expand Down

0 comments on commit 2f8d8e8

Please sign in to comment.