remove sonarjs
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable sonarjs/no-duplicate-string */
|
||||
/**
|
||||
* Tools for SVG sanitization.
|
||||
* @module sanitize
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user