Skip to content

Commit 1f015ca

Browse files
authored
docs: add missing docs (#1428)
1 parent 4c65cbe commit 1f015ca

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/rules/check-line-alignment.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ const fn = ( lorem, sit ) => {}
158158
// "jsdoc/check-line-alignment": ["error"|"warn", "always"]
159159
// Message: Expected JSDoc block lines to be aligned.
160160

161+
/**
162+
* Function description.
163+
*
164+
* @template {string} Arg Description.
165+
* @param {Arg} arg Description
166+
*/
167+
function hello(arg) {}
168+
// "jsdoc/check-line-alignment": ["error"|"warn", "always"]
169+
// Message: Expected JSDoc block lines to be aligned.
170+
161171
/**
162172
* Function description.
163173
*
@@ -1014,3 +1024,4 @@ function quux () {
10141024
const fn = ( lorem ) => {}
10151025
// "jsdoc/check-line-alignment": ["error"|"warn", "any",{"disableWrapIndent":true,"wrapIndent":" "}]
10161026
````
1027+

0 commit comments

Comments
 (0)