remove sonarjs

This commit is contained in:
JFH
2021-07-25 21:27:16 +02:00
parent 37711ae786
commit de949c81fa
12 changed files with 0 additions and 14 deletions

View File

@@ -508,7 +508,6 @@ export const setStrokeWidthMethod = function (val) {
* @param {Element} e
* @returns {void}
*/
// eslint-disable-next-line sonarjs/no-identical-functions
function addNonG(e) {
if (e.nodeName !== 'g') {
elems.push(e);

View File

@@ -1,4 +1,3 @@
/* eslint-disable sonarjs/no-duplicate-string */
/**
* Tools for SVG sanitization.
* @module sanitize

View File

@@ -443,7 +443,6 @@ export const groupSelectedElements = function (type, urlArg) {
let cmdStr = '';
let url;
// eslint-disable-next-line sonarjs/no-small-switch
switch (type) {
case 'a': {
cmdStr = 'Make hyperlink';