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

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

12
dist/index-es.js vendored
View File

@ -7790,6 +7790,8 @@ var pathActions = function () {
path.endChanges('Delete path node(s)');
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7799,6 +7801,8 @@ var pathActions = function () {
*/
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}
@ -7868,6 +7872,8 @@ var pathActions = function () {
editorContext_.resetD(elem);
}
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7876,6 +7882,8 @@ var pathActions = function () {
* @see module:path.convertPath
*/
convertPath: convertPath
/* eslint-enable jsdoc/require-returns */
}
);
}(); // end pathActions
@ -26373,11 +26381,15 @@ var jPicker = function jPicker($) {
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

File diff suppressed because one or more lines are too long

12
dist/index-umd.js vendored
View File

@ -7796,6 +7796,8 @@
path.endChanges('Delete path node(s)');
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7805,6 +7807,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}
@ -7874,6 +7878,8 @@
editorContext_.resetD(elem);
}
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7882,6 +7888,8 @@
* @see module:path.convertPath
*/
convertPath: convertPath
/* eslint-enable jsdoc/require-returns */
}
);
}(); // end pathActions
@ -26379,11 +26387,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

File diff suppressed because one or more lines are too long

View File

@ -7862,6 +7862,8 @@ var SvgCanvas = (function () {
path.endChanges('Delete path node(s)');
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7871,6 +7873,8 @@ var SvgCanvas = (function () {
*/
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}
@ -7940,6 +7944,8 @@ var SvgCanvas = (function () {
editorContext_.resetD(elem);
}
},
/* eslint-disable jsdoc/require-returns */
// Can't seem to use `@borrows` here, so using `@see`
/**
@ -7948,6 +7954,8 @@ var SvgCanvas = (function () {
* @see module:path.convertPath
*/
convertPath: convertPath
/* eslint-enable jsdoc/require-returns */
}
);
}(); // end pathActions

File diff suppressed because one or more lines are too long

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

12
package-lock.json generated
View File

@ -4157,9 +4157,9 @@
}
},
"eslint-config-ash-nazg": {
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-16.2.0.tgz",
"integrity": "sha512-VYEKJyUqm/ab1ifhz779PHIAhvoW6tGMpAnGYhRfemxYpQ9ou9MFildHDFWAetcjycXrqm+IYFMCXbzdgsaw9w==",
"version": "16.3.0",
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-16.3.0.tgz",
"integrity": "sha512-D/09Udft3hTPsgFno9JdRwZ8DELHE//UD3arX6GGx/V/wi2OCJ+T4TGtz33tKg5SFaYsvZpZnNTHUHYbHKhLoQ==",
"dev": true
},
"eslint-config-standard": {
@ -4418,9 +4418,9 @@
}
},
"eslint-plugin-jsdoc": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-19.0.0.tgz",
"integrity": "sha512-Xe+mci5g48XIn/49zx0mfqmXziwHd91SdFYjR+FPqpkf/xbnkZW2IkGlmrCuxU5xMM5QZ0BEe0/eUoCeM9G9Lw==",
"version": "19.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-19.1.0.tgz",
"integrity": "sha512-rw8ouveUzz41dgSCyjlZgh5cKuQIyBzsrJnKeGYoY74+9AXuOygAQMwvyN4bMRp0hJu0DYQptKyQiSBqOnXmTg==",
"dev": true,
"requires": {
"comment-parser": "^0.7.2",

View File

@ -136,7 +136,7 @@
"cypress": "^3.8.1",
"cypress-axe": "^0.5.3",
"eslint": "^6.8.0",
"eslint-config-ash-nazg": "^16.2.0",
"eslint-config-ash-nazg": "^16.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-array-func": "^3.1.3",
"eslint-plugin-compat": "^3.3.0",
@ -144,7 +144,7 @@
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsdoc": "^19.0.0",
"eslint-plugin-jsdoc": "^19.1.0",
"eslint-plugin-markdown": "^1.0.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-no-use-extend-native": "^0.4.1",

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