From: Ed Sanders Date: Wed, 16 Nov 2016 13:02:22 +0000 (+0000) Subject: eslint: Re-enable valid-jsdoc and make a pass X-Git-Tag: 1.31.0-rc.0~4829^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_user_edit%27%2C%20iduser=user.userid%29%20%7D%7D?a=commitdiff_plain;h=2231d4e859628fc4d2fb63a7a752ead5b91ffef2;p=lhc%2Fweb%2Fwiklou.git eslint: Re-enable valid-jsdoc and make a pass Change-Id: I5c3c942d5a9c51628619227c4bbaefd1d92a842d --- diff --git a/.eslintrc.json b/.eslintrc.json index 135d3b95f3..044dd7202d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,7 +13,6 @@ "OO": false }, "rules": { - "dot-notation": 0, - "valid-jsdoc": 0 + "dot-notation": 0 } } diff --git a/resources/src/jquery/jquery.accessKeyLabel.js b/resources/src/jquery/jquery.accessKeyLabel.js index 63b599b07a..f25944c94e 100644 --- a/resources/src/jquery/jquery.accessKeyLabel.js +++ b/resources/src/jquery/jquery.accessKeyLabel.js @@ -204,6 +204,8 @@ * * @method updateTooltipAccessKeys_getAccessKeyPrefix * @deprecated since 1.27 Use #getAccessKeyModifiers + * @param {Object} [ua] An object with a 'userAgent' and 'platform' property. + * @return {string} */ $.fn.updateTooltipAccessKeys.getAccessKeyPrefix = function ( ua ) { return getAccessKeyModifiers( ua ).join( '-' ) + '-'; diff --git a/resources/src/jquery/jquery.confirmable.js b/resources/src/jquery/jquery.confirmable.js index 1ecce6cad7..7931c8147f 100644 --- a/resources/src/jquery/jquery.confirmable.js +++ b/resources/src/jquery/jquery.confirmable.js @@ -12,6 +12,7 @@ return data; }; + // eslint-disable-next-line valid-jsdoc /** * Enable inline confirmation for given clickable element (like `` or `