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

@@ -1,4 +1,3 @@
/* eslint-disable sonarjs/no-collapsible-if */
/**
* @param {any} obj
* @returns {any}

View File

@@ -48,7 +48,6 @@ export class SeListItem extends HTMLElement {
*/
attributeChangedCallback (name, oldValue, newValue) {
if (oldValue === newValue) return;
// eslint-disable-next-line sonarjs/no-small-switch
switch (name) {
case 'option':
this.$menuitem.setAttribute('option', newValue);

View File

@@ -178,7 +178,6 @@ export class SESpinInput extends HTMLElement {
this.value = e.target.value;
this.dispatchEvent(this.$event);
});
// eslint-disable-next-line sonarjs/no-identical-functions
this.$input.addEventListener('click', (e) => {
e.preventDefault();
this.value = e.target.value;