File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 239
239
240
240
// https://github.com/babel/babel-eslint/issues/85
241
241
// Disabling until this issue is resolved
242
- "valid-jsdoc": 0 ,
242
+ "valid-jsdoc": 2 ,
243
243
244
244
"valid-typeof": 2,
245
245
"wrap-iife": 0,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class CommentActions {
7
7
*
8
8
* @param {String } url
9
9
* @param {Boolean } displaySpinner
10
- * @return undefined
10
+ * @returns { undefined }
11
11
*/
12
12
fetchComments ( url , displaySpinner ) {
13
13
this . dispatch ( displaySpinner ) ;
@@ -20,7 +20,7 @@ class CommentActions {
20
20
* A new list of comments is available, refresh the store.
21
21
*
22
22
* @param {Array } comments
23
- * @return undefined
23
+ * @returns { undefined }
24
24
*/
25
25
updateComments ( comments ) {
26
26
this . dispatch ( comments ) ;
@@ -30,7 +30,7 @@ class CommentActions {
30
30
* An error occurred while fetching comments, dispatch error message.
31
31
*
32
32
* @param {String } errorMessage
33
- * @return undefined
33
+ * @returns { undefined }
34
34
*/
35
35
updateCommentsError ( errorMessage ) {
36
36
this . dispatch ( errorMessage ) ;
@@ -40,7 +40,7 @@ class CommentActions {
40
40
* A new comment has been submitted to the server, dispatch it.
41
41
*
42
42
* @param {Array } comment
43
- * @return undefined
43
+ * @returns { undefined }
44
44
*/
45
45
addComment ( comment ) {
46
46
this . dispatch ( comment ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class FormActions {
7
7
* Text is being entered in the comment form, update the state.
8
8
*
9
9
* @param {String } comment
10
- * @return undefined
10
+ * @returns { undefined }
11
11
*/
12
12
updateComment ( comment ) {
13
13
this . dispatch ( comment ) ;
@@ -17,7 +17,7 @@ class FormActions {
17
17
* Submit a new comment to the server.
18
18
*
19
19
* @param {String } comment
20
- * @return undefined
20
+ * @returns { undefined }
21
21
*/
22
22
submitComment ( url , comment ) {
23
23
this . dispatch ( ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const CommentsManager = {
5
5
* Retrieve comments from server using AJAX call.
6
6
*
7
7
* @param {String } url
8
- * @return Object
8
+ * @returns { Object }
9
9
*/
10
10
fetchComments ( url ) {
11
11
return $ . ajax ( {
@@ -19,7 +19,7 @@ const CommentsManager = {
19
19
*
20
20
* @param {String } url
21
21
* @param {Object } comment
22
- * @return Object
22
+ * @returns { Object }
23
23
*/
24
24
submitComment ( url , comment ) {
25
25
return $ . ajax ( {
You can’t perform that action at this time.
0 commit comments