- Linting (ESLint): Avoid disabling rule with jsdoc linter fix

- npm: Update devDep (linting jsdoc)
master
Brett Zamir 2019-06-27 14:27:20 +08:00
parent b07d0861b4
commit 7f2c5f5359
3 changed files with 4 additions and 6 deletions

View File

@ -90,7 +90,6 @@ if (window.opera) {
} }
// Reenable after fixing eslint-plugin-jsdoc to handle // Reenable after fixing eslint-plugin-jsdoc to handle
/* eslint-disable jsdoc/valid-types */
/** /**
* The main SvgCanvas class that manages all SVG-related functions. * The main SvgCanvas class that manages all SVG-related functions.
* @memberof module:svgcanvas * @memberof module:svgcanvas
@ -120,7 +119,6 @@ if (window.opera) {
* @borrows module:path.pathActions.linkControlPoints as #linkControlPoints * @borrows module:path.pathActions.linkControlPoints as #linkControlPoints
*/ */
class SvgCanvas { class SvgCanvas {
/* eslint-enable jsdoc/valid-types */
/** /**
* @param {HTMLElement} container - The container HTML element that should hold the SVG root element * @param {HTMLElement} container - The container HTML element that should hold the SVG root element
* @param {module:SVGEditor.curConfig} config - An object that contains configuration data * @param {module:SVGEditor.curConfig} config - An object that contains configuration data

6
package-lock.json generated
View File

@ -4195,9 +4195,9 @@
} }
}, },
"eslint-plugin-jsdoc": { "eslint-plugin-jsdoc": {
"version": "9.0.0", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-9.0.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-9.0.1.tgz",
"integrity": "sha512-N3GSid5pj8ELOyUXUdbbcP+JVsc6niGe4zURNy4yTOQ0aCufnlgGtGkOON7jFhg6PYerOyaMnkNsdGo60ih7kA==", "integrity": "sha512-4Sd6rjpMJ5YOd2WnCcgWW7K/EIawKKYgn4ObtDG0pyDP+QpN9EyRoPvY62IQtUOz5KkAS/EpFvEIMUo3qUyeyQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"comment-parser": "^0.5.5", "comment-parser": "^0.5.5",

View File

@ -91,7 +91,7 @@
"eslint-plugin-compat": "^3.2.0", "eslint-plugin-compat": "^3.2.0",
"eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "2.18.0", "eslint-plugin-import": "2.18.0",
"eslint-plugin-jsdoc": "^9.0.0", "eslint-plugin-jsdoc": "^9.0.1",
"eslint-plugin-markdown": "^1.0.0", "eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-no-use-extend-native": "^0.4.1", "eslint-plugin-no-use-extend-native": "^0.4.1",
"eslint-plugin-node": "9.1.0", "eslint-plugin-node": "9.1.0",