- Linting (ESLint): eslint-plugin-jsdoc PR-inspired fixes; temporarily disable unicorn/prefer-number-properties

This commit is contained in:
Brett Zamir
2020-05-08 17:32:46 +08:00
parent f46f5fc889
commit 05fc69795c
4 changed files with 11 additions and 2 deletions

View File

@@ -37,7 +37,10 @@ function getCallbackSetter (funcName) {
* avoid using JSON parsing (and its limitations) in the case
* of same domain control.
* @param {module:EmbeddedSVGEdit.EmbeddedSVGEdit} t The `this` value
* @param {JSON} data
* @param {PlainObject} data
* @param {JSON} data.result
* @param {string} data.error
* @param {Integer} data.id
* @returns {void}
*/
function addCallback (t, {result, error, id: callbackID}) {