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

@@ -1174,7 +1174,7 @@ editor.init = function () {
};
/**
* Setup SVG icons
* Setup SVG icons.
* @returns {void}
*/
function setIcons () {
@@ -1551,7 +1551,7 @@ editor.init = function () {
/**
* This function highlights the layer passed in (by fading out the other layers).
* If no layer is passed in, this function restores the other layers
* If no layer is passed in, this function restores the other layers.
* @param {string} [layerNameToHighlight]
* @returns {void}
*/
@@ -5961,7 +5961,7 @@ editor.init = function () {
);
/**
* Implements {@see module:jQueryContextMenu.jQueryContextMenuListener}
* Implements {@see module:jQueryContextMenu.jQueryContextMenuListener}.
* @param {"dupe"|"delete"|"merge_down"|"merge_all"} action
* @param {external:jQuery} el
* @param {{x: Float, y: Float, docX: Float, docY: Float}} pos
@@ -6146,7 +6146,7 @@ editor.init = function () {
reader = new FileReader();
reader.onloadend = function ({target: {result}}) {
/**
* Insert the new image until we know its dimensions
* Insert the new image until we know its dimensions.
* @param {Float} width
* @param {Float} height
* @returns {void}