- Linting (ESLint): Latest as per ash-nazg (disable now applicable rules not fixed during earlier testing)

- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-12-31 17:55:15 +08:00
parent 7fc26e114d
commit 63ba8f39a1
12 changed files with 73 additions and 11 deletions

View File

@@ -1185,10 +1185,12 @@ const jPicker = function ($) {
}
};
const {Color, List, ColorMethods} = $.jPicker; // local copies for YUI compressor
/* eslint-disable jsdoc/require-returns */
/**
* @function external:jQuery.fn.jPicker
* @see {@link external:jQuery.fn.$.fn.jPicker}
*/
/* eslint-enable jsdoc/require-returns */
/**
* Will be bound to active {@link jQuery.jPicker.Color}.

View File

@@ -2638,6 +2638,7 @@ export const pathActions = (function () {
}
path.endChanges('Delete path node(s)');
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
* Smooth polyline into path.
@@ -2645,6 +2646,7 @@ export const pathActions = (function () {
* @see module:path~smoothPolylineIntoPath
*/
smoothPolylineIntoPath,
/* eslint-enable jsdoc/require-returns */
/**
* @param {?Integer} v See {@link https://www.w3.org/TR/SVG/single-page.html#paths-InterfaceSVGPathSeg}
* @returns {void}
@@ -2702,6 +2704,7 @@ export const pathActions = (function () {
}
if (isWebkit()) { editorContext_.resetD(elem); }
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
* Convert a path to one with only absolute or relative values.
@@ -2709,6 +2712,7 @@ export const pathActions = (function () {
* @see module:path.convertPath
*/
convertPath
/* eslint-enable jsdoc/require-returns */
});
})();
// end pathActions

View File

@@ -7793,6 +7793,8 @@
path.endChanges('Delete path node(s)');
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@@ -7802,6 +7804,8 @@
*/
smoothPolylineIntoPath: smoothPolylineIntoPath,
/* eslint-enable jsdoc/require-returns */
/**
* @param {?Integer} v See {@link https://www.w3.org/TR/SVG/single-page.html#paths-InterfaceSVGPathSeg}
* @returns {void}
@@ -7871,6 +7875,8 @@
editorContext_.resetD(elem);
}
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@@ -7879,6 +7885,8 @@
* @see module:path.convertPath
*/
convertPath: convertPath
/* eslint-enable jsdoc/require-returns */
}
);
}(); // end pathActions
@@ -26376,11 +26384,15 @@
List = _$$jPicker.List,
ColorMethods = _$$jPicker.ColorMethods; // local copies for YUI compressor
/* eslint-disable jsdoc/require-returns */
/**
* @function external:jQuery.fn.jPicker
* @see {@link external:jQuery.fn.$.fn.jPicker}
*/
/* eslint-enable jsdoc/require-returns */
/**
* Will be bound to active {@link jQuery.jPicker.Color}.
* @callback module:jPicker.LiveCallback