INCOMPLETE: Remove check types file

- Linting: `match-description`, bad returns
- Linting: Use eslint-plugin-jdsoc `preferredTypes` in place of custom file
- Linting: Remove `report-unused-disable-directives` command as have as rule
- Lintin: Avoid overly generic `Array`
- npm: Update devDep
This commit is contained in:
Brett Zamir
2019-05-24 14:44:57 +08:00
parent a7da98ca1b
commit fa4ea90c72
9 changed files with 64 additions and 21 deletions

View File

@@ -90,12 +90,14 @@ export const canvg = function (target, s, opts) {
return svg.load(ctx, s);
};
/* Todo: Reenable after ash-nazg may merge; eslint-disable jsdoc/check-types */
/**
* @param {module:canvg.CanvgOptions} opts
* @returns {object}
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
*/
function build (opts) {
/* Todo: Reenable after ash-nazg may merge; eslint-enable jsdoc/check-types */
const svg = {opts};
svg.FRAMERATE = 30;