diff --git a/modules/.eslintrc.json b/modules/.eslintrc.json index 1baa39b8..09b49994 100644 --- a/modules/.eslintrc.json +++ b/modules/.eslintrc.json @@ -10,8 +10,6 @@ ], "rules": { "max-len": "off", - "no-var": "off", - "no-mixed-spaces-and-tabs": "warn", - "implicit-arrow-linebreak": "warn" + "no-var": "off" } } diff --git a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js index f2a2a333..aca542ca 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js @@ -1087,10 +1087,10 @@ Dialog.prototype.changeParamPropertyInput = function ( paramKey, propName, value break; case 'array': value = value || []; - propInput.setValue( value.map( ( v ) => + propInput.setValue( value.map( // TagMultiselectWidget accepts nothing but strings or objects with a .data property - v && v.data ? v : String( v ) - ) ); + ( v ) => v && v.data ? v : String( v ) + ) ); break; default: if ( typeof value === 'object' ) {