jenkins-bot has submitted this change and it was merged.
Change subject: build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass
......................................................................
build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass
Change-Id: I5f29076729e4a9e1a6d42998423d4bc616e69bb0
---
M .jscsrc
M build/tasks/colorize-svg.js
2 files changed, 3 insertions(+), 2 deletions(-)
Approvals:
Jforrester: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.jscsrc b/.jscsrc
index d38afeb..80ac550 100644
--- a/.jscsrc
+++ b/.jscsrc
@@ -7,6 +7,7 @@
"note:": "some"
}
},
- "checkParamNames": true
+ "checkParamNames": true,
+ "requireReturnTypes": true
}
}
diff --git a/build/tasks/colorize-svg.js b/build/tasks/colorize-svg.js
index b31a87d..9eb11c7 100644
--- a/build/tasks/colorize-svg.js
+++ b/build/tasks/colorize-svg.js
@@ -80,7 +80,7 @@
/**
* Get image list.
*
- * @return ImageList Image list
+ * @return {ImageList} Image list
*/
Source.prototype.getImageList = function () {
return new ImageList(
--
To view, visit https://gerrit.wikimedia.org/r/273850
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f29076729e4a9e1a6d42998423d4bc616e69bb0
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits