diff --git a/.eslintrc.json b/.eslintrc.json index e1790f70e..26cfd8714 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -36,20 +36,6 @@ "message": "The method `always` if used with Deferred objects is incompatible with ES6 Promises. Please use `then`." } ], - "valid-jsdoc": [ - "error", - { - "requireParamDescription": false, - "requireReturnDescription": false, - "requireReturn": false, - "preferType": { - "Boolean": "boolean", - "Number": "number", - "object": "Object", - "String": "string" - } - } - ], "object-property-newline": "error", "no-use-before-define": "off", "no-underscore-dangle": "off" diff --git a/resources/skins.minerva.scripts/downloadPageAction.js b/resources/skins.minerva.scripts/downloadPageAction.js index de859e536..971929ff8 100644 --- a/resources/skins.minerva.scripts/downloadPageAction.js +++ b/resources/skins.minerva.scripts/downloadPageAction.js @@ -106,7 +106,7 @@ * Expects to be run in the context of an icon using `Function.bind` * * @param {Icon} spinner - * @returns {function} + * @return {Function} */ function getOnClickHandler( spinner ) { return function () { @@ -122,7 +122,7 @@ * @param {number[]} supportedNamespaces * @param {Window} [windowObj] window object * @param {boolean} [hasText] Use icon + button style. - * @returns {jQuery.Object|null} + * @return {jQuery.Object|null} */ function downloadPageAction( page, supportedNamespaces, windowObj, hasText ) { var