Skip to content

Commit e709090

Browse files
committed
docs: generate docs
1 parent cd504a2 commit e709090

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3780,6 +3780,41 @@ function quux () {
37803780
*/
37813781
function quux () {
37823782
}
3783+
3784+
/**
3785+
* @returns {void} Foo.
3786+
*/
3787+
function quux () {
3788+
return undefined;
3789+
}
3790+
3791+
/**
3792+
* @returns {void} Foo.
3793+
*/
3794+
function quux () {
3795+
return;
3796+
}
3797+
3798+
/**
3799+
*
3800+
*/
3801+
function quux () {
3802+
return undefined;
3803+
}
3804+
3805+
/**
3806+
*
3807+
*/
3808+
function quux () {
3809+
return;
3810+
}
3811+
3812+
/**
3813+
* @returns {boolean} Foo.
3814+
*/
3815+
function quux () {
3816+
return true;
3817+
}
37833818
````
37843819

37853820

test/rules/assertions/requireReturnsCheck.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,6 @@ export default {
280280
return;
281281
}
282282
`
283-
},
284-
{
285-
code: `
286-
/**
287-
* @returns {boolean} Foo.
288-
*/
289-
function quux () {
290-
return true;
291-
}
292-
`
293283
}
294284
]
295285
};

0 commit comments

Comments
 (0)