Skip to content

Commit

Permalink
test: multi-line description
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jul 9, 2021
1 parent 27521d2 commit 3fccc8a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2345,6 +2345,8 @@ const fn = ( lorem, sit ) => {}
*
* @param {string} lorem Description.
* @param {int} sit Description multi words.
* @param {string} sth Multi
* line description.
*/
const fn = ( lorem, sit ) => {}
// "jsdoc/check-line-alignment": ["error"|"warn", "always"]
Expand Down Expand Up @@ -2611,6 +2613,8 @@ const fn = ({ids}) => {}
*
* @param {string} lorem Description.
* @param {int} sit Description multi words.
* @param {string} sth Multi
* line description.
*/
const fn = ( lorem, sit ) => {}
// "jsdoc/check-line-alignment": ["error"|"warn", "always"]
Expand Down
6 changes: 6 additions & 0 deletions test/rules/assertions/checkLineAlignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,8 @@ export default {
*\r
* @param {string} lorem Description.\r
* @param {int} sit Description multi words.\r
* @param {string} sth Multi\r
* line description.\r
*/\r
const fn = ( lorem, sit ) => {}\r
`,
Expand All @@ -1083,6 +1085,8 @@ export default {
*\r
* @param {string} lorem Description.\r
* @param {int} sit Description multi words.\r
* @param {string} sth Multi\r
* line description.\r
*/\r
const fn = ( lorem, sit ) => {}\r
`,
Expand Down Expand Up @@ -1483,6 +1487,8 @@ export default {
*\r
* @param {string} lorem Description.\r
* @param {int} sit Description multi words.\r
* @param {string} sth Multi\r
* line description.\r
*/\r
const fn = ( lorem, sit ) => {}\r
`,
Expand Down

0 comments on commit 3fccc8a

Please sign in to comment.