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

@@ -123,6 +123,7 @@ let listMap_ = {};
export class SVGTransformList { // eslint-disable-line no-shadow
/**
* @param {Element} elem
* @returns {SVGTransformList}
*/
constructor (elem) {
this._elem = elem || null;
@@ -208,7 +209,7 @@ export class SVGTransformList { // eslint-disable-line no-shadow
/**
* @param {SVGTransform} newItem
* @returns {SVGTransform}
* @returns {void}
*/
initialize (newItem) {
this.numberOfItems = 1;