enable eslint fix and eslint-plugin-jsdoc

This commit is contained in:
Matthieu MOREL
2021-11-08 22:06:24 +01:00
committed by Matthieu Morel
parent c29c8bd33c
commit 4d103c14f7
53 changed files with 3476 additions and 2715 deletions

View File

@@ -17,6 +17,9 @@ export const setConf = function (cnf) {
const actors = {};
/**
* @param {any} diagram
*/
function drawActorLegend(diagram) {
const conf = getConfig().journey;
// Draw the actors
@@ -140,6 +143,9 @@ export const bounds = {
const conf = getConfig().journey;
const _self = this;
let cnt = 0;
/**
* @param {any} type
*/
function updateFn(type) {
return function updateItemBounds(item) {
cnt++;