dependencies update and fix lint unused disabled line

This commit is contained in:
JFH
2021-11-25 23:40:07 +01:00
parent 83303065bb
commit b09f71e703
60 changed files with 339 additions and 613 deletions

View File

@@ -119,7 +119,7 @@ export const addToSelectionMethod = function (elemsToAdd, showGrips) {
selectedElements.sort(function (a, b) {
if (a && b && a.compareDocumentPosition) {
return 3 - (b.compareDocumentPosition(a) & 6); // eslint-disable-line no-bitwise
return 3 - (b.compareDocumentPosition(a) & 6);
}
if (!a) {
return 1;

View File

@@ -18,7 +18,6 @@ import {
init as pasteInit, pasteElementsMethod
} from './paste-elem.js';
// eslint-disable-next-line no-duplicate-imports
import {
identifyLayers, createLayer, cloneLayer, deleteCurrentLayer,
setCurrentLayer, renameCurrentLayer, setCurrentLayerPosition,

View File

@@ -222,7 +222,6 @@ export const changeSelectedAttributeNoUndoMethod = function (attr, newValue, ele
// that are not in the selectedElements array, we need to only request a
// selector if the element is in that array
if (selectedElements.includes(elem)) {
// eslint-disable-next-line no-loop-func
setTimeout(function () {
// Due to element replacement, this element may no longer
// be part of the DOM